I am using PGI visual fotraon. If I set the project property page -Fortran-Language-CUDA fortran to be YES, and then I start my excutable, I got an error message “nvcudart.dll not found, exiting”

Hi Qing HOU,

The directory where “nvcudart.dll” is located needs to be in your PATH.

Hope this helps,

I couldn’t find nvcudart.dll in my system. However, I have cudart.dll located in CUDA-bin directory. I just rename a copy of cudart.dll to nvcudart.dll. Then, it works.