There is some response for cudadetect command which I have pated in earlier mail. But no ./cudadetect file.
rb@rameshbabu:~$ ./cudadetect
bash: ./cudadetect: No such file or directory
I have nvcc file in /usr/local/cuda/bin but still not located.
rb@rameshbabu:~$ which nvcc (no response)
rb@rameshbabu:~$ ll /usr/local/cuda/bin/
total 31836
drwxr-xr-x 3 root root 4096 May 19 19:56 ./
drwxr-xr-x 16 root root 4096 May 19 19:56 ../
-rwxr-xr-x 1 root root 63288 May 19 19:56 bin2c*
lrwxrwxrwx 1 root root 4 May 19 19:56 computeprof -> nvvp*
drwxr-xr-x 2 root root 4096 May 19 19:56 crt/
-rwxr-xr-x 1 root root 3240648 May 19 19:56 cudafe*
-rwxr-xr-x 1 root root 2904184 May 19 19:56 cudafe++*
-rwxr-xr-x 1 root root 5698534 May 19 19:56 cuda-gdb*
-rwxr-xr-x 1 root root 170664 May 19 19:56 cuda-memcheck*
-rwxr-xr-x 1 root root 6460832 May 19 19:56 cuobjdump*
-rwxr-xr-x 1 root root 164992 May 19 19:56 fatbin*
-rwxr-xr-x 1 root root 125584 May 19 19:56 fatbinary*
-rwxr-xr-x 1 root root 58680 May 19 19:56 filehash*
-rwxr-xr-x 1 root root 210 May 19 19:56 nsight*
-rwxr-xr-x 1 root root 160576 May 19 19:56 nvcc*
-rw-r--r-- 1 root root 306 May 19 19:56 nvcc.profile
-rwxr-xr-x 1 root root 5729960 May 19 19:56 nvlink*
-rwxr-xr-x 1 root root 2166448 May 19 19:56 nvprof*
-rwxr-xr-x 1 root root 206 May 19 19:56 nvvp*
-rwxr-xr-x 1 root root 5600776 May 19 19:56 ptxas*
rb@rameshbabu:~$ nvcc --version
The program 'nvcc' is currently not installed. You can install it by typing:
sudo apt install nvidia-cuda-toolkit
rb@rameshbabu:~$ locate libcudart
/usr/local/MATLAB/R2017a/bin/glnxa64/libcudart.so.8.0
/usr/local/MATLAB/R2017a/bin/glnxa64/libcudart.so.8.0.44
/usr/local/cuda-5.0/lib/libcudart.so
/usr/local/cuda-5.0/lib/libcudart.so.5.0
/usr/local/cuda-5.0/lib/libcudart.so.5.0.35
/usr/local/cuda-5.0/lib64/libcudart.so
/usr/local/cuda-5.0/lib64/libcudart.so.5.0
/usr/local/cuda-5.0/lib64/libcudart.so.5.0.35
/usr/local/freesurfer/MCRv80/bin/glnxa64/libcudart.so.4
/usr/local/freesurfer/MCRv80/bin/glnxa64/libcudart.so.4.2.9
As far as I know, freesurfer supports cuda-5 and it requires libcudart.so-5.0. That's why I have installed cuda-5. How did you enable freesurfer with cuda-8?
Thanks
Ramesh