Open main menu

CDOT Wiki β

Changes

GPU610/DPS915 Ubuntu and CUDA Installation

10 bytes removed, 23:39, 15 January 2013
Part 3: Getting Ubuntu ready for CUDA Development
'''gedit /etc/profile'''
And put the following in the bash profile (the bottom of the file is fine):
export CUDA_HOME=/usr/local/cuda-5.0
'''Note''': If you installed an experimental driver from Ubuntu, you'll need to add it's path to LD_LIBRARY_PATH for libcuda.so. Look for the driver folder under /usr/lib/nvidia-experimental-XXX, where XXX is the driver number (e.g. 310). Thats the path you want. Then the export LD_LIBRARY_PATH line in the bash_profile profile file becomes
export LD_LIBRARY_PATH=${CUDA_HOME}/lib:/usr/lib/nvidia-experimental-310
1
edit