Totalview® for HPC User Guide : PART V Using the CUDA Debugger : Chapter 25 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:
https://developer.nvidia.com/cuda-downloads
Select Linux as your operating system
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.