How to upgrade to CUDA-10?

Hi, I have been using cuda-9, and need to upgrade it to cuda-10 in order to use a new GPU RTX-8000. Is there an easy way to do the upgrade. Thank a lot.

OS: CentOS-7


Installing Cuda 10 depends on how you have Cuda 9 installed, if you used yum, then install Cuda 10 w/ yum. If you used Nvidia’s installer, then use Nvidia’s installer to install Cuda 10.

It’s pretty easy and you can have multiple version of cuda installed, just make sure that the symbolic link at /usr/local points to the version of Cuda you want as the default for the system.

It’s also possible that you’ll have to update your Cryosparc installation to link to the new Cuda, see this thread for example:

Not relate to cryosparc, but like @mick-t mentioned, it depends on how the CUDA toolkit was installed originally. If you have the CUDA repo on /etc/yum.repos.d/, then all you need to do is yum update cuda.

Otherwise, you will have to go to the Nvidia page to download the runfile and install manually.

Make sure that the version of CUDA libraries you need are in the ldconfig (you can check with ldconfig -p | grep cuda) or on the LD_LIBRARY_PATH.

When done run nvidia-smi. This should confirm your driver/CUDA combination.


Thanks a lot for the instruction.