参考博客:https://blog.csdn.net/tangwenbo124/article/details/56847897 ,感谢博主分享
在Ubuntu下运行sudo make runtest 时出现错误:error while loading shared libraries: libcudart.so.8.0: cannot open shared object file: No such file
解决方案:
貌似是cuda8.0链接的问题,解决办法:
sudo cp /usr/local/cuda-8.0/lib64/libcudart.so.8.0 /usr/local/lib/libcudart.so.8.0 && sudo ldconfig
sudo cp /usr/local/cuda-8.0/lib64/libcublas.so.8.0 /usr/local/lib/libcublas.so.8.0 && sudo ldconfig
sudo cp /usr/local/cuda-8.0/lib64/libcurand.so.8.0 /usr/local/lib/libcurand.so.8.0 && sudo ldconfig