CUDA: CUDA installed to /usr/local
Moved from discussion in !5996 (closed) as requested by @brad.king
This is on Ubuntu 16.04 with Nvidia's CUDA 9.0.
Output from nvcc -v a
as requested by @robertmaynard:
#$ _SPACE_=
#$ _CUDART_=cudart
#$ _HERE_=/usr/lib/nvidia-cuda-toolkit/bin
#$ _THERE_=/usr/lib/nvidia-cuda-toolkit/bin
#$ _TARGET_SIZE_=
#$ _TARGET_DIR_=
#$ _TARGET_SIZE_=64
#$ NVVMIR_LIBRARY_DIR=/usr/lib/nvidia-cuda-toolkit/libdevice
#$ PATH=/usr/lib/nvidia-cuda-toolkit/bin:/home/enfasoformoso/bin:/home/enfasoformoso/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/cuda/bin:/snap/bin
#$ LIBRARIES= -L/usr/lib/x86_64-linux-gnu/stubs
nvcc fatal : Don't know what to do with 'a'
Nvidia's documentation would suggest their installs there, since it makes reference to
The
/usr/local/cuda
symbolic link points to the location where the CUDA Toolkit was installed. This link allows projects to use the latest CUDA Toolkit without any configuration file update.