![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
环境配置
U_GUESS
这个作者很懒,什么都没留下…
展开
-
cuda程序执行出错: libcudart.so.8.0: cannot open shared object file: No such file or directory
问题描述: error while loading shared libraries: libcudart.so.8.0: cannot open shared object file: No such file or directory解决办法:首先确认/etc/profile中的路径包含了cuda8.0的安装路径及相应的库文件export PATH=$PATH:/usr/local/cuda-8.0/binexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/l转载 2020-11-23 10:30:04 · 412 阅读 · 0 评论 -
Linux下安装好了cuda之后nvcc -V仍然无法执行
Linux下安装好了cuda之后使用nvcc -V显示Command ‘nvcc’ not found, but can be installed with:apt install nvidia-cuda-toolkit问题描述:Command ‘nvcc’ not found, but can be installed with:apt install nvidia-cuda-toolkit解决方法:修改bashrc文件 sudo vi ~/.bashrc将下列指令加入到文件中export原创 2020-11-23 10:02:09 · 9846 阅读 · 0 评论