Installation of NVIDIA GPU Driver and CUDA Toolkit
2015-08-30 13:43
405 查看
Installation of NVIDIA GPU Driver and CUDA Toolkit
Disable default driver
modify/etc/modprobe.d/blacklist.confby adding following commond at the end of the file:
blacklist nouveau
modify
/etc/default/grubfile by adding
rdblacklist=nouveau nouveau.modeset=0
Install NVIDIA GPU Driver
typectrl+alt+F1to 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-352and
sudo 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:$PATHand
LD_LIBRARY_PATH=/path/to/cuda/lib64:$LD_IBRARY_PATHand export the paths. Alternatively, one can modify /etc/profile to set the environment paths. Add
export PATH="/path/to/cuda/bin:$PATH"and in commond line type
source /etc/profile
verify the installation. Change directory to CUDA sample and make the samples. Run a sample
sudo ./deviceQueryto verify the installation.
相关文章推荐
- 用python做GPU计算(1)——安装以及配置
- [硬件资讯]32nm Atom性能首曝:GPU性能三倍于今
- vtkGPUVolumeRayCastMapper (Examples)
- GPU(CUDA)学习日记(三)------ CUDA基本架构介绍以及编程入门!
- GPU通用计算调研报告
- 关于XenServer 6.0 GPU Passthrough使用注意事项
- 第一個 CUDA 程式
- GPU 的硬體架構
- 定义在GPU上的变量
- 详解GPU的常见参数及其对显卡的重要性
- GPU架构(续)
- GPU memory结构
- 美军方青睐GPU计算
- SGI将推Prism XL系统 集CPU和GPU为一体
- 获取当前IOS设备的CPU型号,CPU核数,GPU,GPU核数,屏幕分辨率,屏幕尺寸,PPI等信息
- 反编译ARB program to GLSL shader日记
- vs2008--CUDA环境配置
- window 下 pycuda 安装运行
- CUDA技术帖: 3D texture linear data VS 3D cudaArray
- 解决Driver/library version mismatch