Something More for Research

Explorer of Research #HEMBAD

Installing CUDA Toolkit 5.5 on Ubuntu 12.10 Linux

Posted by Hemprasad Y. Badgujar on January 3, 2014


Installing CUDA Toolkit 5.5 on Ubuntu 12.10 Linux

The following explains how to install CUDA Toolkit 5.5 on 64-bit Ubuntu 12.10 Linux. I have tested it on a self-assembled desktop with AMD Phenom II X4 CPU, 4GB RAM, 500GB hard drive, 650W power supply, and NVIDIA GeForce GTX 550 Ti graphics card. The instruction assumes you have the necessary CUDA compatible hardware support. Depending on your system configuration, your mileage may vary.

 

CUDA Repository

Retrieve the CUDA repository package for Ubuntu 12.10 from the CUDA download site and install it in a terminal.

$ sudo dpkg –i cuda-repo-ubuntu1210_5.5-0_amd64.deb
$ sudo apt-get update

 

Linux Kernel Header

Then you need to install the necessary Linux kernel headers.

$ sudo apt-get install linux-headers-‘uname -r‘

 

Proprietary Video Driver

The built-in nouveau video driver in Ubuntu is incompatible with the CUDA Toolkit, and you have to replace it with the proprietary NVIDIA driver.

$ sudo apt-get remove –purge \
    xserver-xorg-video-nouveau

$ sudo apt-get install nvidia-settings \
    nvidia-current-dev nvidiamodprobe

You can reboot the system afterwards and verify the driver installation with the nvidia-settings utility.

 

CUDA Toolkit

Then you can install the CUDA Toolkit using apt-get.

$ sudo apt-get install cuda

 

Environment Variables

As part of the CUDA environment, you should add the following in the .bashrc file of your home folder.

export CUDA_HOME=/usr/local/cuda-5.5
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64

PATH=${CUDA_HOME}/bin:${PATH}
export PATH

 

CUDA SDK Samples

Now you can copy the SDK samples into your home directory, and proceed with the build process.

cuda-install-samples-5.5.sh  ~
cd ~/NVIDIA_CUDA-5.5_Samples
$ make

If everything goes well, you should be able to verify your CUDA installation by running thedeviceQuery sample in bin/linux/release.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
Extracts from a Personal Diary

dedicated to the life of a silent girl who eventually learnt to open up

Num3ri v 2.0

I miei numeri - seconda versione

ThuyDX

Just another WordPress.com site

Algunos Intereses de Abraham Zamudio Chauca

Matematica, Linux , Programacion Serial , Programacion Paralela (CPU - GPU) , Cluster de Computadores , Software Cientifico

josephdung

thoughts...

Tech_Raj

A great WordPress.com site

Travel tips

Travel tips

Experience the real life.....!!!

Shurwaat achi honi chahiye ...

Ronzii's Blog

Just your average geek's blog

Karan Jitendra Thakkar

Everything I think. Everything I do. Right here.

VentureBeat

News About Tech, Money and Innovation

Chetan Solanki

Helpful to u, if u need it.....

ScreenCrush

Explorer of Research #HEMBAD

managedCUDA

Explorer of Research #HEMBAD

siddheshsathe

A great WordPress.com site

Ari's

This is My Space so Dont Mess With IT !!

%d bloggers like this: