Linux (CentOS7) installation Cuda

Source: Internet
Author: User

Login system with username cluster
1. Check if the GPUis installed:

    1. Lspci | Grep-i nvidia

2. Install gcc,g++ compiler

    1. sudo yum install gcc
    2. sudo yum install gcc-c++

3. Installing kernel-devel

    1. sudo yum install Kernel-devel

4. installation of Driver,Toolkit and Samples

    1. sudo sh cuda_5.5.22_linux_64.run--kernel-source-path= '/usr/src/kernels/2.6.32-358.23.2.el6.x86_64 '
    2. Here we have installed a matching driver, so the first Driver out of the time to choose N after all Y, you can

5. Add the following to the /home/cluster/.bashrc file:

    1. Export path= $PATH:/usr/local/cuda-5.5/bin
    2. Export Ld_library_path= $LD _library_path:/usr/local/cuda-5.5/lib64

Make the configuration effective immediately:

    1. Source/home/cluster/.bashrc

6. Compile and run the sample program in Samples to verify that the installation was successful

Comes with a nsight environment and SDK

Linux (CentOS7) installation Cuda

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.