ubuntu setup nvidia development environment on a single machine(not virtual machine)

本文档详细记录了在Ubuntu18.04系统上,使用NVIDIA驱动460,CUDA10.2及CuDNN8.0.3.33的安装步骤。首先通过软件与更新来安装NVIDIA驱动,并重启电脑以激活。接着安装CUDA10.2,然后安装与CUDA版本匹配的CuDNN。在完成所有设置后,验证了GPU测试项目,发现系统中已有的GCC和G++版本为7,而之前的经验可能需要4.8版本。不过,当前配置并未引起问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

  1. ubuntu 18.04 ,gtx1080ti
  2. setup nvidia driver using software&update building in ubuntu,refer to address1,i choose nvidia-driver-460,notice that we need to restart the computer to make it work.
  3. setup cuda10.2,refer to address 2
  4. setup cudnn:libcudnn8_8.0.3.33-1+cuda10.2,refer to address 2
  5. when i prepare the anaconda(which i copy from my old directory),pycharm environment,i run the GPUtest project in /home/myname/SetupSoftware,it worked,notice that my gcc and g++ is version 7,however my old memory tells me that we should use gcc and g++ version 4.8,maybe it is due to the different cuda and cudnn version.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值