Error message: Failed to initialize NVML: GPU access blocked by the operating system

I am running RHEL 7 and recently installed CUDA 7, using the local RPM installer and the command “yum install cuda” Everything seemed to go fine. CUDA 6.5 had been previously installed and to my knowledge was working fine. However, now my app (Caffe) fails to detect a GPU (there are 2 cards installed)

F0330 20:16:48.382478 9971 common.cpp:131] Check failed: error == cudaSuccess (38 vs. 0) no CUDA-capable device is detected

and the nvidia-smi gives an error message I can’t find any info on with google, (run as root):

[root@hostname caffe]# nvidia-smi -a
Failed to initialize NVML: GPU access blocked by the operating system

Do I need to reboot the system after upgrading to CUDA 7?

thanks,
Matt

Try using the runfile installer method.

Get the runfile installer here: http://www.nvidia.com/getcuda

Follow instructions: https://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/index.html#runfile