help Error: API mismatch:

I’m trying to install and run CUDA under Linux system. So I installed an Ubuntu on another hard driver and managed to have the corresponding things configured. Then I installed all CUDA driver and tools and SDK. The emulation sample project starting running without problem but not the release one. So I went back reinstalled NVIDIA driver by turning off Xwindow first. Then I have the following error message

pshang@pshang-desktop:~ cd prog/bin/linux/release pshang@pshang-desktop:~/prog/bin/linux/release ./bandwidthTest
Running on…
Error: API mismatch: the NVIDIA kernel module has version 71.86.04,
but this NVIDIA driver component has version 185.18.31. Please make
sure that the kernel module and all NVIDIA driver components
have the same version.
device 0:Device Emulation (CPU)
Quick Mode
Host to Device Bandwidth for Pageable memory
cudaSafeCall() Runtime API error in file <>, line 667 : no CUDA-capable device is available.

Any idea on the cause and how I should solve the problem.


Those are some OLD drivers. It would appear that your driver installation did not succeed. I suggest reinstalling the latest NVIDIA drivers. Note that there is an ubuntu package called envy that will automate the process (at least there used to be, I’m not a current ubuntu user).