NVPROF 错误:无法找到分析库 libcuinj64.so

NVPROF 错误:无法找到分析库 libcuinj64.so

我已经尝试了 AskUbuntu 的一些答案,但都没有帮助。可以通过locate命令找到“丢失”的库:

$ locate libcuinj64.so
/usr/lib/nvidia-cuda-toolkit/bin/libcuinj64.so
/usr/lib/x86_64-linux-gnu/libcuinj64.so
/usr/lib/x86_64-linux-gnu/libcuinj64.so.7.5
/usr/lib/x86_64-linux-gnu/libcuinj64.so.7.5.18
/usr/local/cuda-8.0/doc/man/man7/libcuinj64.so.7
/usr/local/cuda-8.0/lib64/libcuinj64.so
/usr/local/cuda-8.0/lib64/libcuinj64.so.8.0
/usr/local/cuda-8.0/lib64/libcuinj64.so.8.0.61
/usr/share/man/man7/libcuinj64.so.7
/usr/share/man/man7/libcuinj64.so.7.gz

我还导出了 LD_LIBRARY_PATH:

$ echo $LD_LIBRARY_PATH
/home/bruno/install/clang/lib:/usr/local/cuda/lib64

并且,尝试了 LD_PRELOAD 技巧,然后它说找不到 libnvidia-fatbinaryloader.so.375.39,但是:

$ locate libnvidia-fatbinaryloader.so.375.39
/usr/lib/nvidia-375/libnvidia-fatbinaryloader.so.375.39
/usr/lib32/nvidia-375/libnvidia-fatbinaryloader.so.375.39

有任何想法吗?

相关内容