The output of which nvcc gives me:
/usr/local/cuda-10.0/bin/nvcc
However, when I execute nvcc --version, I get
-bash: /usr/bin/nvcc: No such file or directory
So which is telling me it is using the nvcc inside /usr/local/cuda-10.0/bin, but the actual nvcc command points to /usr/bin. Shouldn't the nvcc command point to /usr/local/cuda-10.0/bin?