nvidia-smi:找不到命令,但是GPU工作正常

时间:2019-12-12 22:23:51

标签: cuda gpu ubuntu-16.04 nvidia nvcc

我试图在服务器中安装一些软件包,这需要对某些CUDA库进行一些更新。但是现在我最终得到了

nvidia-smi: command not found

即使我的GPU也可以正常工作。我不知道有什么可能会搞砸,我该如何解决。一些信息

  

操作系统:Ubuntu 16.04

$ lspci | grep VGA
04:00.0 VGA compatible controller: NVIDIA Corporation Device 1b06 (rev a1)
05:00.0 VGA compatible controller: NVIDIA Corporation Device 1b06 (rev a1)
08:00.0 VGA compatible controller: NVIDIA Corporation Device 1b06 (rev a1)
09:00.0 VGA compatible controller: NVIDIA Corporation Device 1b06 (rev a1)
0c:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 30)
84:00.0 VGA compatible controller: NVIDIA Corporation Device 1b06 (rev a1)
85:00.0 VGA compatible controller: NVIDIA Corporation Device 1b06 (rev a1)
88:00.0 VGA compatible controller: NVIDIA Corporation Device 1b06 (rev a1)
89:00.0 VGA compatible controller: NVIDIA Corporation Device 1b06 (rev a1)
$ dpkg -l | grep -E "nvidia-[0-9]{3}"
rc  nvidia-390                         390.59-0ubuntu0~gpu16. amd64                  NVIDIA binary driver - version 390.59
rc  nvidia-396                         396.54-0ubuntu0~gpu16. amd64                  NVIDIA binary driver - version 396.54
iU  nvidia-440                         440.33.01-0ubuntu1     amd64                  NVIDIA binary driver - version 440.33.01
iU  nvidia-440-dev                     440.33.01-0ubuntu1     amd64                  NVIDIA binary Xorg driver development files
$ grep "X Driver" /var/log/Xorg.0.log
[  4612.223] (II) NVIDIA dlloader X Driver  396.54  Tue Aug 14 22:15:03 PDT 2018
$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Nov__3_21:07:56_CDT_2017
Cuda compilation tools, release 9.1, V9.1.85

问题是我可以在没有nvidia-smi: command not found的情况下解决这个apt purge nvidia-*(在尝试安装某些软件包之前没有发生)的问题吗?这是一台共享服务器,所以我不想弄乱任何东西

0 个答案:

没有答案