There is No device supporting CUDA

Hey Folks,

When I run the devicequery, I get the above mentioned error: There is no device supporting CUDA.

Everything was running fine. But after some ubuntu kernel update, this error has been coming.

Can you help how can I revert back to my old configuration and get back CUDA.

Please help.

install the driver again, it won’t load if you changed your kernel without recompiling the kernel module

Could you please elaborate on what you said. I have reinstalled the driver. And the output of ls /dev/nv* is

mdaga@mdaga-desktop:~/NVIDIA_GPU_Computing_SDK/C/bin/linux/release$ ls /dev/nv*

/dev/nvidia0 /dev/nvidiactl

So I believe that the driver has been installed. But the devicequery still shows: There is no device supporting CUDA.

Can anyone please help!!!

Which Linux version?
Which driver have you installed? If it is coming from external repos it may be missing the CUDA libraries.

cat /proc/driver/nvidia/version will report the version installed.

My driver version is: 180.44.

However, I am having problem now in compiling the SDK. When I do make in NVIDIA_SDK/C, I get the following error:

make[1]: Entering directory `/home/mdaga/NVIDIA_GPU_Computing_SDK/C/src/deviceQueryDrv’

obj/release/deviceQueryDrv.cpp.o: In function `main’:

deviceQueryDrv.cpp:(.text+0x134): undefined reference to `cuDriverGetVersion’

collect2: ld returned 1 exit status

make[1]: *** […/…/bin/linux/release/deviceQueryDrv] Error 1

I am using CUDA 2.3. I dont know whats happening with my system. A new problem comes up everyday. Please help

a. you need to be using a 190.xx driver
b. LD_LIBRARY_PATH changed in 2.3, see the release notes

You cannot use CUDA 2.3 with a 180.xx driver, you need a 190.xx one.

In general, you can install an old CUDA version on a new driver, but you cannot install a new CUDA version on an old driver.
Also, download the driver from the NVIDIA web site.

Thanks guys. its working.