Changes

Jump to: navigation, search

GPU610/DPS915 Ubuntu and CUDA Installation

81 bytes added, 23:01, 14 January 2013
Part 3: Getting Ubuntu ready for CUDA Development
2. Install all the vital development tools for Ubuntu. Open a Terminal and execute the following command:
 
'''sudo apt-get install libxi-dev libxmu-dev freeglut3-dev build-essential binutils-gold'''
 
If necessary for your project, get Git as well:
 
'''sudo apt-get install git'''
If you want to run the Toolkit samples, then you'll need some other things:
export LD_LIBRARY_PATH=${CUDA_HOME}/lib:/usr/lib/nvidia-experimental-310
You should now be ready to test your CUDA installation.
== Part 4: Test CUDA Toolkit Installation ==
In a terminal, go to ~/NVIDIA_CUDA-5.0_Samples. Then enter the make command, and let all the samples compile (this will take some time). If you get no compilation errors right away, that's good! It is entirely possible that not all the samples will successfully compile as each sample has its own set of dependencies. There is definitely one sample you'll want to run, though. From the ~/NVIDIA_CUDA-5.0_Samples folder, go to /bin/linux/release subfolder, and run the deviceQuery sample (./deviceQuery). If it runs and you see information about your CUDA device, you've made it! :)
1
edit

Navigation menu