I’m trying to run a simple code, from the openacc tutorials, in pgprof in order to analyze the program in terms of computing time.
Although, i get the error “Unable to locate cuda driver library - GPU profiling skipped”. But i double checked the path directory that is being used and its all good, directory is : “/opt/pgi/linux86-64/2017/cuda/9.0/bin/”.
How can i solve this? Does this mean cuda e badly installed?
 If i go to my cuda installation directory “/opt/pgi/linux86-64/2017/cuda/9.0/bin” and run ./nvcc -V i get this:
nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2017 NVIDIA Corporation Built on Fri_Sep__1_21:08:03_CDT_2017 Cuda compilation tools, release 9.0, V9.0.176
So, it seems that it’s well installed