Re: [AMBER] cudaGetDeviceCount failed unknown error

From: Taisung Lee <accuratefreeenergy.gmail.com>
Date: Thu, 23 Nov 2017 17:18:12 -0500

Hi Ericg,

        My guess is that your nvcc8.0-compiled pmemd.cuda cannot run on your
C2075 GPU due to the fact that nvcc8.0 will not produce sm_20 code, which is
required for your C2075, an sm_20 GPU.

        You can check by doing:

"cuobjdump $AMBERHOME/bin/pmemd.cuda"

        If you do not see " arch = sm_20" in your output, then likely this
is the reason.....

        Solutions: 1. Use nvcc 7.5 to compile AMBER; or 2. Run on a newer
GPU (w/ sm>30). You can go to https://developer.nvidia.com/cuda-gpus to
check the sm version of your GPU.

Taisung



-----Original Message-----
From: Ercig Bogac (BIOCH) [mailto:b.ercig.maastrichtuniversity.nl]
Sent: Thursday, November 23, 2017 8:30 AM
To: amber.ambermd.org
Subject: [AMBER] cudaGetDeviceCount failed unknown error

Dear all,


I am trying to install Amber16 to my computer with the CUDA support. All
steps of the installation went without any errors.


I have used ./configure -cuda gnu


Then make install


But when I try the make test , I get the following error.


cudaGetDeviceCount failed unknown error

0 file comparisons passed
0 file comparisons failed
333 tests experienced errors


I cant find any solutions on internet. I have seen one entry on the mail
list, but there was no solution for this case. I have updated my driver and
reinstalled cuda but it did not changed anything.


Here is what I obtain from nvidia-smi


Thu Nov 23 14:27:12 2017
+---------------------------------------------------------------------------
--+
| NVIDIA-SMI 384.81 Driver Version: 384.81
|
|-------------------------------+----------------------+--------------------
--+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr.
ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute
M. |
|===============================+======================+====================
==|
| 0 Tesla C2075 Off | 00000000:01:00.0 On |
Off |
| 30% 57C P12 34W / N/A | 470MiB / 6066MiB | 9%
Default |
+-------------------------------+----------------------+--------------------
--+

+---------------------------------------------------------------------------
--+
| Processes: GPU
Memory |
| GPU PID Type Process name Usage
|
|===========================================================================
==|
| No running processes found
|
+---------------------------------------------------------------------------
--+



And the nvcc -v


nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are
deprecated, and may be removed in a future release (Use
-Wno-deprecated-gpu-targets to suppress warning).
nvcc fatal : No input files specified; use option --help for more
information


I am looking forward to hear your help


Best regards


Bogac Ercig
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Nov 23 2017 - 14:30:02 PST
Custom Search