[gmx-users] gromacs 5.1.2 mdrun can't detect GPU

Téletchéa Stéphane stephane.teletchea at univ-nantes.fr
Fri Apr 22 12:29:58 CEST 2016


Le 22/04/2016 01:50, treinz a écrit :
> cudaGetDeviceCount returned 35
> -> CUDA driver version is insufficient for CUDA runtime version
> Result = FAIL

Unfortunately for any machine installed by now the setup is now as 
described,
and works.

There is one machine were this setup was not updated and YES I have the 
same result as you :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./deviceQuery
./deviceQuery Starting...

  CUDA Device Query (Runtime API) version (CUDART static linking)

cudaGetDeviceCount returned 35
-> CUDA driver version is insufficient for CUDA runtime version
Result = FAIL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

On this machine the driver is rather old:

dpkg -l |grep nvidia
ii  nvidia-331 340.96-0ubuntu0.14.04.1                             amd64 
Transitional package for nvidia-331
ii  nvidia-340 340.96-0ubuntu0.14.04.1                             amd64 
NVIDIA binary driver - version 340.96
ii  nvidia-340-uvm 340.96-0ubuntu0.14.04.1                             
amd64 Transitional package for nvidia-340
ii  nvidia-libopencl1-340 
340.96-0ubuntu0.14.04.1                             amd64 NVIDIA OpenCL 
Driver and ICD Loader library
ii  nvidia-opencl-icd-340 
340.96-0ubuntu0.14.04.1                             amd64 NVIDIA OpenCL ICD
ii  nvidia-prime 0.6.2                                               
amd64 Tools to enable NVIDIA's Prime
ii  nvidia-settings 331.20-0ubuntu8                                     
amd64 Tool for configuring the NVIDIA graphics driver

But I wrote my "tutorial" since the latest package available in Ubuntu 
is "nvidia-352 - NVIDIA binary driver - version 352.63",
and apparently cuda expects 352.79, the minor revision in the driver is 
sufficient to have CUDA + GROMACS failing,
and apparently this is from CUDA :-)

You have the answer: use the exact driver of the CUDA runtime and 
nothing else ...

Best,

Stéphane




-- 
Assistant Professor in BioInformatics, UFIP, UMR 6286 CNRS, Team Protein Design In Silico
UFR Sciences et Techniques, 2, rue de la Houssinière, Bât. 25, 44322 Nantes cedex 03, France
Tél : +33 251 125 636 / Fax : +33 251 125 632
http://www.ufip.univ-nantes.fr/ - http://www.steletch.org



More information about the gromacs.org_gmx-users mailing list