Re: [AMBER] GPU not being recognised

From: Tru Huynh <tru.pasteur.fr>
Date: Mon, 31 Mar 2014 18:26:32 +0200

On Mon, Mar 31, 2014 at 07:39:15AM -0400, David A Case wrote:
> On Mon, Mar 31, 2014, Ayesha Fatima wrote:
>
> > We have installed cuda 5.5 on our computer and compiled it successfully
> > with amber12 and ambertools13. When we run the command pmemd.cuda, we can
> > see that the simulation is running. however when we write nvidia-smi, we
> > get the following output
>
> >
> > | 0 GeForce GTX 680 Off | 0000:01:00.0 N/A | N/A |
> > | 0 Not Supported
> ^^^^^^^^^^^^^^
>
> This the key: the nvidia-smi program doesn't support your card. As far as I
> know, you just have to live with this until/unless NVIDIA decides to change
> things.

There is a hack around that explained here:
https://devtalk.nvidia.com/default/topic/560248/bug-nvml-incorrectly-detects-certain-gpus-as-unsupported-/

You need to build it for each driver version you are using but once
setup, you can get:

[tru.yippy ~]$ nvidia-smi
Fri Mar 28 01:57:56 2014
+------------------------------------------------------+
| NVIDIA-SMI 5.319.23 Driver Version: 319.23 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 680 Off | 0000:02:00.0 N/A | N/A |
| 35% 28C N/A N/A / N/A | 103MB / 4095MB | N/A Default |
+-------------------------------+----------------------+----------------------+
| 1 GeForce GTX 680 Off | 0000:03:00.0 N/A | N/A |
| 35% 25C N/A N/A / N/A | 55MB / 4095MB | N/A Default |
+-------------------------------+----------------------+----------------------+
| 2 GeForce GTX 680 Off | 0000:83:00.0 N/A | N/A |
| 35% 27C N/A N/A / N/A | 55MB / 4095MB | N/A Default |
+-------------------------------+----------------------+----------------------+
| 3 GeForce GTX 680 Off | 0000:84:00.0 N/A | N/A |
| 35% 27C N/A N/A / N/A | 55MB / 4095MB | N/A Default |
+-------------------------------+----------------------+----------------------+
 
+-----------------------------------------------------------------------------+
| Compute processes: GPU Memory |
| GPU PID Process name Usage |
|=============================================================================|
| 0 Not Supported |
| 1 Not Supported |
| 2 Not Supported |
| 3 Not Supported |
+-----------------------------------------------------------------------------+
[tru.yippy ~]$ module add use.own nvml_fix/319.23
[tru.yippy ~]$ nvidia-smi
Fri Mar 28 01:58:16 2014
+------------------------------------------------------+
| NVIDIA-SMI 5.319.23 Driver Version: 319.23 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 680 Off | 0000:02:00.0 Off | N/A |
| 35% 28C P0 45W / 260W | 103MB / 4095MB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 1 GeForce GTX 680 Off | 0000:03:00.0 Off | N/A |
| 35% 25C P0 44W / 260W | 55MB / 4095MB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 2 GeForce GTX 680 Off | 0000:83:00.0 Off | N/A |
| 35% 27C P0 45W / 260W | 55MB / 4095MB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 3 GeForce GTX 680 Off | 0000:84:00.0 Off | N/A |
| 35% 27C P0 44W / 260W | 55MB / 4095MB | 0% Default |
+-------------------------------+----------------------+----------------------+
 
+-----------------------------------------------------------------------------+
| Compute processes: GPU Memory |
| GPU PID Process name Usage |
|=============================================================================|
| 0 30679 /c5/shared/vmd/vmd-1.9.1/vmd_LINUXAMD64 175MB |
| 1 30679 /c5/shared/vmd/vmd-1.9.1/vmd_LINUXAMD64 175MB |
| 2 30679 /c5/shared/vmd/vmd-1.9.1/vmd_LINUXAMD64 175MB |
| 3 30679 /c5/shared/vmd/vmd-1.9.1/vmd_LINUXAMD64 175MB |
+-----------------------------------------------------------------------------+

This works fine on our GPU cards (Titan incuded), no Titan black nor Titan-Z yet ;)

Cheers,

Tru
-- 
Dr Tru Huynh          | http://www.pasteur.fr/recherche/unites/Binfs/
mailto:tru.pasteur.fr | tel/fax +33 1 45 68 87 37/19
Institut Pasteur, 25-28 rue du Docteur Roux, 75724 Paris CEDEX 15 France  
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Mar 31 2014 - 09:30:02 PDT
Custom Search