Remember to change ‘11.4’ to the version you want to install. Open the file and add the following texts to the last of this file export PATH="/usr/local/cuda-11.4/bin:$PATH"Įxport LD_LIBRARY_PATH="/usr/local/cuda-11.4/lib64:$LD_LIBRARY_PATH" If it returns ‘nvcc:’, don’t worry and please do the remaining steps. If ‘nvcc -version’ can not found anything or raise an error, use the following command whereis nvcc If it also returns the correct version of CUDA, you have completed. ‘nvdia-smi’ should show information about your GPU. When using the command to reboot, choose MOK. Sudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600 #Ubuntu 16.04 install cuda 9.0 download#Go to official website and follow their instructions to download corresponding version of CUDA and installation method. Install CUDA 2.1 Choose your CUDA version and installation method #Ubuntu 16.04 install cuda 9.0 driver#uname -rġ.5 Remove previously installed CUDA toolkit sudo apt-get -purge remove "*cublas*" "cuda*" "nsight*"ġ.6 Remove previously installed CUDA driver sudo apt-get -purge remove "*nvidia*"ġ.7 Remove possible files sudo rm -rf /usr/local/cuda*Ģ. gcc -versionġ.4 Verify the system has the correct kernel headers and development packages installed. uname -m & cat /etc/*releaseġ.3 Verify the system has gcc installed. 1.2 Verify the system is running a supported version of Linux. If your graphics card is from NVIDIA and it is listed in, your GPU is CUDA-capable. (More details can be found in ) 1.1 Verify the system has a CUDA-capable GPU. To record my experience on installing CUDA on Ubuntu 20.04.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |