nvcc: command not found

user983302 picture user983302 · Nov 22, 2012 · Viewed 30.2k times · Source

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.

Answer

user983302 picture user983302 · Nov 22, 2012

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