jta@rachael:~$ nvidia-smi
NVIDIA-SMI couldn't find libnvidia-ml.so library in your system. Please make sure that the NVIDIA Display Driver is properly installed and present in your system.
Please also try adding directory that contains libnvidia-ml.so to your system PATH.
adding LD_PRELOAD with the location of libnvidia-ml.so and running nvidia-smi works:
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
I can confirm this bug on ubuntu 17.04.
running nvidia-smi fails:
jta@rachael:~$ nvidia-smi
NVIDIA-SMI couldn't find libnvidia-ml.so library in your system. Please make sure that the NVIDIA Display Driver is properly installed and present in your system.
Please also try adding directory that contains libnvidia-ml.so to your system PATH.
adding LD_PRELOAD with the location of libnvidia-ml.so and running nvidia-smi works:
jta@rachael:~$ LD_PRELOAD= /usr/lib/ nvidia- 375/libnvidia- ml.so nvidia-smi ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -+ ------- ------- ------- ----+-- ------- ------- ------+ ------- ------- ------- -+ ======= ======= ======= ====+== ======= ======= ======+ ======= ======= ======= =| ------- ------- ------- ----+-- ------- ------- ------+ ------- ------- ------- -+
Mon May 22 16:37:10 2017
+------
| NVIDIA-SMI 375.39 Driver Version: 375.39 |
|------
| 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 K2000M Off | 0000:01:00.0 Off | N/A |
| N/A 41C P0 N/A / N/A | 0MiB / 1999MiB | 0% Default |
+------
+------ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -+ ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= =| ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|======
| No running processes found |
+------