This guide is written to work with a fresh installation of Ubuntu 8.04.1 (Hardy Heron), and sets up CUDA 2.0.

Green means it is a command. You can paste lines into the console with ctrl+shift.

# Install the build tools we need
sudo apt-get install build-essential libglut3-dev -y

#Install the NVidia Drivers
#from -> Linux 32 bit
chmod +x ./
# this will kick you to a terminal (the NVidia installer requires that X be shut down). After you execute this command, hit ctrl+alt+F1, login, and execute the rest of the commands
sudo /etc/init.d/gdm stop
sudo ./
sudo /etc/init.d/gdm start
rm ./
# this next step resolves a driver conflict.
# if we don't do this, the machine will start in low-graphics mode on reboot
# add add 'nv' to DISABLED_MODULES ('DISABLED_MODULES="nv"') and save
sudo gedit /etc/default/linux-restricted-modules-common

# Install the CUDA Toolkit
chmod +x
sudo ./ auto

# Add environment variables
echo "# CUDA stuff
export PATH
export LD_LIBRARY_PATH" >> ~/.bashrc
# restart the terminal for the changes to take effect.

# Install the CUDA SDK
chmod +x ./
# press enter at both prompts
rm ./

# compile and run an example and be overwhelmed with bliss

Then, for what concern IDL:

-Download GPULib


-./configure --disable-MATLAB


-- LorenzoBusoni - 10 Nov 2008
Topic revision: r1 - 10 Nov 2008, LorenzoBusoni
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback