Dear all,
I’m experiencing something really strange with PGI Accelerator Fortran compiler. In particular I wrote a program to be executed with CUDA Fortran.
This program worked fine on a Linux-based operating system with a Nvidia Tesla M2070 GPU with CUDA 4.2.9 and PGI 12.8.
Now i’m trying to execute the same program on a machine with Ubuntu 14.04.2 LTS operating system, with a Nvidia GeForce 750M GPU, CUDA 5.5 and PGI 15.4.
I compile and link with the flag -Mcuda=cuda5.5 .
CUDA software seems to work properly because I made simple tests written both in CUDA C and CUDA Fortran. The results are correct.
My problem is with the program I described at the beginning. In particular something really strange happens: the kernels return arrays containing correct values mixed to Nan values. This is really strange because these kernels have always worked correctly and I also checked everything twice. No strange operations are made in the kernels, nor the indexes of the threads are out of bounds. I think that a possible reason should be related to libraries and drivers. Can anybody help me? Thanks
Roberto