本次打算使用docker安装环境。
首先安装docker:教程——https://blog.csdn.net/ycx901221/article/details/79936035
安装后,需要先启动docker:$ : service docker start
这里有一篇切换cuda版本的文章:用软链接切换的,然而,如果两个人同时使用不同版本的cuda是否要直接程序配置改cuda路径地址?
https://blog.csdn.net/yinxingtianxia/article/details/80462892
查看自己显卡型号:
lspci | grep -i nvidia
cudnn7.3:
https://developer.nvidia.com/rdp/cudnn-archive#a-collapse730-9
cuDNN v7.3.0 Developer Library for Ubuntu16.04 (Deb)
cuda9.0:
驱动支持cuda9.0:
安装教程:https://www.cnblogs.com/sp-li/p/7680526.html
Installation of the NVIDIA Accelerated Graphics Driver for Linux-x86_64 (version: 384.145) is now
complete. Please update your XF86Config or xorg.conf file as appropriate; see the file
/usr/share/doc/NVIDIA_GLX-1.0/README.txt for details.
https://www.nvidia.cn/Download/driverResults.aspx/135493/cn
版本限制是这样的:mask的docker中用的是16.04的ubuntu。