安装多个版本cuda之后,进行多版本管理。
nvcc -v版本主要在bashrc文件中修改:
https://blog.csdn.net/qq_25603827/article/details/107822394
但是我的cat /usr/local/cuda/version.txt指令一直没有修改过来,因此修改软连接,将其指向新版本cuda:
https://blog.csdn.net/qq_43145072/article/details/97786874
https://blog.csdn.net/txpp520/article/details/104519153
不知道为什么还有如下的报错,应该是动态库没连接上
ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory
https://blog.csdn.net/hdu2013/article/details/88660025
重新连接一下