CUDA driver version is insufficient for CUDA runtime version for Quadro P420

Hi,

I have the NVIDIA Quadro P420 card. The OS is Ubuntu 16.04.

I’m using the GPU for GROMACS ( http://www.gromacs.org/GPU_acceleration ). When GROMACS is run, I get the below message:

NOTE: Error occurred during GPU detection:
CUDA driver version is insufficient for CUDA runtime version
Can not use GPU acceleration, will fall back to CPU kernels.

nvidia-smi:

±----------------------------------------------------------------------------+
| NVIDIA-SMI 375.66 Driver Version: 375.66 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Quadro K420 Off | 0000:01:00.0 On | N/A |
| 29% 58C P0 N/A / N/A | 368MiB / 1996MiB | 0% Default |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 958 G /usr/lib/xorg/Xorg 217MiB |
| 0 2022 G compiz 148MiB |
±----------------------------------------------------------------------------+

What could be mistake I’d done during installation?

Thanks in advance

Azeem

The problem is spelled out explicitly here. The installed driver is too old. Try installing the latest CUDA driver available for your OS platform.

Hi +njuffa,

I installed the latest CUDA 9.0.176.

Still this problem persists.

What CUDA driver version does nvidia-smi report now? The previously reported 375.x looked too old to me.

You may have multiple conflicting installations, may have an incomplete installation, or may have a corrupted installation. I wouldn’t know how to diagnose this remotely, so I have no further advice.

375.66 will not work with CUDA 9.

After you install CUDA 9, if nvidia-smi still reports 375.66, you have not installed CUDA 9 correctly.

I suggest reading the linux install guide.

Thanks for the reply, txbob.

Shall I purge remove all the nvidia files and re-install the driver and toolkit?

While installation, I encountered errors in ‘driver’ installation. As per an online post’s suggestion, I skipped the driver installation and installed only the Toolkit.

Would this have created this problem now?

Yes. As indicated above, your problem is caused by the use of outdated drivers. You need a newer CUDA driver in particular. The CUDA package comes complete with an appropriate driver, but if you skip that part of the installation you will still have the old, outdated driver version and the problem remains.

I suggest looking at the errors encountered during driver installation (permission issues?) and resolving the underlying issues.

Hi njuffa,

I’ll remove all the drivers and re-install them. Will get back here, if problem persists.