If you switch from a package manager method to do the driver install to a runfile installer method, you must follow the instructions in section 2.7 of the linux install guide that I’ve already linked. In short, you need to clean out all old package manager installs, to use the runfile installer method.
all as root:
- as written in section 2.7:
yum remove <package_name>
where you replace <package_name> with any previous cuda packages installed. If you don’t know what these are or don’t know the history of the machine, it may require additional effort to inspect the installed packages. Or you could do a clean load of the OS.
- install the driver (only)
(when prompted, select y for driver install, n for cuda toolkit. However there is no reason I know of that you cannot just install the cuda toolkit this way and be done with it. i.e. y for cuda toolkit)
- If you didn’t install the cuda toolkit from the runfile installer in step 2, you should be able to do
rpm -i cuda-repo-rhel7-10-0-local-10.0.130-410.48-1.0-1.x86_64.rpm
yum clean all
yum install cuda-toolkit-10-0