Nvprof

Hi,
I have encoutered a problem when i profiled my CUDA Fortran program in server platform which was connected by SSH.

i run the command----- mpirun -n 1 nvprof --export-profile timeline.prof . Then there was an error like :
==136759== NVPROF is profiling process 136759, command: ./Try
======== Error: incompatible CUDA driver version.

But the PGI compiler version is 19.10 and CUDA version is 10.0.
So, i dont konw why there would be a problem like this.

Looking forward to your response. Thanks in advance.

Yogurt.

Hi Yogurt,

This message indicates that the CUDA driver version is older that the CUDA version (10.0) you used to compile.

Do you know which CUDA driver is installed on the remote system? If not, run the command ‘nvidia-smi’ on the server. Ideally, you would update the CUDA driver to 10.0 or 10.1, but if this is not an option, you’ll need to compile your code to target the driver’s CUDA version.

Hope this helps,
Mat

Hi Mat,

I’m so sorry i didn’t reply in time.
And your response help me.

Thanks a lot.

Yogurt.