The following command shows the current CUDA version (last line): $ nvcc -version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2016 NVIDIA Corporation Built on Sun_Sep_4_22:14:01_CDT_2016 Cuda compilation tools, release 8.0, V8.0.44 Download the latest ones from Verify CUDA installation *: Don't install the display drivers with this script. You might also be interested in How can I install CuDNN on Ubuntu 16.04?. I strongly suggest not to use it, as it changes the paths and makes the installation of other tools more difficult. Notes: Yes, there is the possibility to install it via apt-get install cuda. See also: NVIDIA CUDA with Ubuntu 16.04 beta on a laptop (if you just cannot wait) Start lightdm again: sudo service lightdm start.Make sure that you say y for the symbolic link. Create a file at /etc/modprobe.d/nf with the following contents: blacklist nouveau options nouveau modeset=0.Stop lightdm: sudo service lightdm stop.Go to a terminal session ( ctrl+ alt+ F2) If you want to install the display drivers (*), logout from your GUI.Remove any other installation ( sudo apt-get purge nvidia-cuda* - if you want to install the drivers too, then sudo apt-get purge nvidia-*.).Check the md5 sum: md5sum cuda_7.5.18_n.Download CUDA: I used the 15.04 version and "runfile (local)".However, it is basically only those steps:
0 Comments
Leave a Reply. |