OpenACC How the Heck?

Ok everyone I already know im the uninformed one here, first time working with openacc. I have done openmp just not acc. SO. i have a series of questions that i have searched online with mix and in some cases conflicting answers. So hoping to get some final answers:

  • Can I use OpenACC with Windows and not linux?

  • How can i use it inside MS Visual Studio 2019 with a C++ project?

  • Im using intel compiler 2020 in VS 2019. Can i use the intel compiler and OpenACC?

Please help. Thanks everyone.

Hi Mike,

Both the Intel and Microsoft compiler do not support OpenACC. You’ll need to use our NVHPC compiler (https://developer.nvidia.com/hpc-sdk) or GNU. (Clang support in development)

Our Windows SDK product is still in development so not available at this time. You’ll need to use native Linux or install under WSL2. Although we don’t officially support WSL2 as of yet, I’ve had several users install our compilers without issue on it and able to run their OpenACC codes.

Hope this helps,
Mat

So does that mean we cannot use visual studio to create and build code? and if we use the wsl2 we can still now use the intel and NVHPC together they would have to be seperate?

Most likely. Unless VS works on WSL? I don’t use Windows myself so don’t know.

and if we use the wsl2 we can still now use the intel and NVHPC together they would have to be seperate?

My assumption would be if you are using the Intel’s Linux compiler on WLS2, then they may work together, but I don’t think you’d be able to mix native Windows objects with those produced with WSL2. But again, this is outside of my area of expertise.