Hi everyone, I have recently downloaded PGI Workstation 12.5 and the PGI Accelerator 12.5. I have used it to compile fortran programs and everything worked out fine, but when I wanted to try my first CUDA Fortran program it wouldn’t compile and gave me the following error message:
pgfortran-Error-CUDA version 4.0 is not available in this installation
I ran it with the command “$ pgfortran test1.cuf” , test1.cuf being the file containing the code.
I’m running all this on a 13’ MacBook Pro 2010, the GPU being a GeForce 320m.
running pgaccelinfo gives me the following information:
CUDA Driver Version: 4020
Device Number: 0
Device Name: GeForce 320M
Device Revision Number: 1.2
+a lot of (in my opinion) irrelevant technical stuff
I’ve also set the DYLD_LIBRARY_PATH variable to be /usr/local/cuda/bin, only upon doing that pgaccelinfo recognized my GPU.
I’m assuming that this is a configuration issue, since I have successfully compiled the sample programs given with the CUDA SDK using nvidias compiler.
One more thing that I’d like to mention is that pgaccelinfo displays my CUDA driver version as “CUDA Driver Version: 4020”, System preferences it is displayed as “CUDA Driver Version: 4.2.9” and nvidia’s deviceQuery programs displays it as “CUDA Driver Version / Runtime Version 4.2 / 4.2”
Is it possible that I’ve set the path wrong? Or some other reason why the versions differ?
Thanks in advance for your help on this issue,