ubuntu14.04+cuda8.0 重新安装cuda

前端之家收集整理的这篇文章主要介绍了ubuntu14.04+cuda8.0 重新安装cuda前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

重新安装显卡驱动后,重新make caffe :sudo make runtest ,时出现问题:

check Failed:error == cudaSuccess(30VS.0)unkown error...

1. 卸载原cuda

sudo /usr/local/cuda-8.0/bin/uninstall-cuda-8.0.pl

2. 重新安装cuda

3.出现问题:

/usr/bin/ld: 找不到 -lglut collect2:

error: ld returned 1 exit status

解决方法

         http://blog.csdn.net/abclixu123/article/details/46571985
         sudo apt-get install libgl1-mesa-dev
          sudo apt-get install libglu1-mesa-dev
          sudo apt-get install libglut-dev  or  sudo apt-get install freeglut3-dev

4. 进入samples/bin/x86_64/linux/release,sudo下运行deviceQuery时

.......

cudaGetDeviceCount returned 30 -> unknown

error Result = FAIL

解决方法:http://blog.csdn.net/tcorpion/article/details/52741836

apt-get remove nvidia-340

原文链接:https://www.f2er.com/ubuntu/350521.html

猜你在找的Ubuntu相关文章