重新安装显卡驱动后,重新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