본문 바로가기

Ph.D. Course/KJI

[NVIDIA NANO] nvcc error

  • If you got the error like image below

 

sudo vi ~/.bashrc

 

  • Insert the code at the bottom
export PATH=/usr/local/cuda-10.2/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-10.2/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
 

  • Then save the file and execute it with source(command)

source ~/.bashrc