【发布时间】:2017-08-05 19:13:57
【问题描述】:
我有一台机器,它有两个图形卡,一个集成在 intel cpu 中,另一个插入 pci 插槽(NV)。操作系统是 ubuntu 16.04.2,我想使用集成的桌面渲染和 MXNet 计算的 NV。默认情况下,操作系统选择使用的NV车,我在“NVIDIA X Server settings”中切换使用集成后,nvidia-smi无法正常工作。
nvidia-smi
sudo 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.
和谷歌周围添加一个LD_PRELOAD。
LD_PRELOAD=/usr/lib/nvidia-367/libnvidia-ml.so nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
所以,任何人都有这方面的经验。
【问题讨论】: