Open main menu

CDOT Wiki β

Changes

GPU610/DPS915 Ubuntu and CUDA Installation

104 bytes added, 21:33, 22 January 2013
Part 3: Getting Ubuntu ready for CUDA Development
export CUDA_HOME=/usr/local/cuda-5.0
export PATH=${CUDA_HOME}/bin:${PATH}
 
Next, in a terminal, type
 
'''gedit ~/.bashrc'''
export LD_LIBRARY_PATH=${CUDA_HOME}/lib export PATH=${CUDA_HOME}/binand put this line in the file (bottom is fine):${PATH}
export LD_LIBRARY_PATH=/usr/local/cuda-5.0/lib
'''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 profile file becomes
1
edit