Installation of NVIDIA GPU Driver and CUDA Toolkit
来源:互联网 发布:java gzip 压缩 乱码 编辑:程序博客网 时间:2024/05/22 00:28
Installation of NVIDIA GPU Driver and CUDA Toolkit
Disable default driver
- modify
/etc/modprobe.d/blacklist.conf
by adding following commond at the end of the file:blacklist nouveau
- modify
/etc/default/grub
file by addingrdblacklist=nouveau nouveau.modeset=0
Install NVIDIA GPU Driver
- type
ctrl+alt+F1
to tty and log in. - shut down lightdm
sudo service lightdm stop
- add source
sudo add-apt-repository ppa:xorg-edgers/ppa
,sudo apt-get update
. - install driver. Note that the version of the driver must be correspondent to the GPU card. One can find the correct version in NVIDIA official website. For example, my GPU is GTX970M, then I should use the following commend:
sudo apt-get install nvidia-352
andsudo apt-get install nvidia-352-uvm
- reboot
Install CUDA Toolkit
- download CUDA 7.0 .run file from NVIDIA website. Note that the CUDA version should be correspendent to gcc version and driver version.
- change .run file mode by
chmod +x *.run
- install CUDA by
sudo ./*.run
. Note to skip the installation of driver. - add necessary environment path by
PATH=/path/to/cuda/bin:$PATH
andLD_LIBRARY_PATH=/path/to/cuda/lib64:$LD_IBRARY_PATH
and export the paths. Alternatively, one can modify /etc/profile to set the environment paths. Addexport PATH="/path/to/cuda/bin:$PATH"
and in commond line typesource /etc/profile
- verify the installation. Change directory to CUDA sample and make the samples. Run a sample
sudo ./deviceQuery
to verify the installation.
0 0
- Installation of NVIDIA GPU Driver and CUDA Toolkit
- 安裝 Installation of Torch7, Cuda, Cudnn, Nvidia Driver with GTX1070
- 170816 Ubuntu-Nvidia CUDA+Driver+cuDNN installation-Titan Xp
- Ubuntu Nvidia driver installation
- ubuntu Removing nvidia cuda toolkit and installing new one
- NVIDIA-GPU-CUDA
- CUDA on NVIDIA GPU
- cuda & nvidia driver problems
- cuda nvidia driver cudnn 安装
- NVIDIA CUDA Compiler Driver NVCC
- Installation of NVIDIA Drivers in RHEL/CentOS and Fedora
- windows安装caffe碰到的errorMSB3721: 命令“”C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\bin\nvcc.
- Ubuntu 16.04 安装 NVIDIA CUDA Toolkit 7.5
- GPU and CUDA
- How to uninstall CUDA driver and toolkit in Mac OS X?
- 并行编程与计算平台 | NVIDIA CUDA | NVIDIA --- GPU编程
- Installation of r8168 network driver
- About Installation of Filter Driver
- WampServer中Mysql无法启动
- HDU 2029 Palindromes _easy version(水~)
- Android自学笔记之Button按钮里的属性及用法
- 编译安装arm平台qt库qt-everywhere-opensource-src-4.8.5
- 读取流和写入流的学习(8.28)
- Installation of NVIDIA GPU Driver and CUDA Toolkit
- 数组循环左移的一种方法
- Android自学笔记之ImageView的特殊属性及同为背景属性的src、background区别
- 解决不同操作系统的路径分隔符问题
- 一个人的时候
- PHP性能优化
- HDU 2030 汉字统计(水~)
- SystemService与Manager机制
- 红米手机1内部存储空间不足怎么办?