Installation Process of CUDA (including GPU driver) in Ubuntu

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.