I installed CUDA 9.1 with nvidia-384 driver, and can only compile cuda code but not execute them: “CUDA driver version is insufficient for CUDA runtime version”.
I searched and tried the methods provided in the other posts like reinstall the driver bit dosen’t work.
The only thing went wrong during the installation was that CUDA 9.1 runfile keep reporting “An incomplete installation of libglvnd was found” so I just install the driver-384 separately from cuda-toolkit. Would it be the problem here? Thank you.
The software and hardware information:
$ cat /proc/driver/nvidia/version NVRM version: NVIDIA UNIX x86_64 Kernel Module 384.111 Tue Dec 19 23:51:45 PST 2017 GCC version: gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5) $ nvcc -V nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2017 NVIDIA Corporation Built on Fri_Nov__3_21:07:56_CDT_2017 Cuda compilation tools, release 9.1, V9.1.85 $ lspci 02:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 3GB] (rev a1) 02:00.1 Audio device: NVIDIA Corporation GP106 High Definition Audio Controller (rev a1)