Ubuntu 14.04 Installation Cuda 6.5

Source: Internet
Author: User
Tags cuda toolkit

The following steps describe how to install Cuda Toolkit 6.5 on a 64-bit Ubuntu 12.04 Linux machine that has been validated on a machine that has its own Nvidia GeForce GTX 550Ti graphics card, and the instructions below assume you have CUDA-compatible hardware support . The following steps are likely to vary depending on your system configuration.

CUDA Source

Open a terminal, search for cuda source in Ubuntu 14.04 (from Cuda downloadsite) and install. $ sudo dpkg-i cuda-repo-ubuntu1404_6.5-14_amd64.deb
$ sudo apt-get update

CUDA Toolkit

Use the command apt-get to install CUDA Toolkit. $ sudo apt-get install Cuda

After installation, the inflatable system. Use the Nvidia-settings (Terminal command) tool to check if the driver installation was successful.


Environment variables

In your HOME directory, in the file. bashrc file, add the following line. Export cuda_home=/usr/local/cuda-6.5
Export ld_library_path=${cuda_home}/lib64

Path=${cuda_home}/bin:${path}
Export PATH

CUDA SDK Samples

Copy the SDK samples to your home directory and compile it as follows. $ cuda-install-samples-6.5.sh ~
$ CD ~/nvidia_cuda-6.5_samples
$ make

How everything works, you can verify the Cuda installation by running the devicequery example in Bin/x86_64/linux/release.

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.