I am installing the CUDA toolkit and nVidia driver on a machine with GTX980s and CentOS 6.6. According to nVidia I need a different CUDA toolkit (6.5-19 instead of 6.5-14) than normally offered on their developer website. This version of the toolkit installs driver version 340.19 (which makes no sense since 340.22 added GTX980 support). Now when I install the the driver from CUDA the cards are not recognized apparently (nvidia-smi complains that no driver is running). I tried installing the newest driver available (340.65), but that appears to be incompatible with the version provided by CUDA. I have tried installing the driver first and then CUDA. And still have the same incompatibility problem for the driver from CUDA vs. the one installed.
Is there a solution to get around this?
Installing just the CUDA toolkit without the driver and installing the correct driver.