Installation Process of CUDA (including GPU driver) in Ubuntu
OS: Ubuntu 12.04 (amd64)
Basic tool set
Aptitude install binutils ia32-libs gcc make automake autoconf libtool g ++-4.6 gawk gfortran freeglut3-dev build-essential libx11-dev libxmu-dev libxi-dev libgl1-mesa-glx libglu1-mesa libglu1-mesa-dev-y
If it is a server system without a graphical interface, the lightdm GUI manager step is not stopped... This stuff shouldn't be available on the server... As shown in the preceding example, check whether any conflicting open-source drivers, including nvidia's own, are installed...
Dpkg-l | grep nvidia
If you uninstall
Aptitude remove nvidia (the name is not necessarily called nvidia and needs to be uninstalled Based on the query name)
After the installation is complete, add the open-source driver to the blacklist to avoid black screen startup. edit the file/etc/modprobe. d/blacklist. conf and add the following content.
Blacklist amd76x_edac
Blacklist vga16fb
Blacklist nouveau
Blacklist rivafb
Blacklist nvidiafb
Blacklist rivatv
After completing the preceding steps, download the cuda software (using the latest version 6.5)
The https://developer.nvidia.com/cuda-downloads downloads from the appropriate System Selection
After the download, you can run the installation.
Chmod + x cuda_6.5.14_linux_64.run
./Cuda_6.5.14_linux_64.run
The process went smoothly and there was no error. Because cuda6.5 has a card driver, you do not need to install a GPU card driver separately. After the installation is complete, compile the tool in the bandwidth of the samples directory to test whether the tool works properly. Card bandwidth or something...
This figure uses the nvidia-smi command to check the card execution status. Two K40C cards are displayed.
Caffe + Ubuntu 14.04 64bit + CUDA 6.5 configuration instructions
Install and configure CUDA in Ubuntu 14.04
Install NVIDIA CUDA5.5 in Ubuntu 12.04
Install Theano + CUDA on Ubuntu
For Ubuntu 12.04 CUDA5.5 installation, see the following link Ubuntu 12.04 installation CUDA-5.5