首选查看系统版本,下载正确的Cuda版本。

1、uname -m && cat /etc/*release
2、查看是否具有gcc: gcc --version

下载对应版本cuda,以下安装为Centos 7.2版本的安装说明。

在部署前,需要禁用一些服务,官网上给出需要reboot方式禁用X-Server,经过查资料下面方式也可以~。

1、禁用服务

Centos7/x86_64 x86_64 x86_64系统配置Cuda9.2,TeslaGPU

 

2、执行systemctl stop gdm.service命令 禁用X-Server

3sudo sh cuda_<version>_linux.run --silent

4、执行systemctl start gdm.service命令 重新启动X-Server

5、修改环境变量

Centos7/x86_64 x86_64 x86_64系统配置Cuda9.2,TeslaGPU

6、nvidia-smi,若显示以下内容则cuda安装成功。

Centos7/x86_64 x86_64 x86_64系统配置Cuda9.2,TeslaGPU

 

 

 

 

相关文章:

  • 2022-02-01
  • 2022-12-23
  • 2021-08-20
  • 2021-09-15
  • 2021-06-15
  • 2022-01-21
  • 2021-07-04
猜你喜欢
  • 2021-12-31
  • 2022-12-23
  • 2021-11-30
  • 2022-03-06
  • 2021-07-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案