CUDA driver version is insufficient for CUDA runtime version

Matlab

>> gpuDevice(1)

Error using gpuDevice (line 26)

An unexpected error occurred during CUDA execution. The CUDA error was:

CUDA driver version is insufficient for CUDA runtime version


$nvcc -V

nvcc: NVIDIA (R) Cuda compiler driver

Copyright (c) 2005-2015 NVIDIA Corporation

Built on Tue_Aug_11_14:27:32_CDT_2015

Cuda compilation tools, release 7.5, V7.5.17


[Solution]

$cd/usr/lib64/nvidia

$sudo ln -s libcuda.so.1 libcuda.so

$sudo ldconfig


Make sure

$cat /etc/ld.so.conf.d/nvidia-lib64.conf

/usr/lib64/nvidia


Ref:

https://devtalk.nvidia.com/default/topic/617414/-solved-cuda-driver-version-is-insufficient-for-cuda-runtime-version-fedora-18-rpmfusion-driver/

你可能感兴趣的:(囧囧在成长)