Install the CUDA environment in Ubuntu10.1064bit

Source: Internet
Author: User
You can download the driver software you want to install from here. Refer to the Nvidia User Manual: Install the cuda driver in Getting_Started_Linux and switch to the console: Ctrl + Alt + F1 (F7 is xwindow) to turn off the running of the running system: sudo/etc/init. d/gdmstop install cuda DRIVER: sudoshdev. run ). Restart. Install ToolKit in ~. /Bashrc

The driver software to be installed can be downloaded from here. Refer to the Nvidia User Manual: Getting_Started_Linux

Install the cuda driver
Switch to the console: Ctrl + Alt + F1 (F7 is x window)

Disable the running of running the command "sudo/etc/init. d/TPD stop ".

Install the cuda DRIVER: sudo sh dev. run (the original driver will be uninstalled during installation ).

Restart.

Install ToolKit
In ~. /Add environment variables to bashrc

PATH = $ PATH:/usr/local/cuda/bin

LD_LIBRARY_PATH = $ LD_LIBRARY_PATH:/usr/local/cuda/lib64 (my 64-bit host is used)

Export PATH

Export LD_LIBRARY_PATH

Then, enter the source. bashrc command to complete the operation.

Then run sudo sh cudaToolkitXXXX. run.

Install SDk
After the above installation is complete, install the gpucomputingSDK, which is also a test package and contains various basic programs.

After running make in the C/directory, you will find that many lib libraries are not installed ..

Installation tool:

Sudo apt-get install libglu3 libglut3-dev

Sudo apt-get install libxmu-dev libxmu-headers

Sudo apt-get install libxi-dev

Sudo rm/usr/lib/libGL. so

Sudo ln-s libGL. so. XXXX libGL. so

If the make

There are many executable files in the./bin/linux/release/directory.

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.