TotalView User Guide : Part V: Using the CUDA Debugger : About the TotalView CUDA Debugger : Installing the CUDA SDK Tool Chain
Installing the CUDA SDK Tool Chain
Before you can debug a CUDA program, you must download and install the CUDA SDK software from NVIDIA using the following steps:
*Visit the NVIDIA CUDA Zone download page:
http://www.nvidia.com/object/cuda_get.html
*Select Linux as your operating system
*Download and install the CUDA SDK Driver (64-bit)
*Download and install the CUDA SDK Toolkit for your Linux distribution (64-bit)
By default, the CUDA SDK Toolkit is installed under /usr/local/cuda/. The nvcc compiler driver is installed in /usr/local/cuda/bin, and the CUDA 64-bit runtime libraries are installed in /usr/local/cuda/lib64.
You may wish to:
*Add /usr/local/cuda/bin to your PATH environment variable.
*Add /usr/local/cuda/lib64 to your LD_LIBRARY_PATH environment variable.