Vendor : nVidia Tesla
Version : 7.5
License : Non-commerical
Compiling with CUDA
In order to use nvcc to compile cuda programs, following environmental setup is required:
CSH – Shell:
Add the following lines in your .cshrc file
setenv CUDA_INSTALL_PATH /opt/cuda7.5
set path=(/opt/cuda7.5/bin $path)
setenv LD_LIBRARY_PATH /opt/cuda7.5/lib64
Run the command source .cshrc
BASH – Shell:
Add the following lines in your .bashrc file
export CUDA_INSTALL_PATH=/opt/cuda7.5
export PATH=/opt/cuda7.5/bin:$PATH
export LD_LIBRARY_PATH=/opt/cuda7.5/lib64
export LD_LIBRARY_PATH=/opt/cuda7.5/lib:$PATH
Run the command source .bashrc
Command to compile your code:
nvcc filename.cu