Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

nvcc: command not found

Tags:

cuda

nvcc

I installed cuda sdk 5.0 to /opt and even compiled all examples, but I can't execute nvcc. Here is some console output: enter image description here I'm using linux mint 13.

like image 402
user983302 Avatar asked Oct 06 '22 21:10

user983302


1 Answers

UPDATED

I did multiple changes to .bash_profile, nvcc is now found. Here is .bash_profile:

export LPATH=$LPATH:/usr/lib/nvidia-current:/opt/bin:/opt/lib64:/opt/lib
export LIBRARY_PATH=$LIBRARY_PATH:/usr/lib/nvidia-current:/opt/lib64:/opt/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/nvidia-current:/opt/lib64:/opt/lib
export PATH=$PATH:/opt/bin:/opt/lib64:/opt/lib
like image 136
user983302 Avatar answered Oct 17 '22 15:10

user983302