We are having a bit of a problem with nvprof and our new K20 on CentOS 6.6 (fully updated). We installed the full cuda-6.5.14 using the run installer. The installer installed everything from the drivers to the tool sets. As far as I can tell, and from everything we have tested and done, most everything is working great. However, nvprof doesn’t want to run. When we try we get this error:
“Unable to profile application. Unknown nvprof return value 19”
We also get the message in the log file:
“======== Error: incompatible CUDA driver version.”
There are a few threads saying they resolved this issue by installing the RPMs. I tried using the repo and yum would only install the devel driver which made all the tools complain about incompatible driver (it also didn’t like me trying to install the RPMs to our software directory preferring to install into / which has other issues for us but that is another matter). So I wiped everything and did the run file installer again. Everything works once more except nvprof which still has the same error. So the RPMs made a mess for me but the run file does everything correctly but nvprof.
I found another thread saying that if there is an issue between the Driver and the Runtime then it won’t work. That thread suggested to run the deviceQuery. When I build and run it, it produces this:
CUDA Driver Version / Runtime Version 6.5 / 6.5
That tells me that it isn’t an issue with different versions.