Hi everybody,
This is a repost of what I already wrote here and, since nobody answered, I am trying to raise the attention. ;-)
I’ve installed the NVIDIA Toolkit 2.3 as well as the SDK and the NVIDIA driver (versions 190.18 as well as 190.42) and whenever I try to run a cuda-capable application the CUDA Runtime tells me:
[codebox]~/NVIDIA_GPU_Computing_SDK/C/bin/linux/release$ ./scan
cudaSafeCall() Runtime API error in file <scan.cu>, line 100 : no CUDA-capable device is available.[/codebox]
But the deviceQuery tells me:
[codebox]./deviceQuery
CUDA Device Query (Runtime API) version (CUDART static linking)
There is 1 device supporting CUDA
Device 0: “Quadro FX 570M”
CUDA Driver Version: 2.30
CUDA Runtime Version: 2.30
CUDA Capability Major revision number: 1
CUDA Capability Minor revision number: 1
Total amount of global memory: 133496832 bytes
Number of multiprocessors: 4
Number of cores: 32
Total amount of constant memory: 65536 bytes
Total amount of shared memory per block: 16384 bytes
Total number of registers available per block: 8192
Warp size: 32
Maximum number of threads per block: 512
Maximum sizes of each dimension of a block: 512 x 512 x 64
Maximum sizes of each dimension of a grid: 65535 x 65535 x 1
Maximum memory pitch: 262144 bytes
Texture alignment: 256 bytes
Clock rate: 0.95 GHz
Concurrent copy and execution: Yes
Run time limit on kernels: Yes
Integrated: No
Support host page-locked memory mapping: No
Compute mode: Default (multiple host threads can use this device simultaneously)
Test PASSED[/codebox]
So it looks like I am having the same issue as alecn2002 had in the original posting. But in his case the GFX card overheated and that was the reason for these errors. But the Quadro FX 570M seems to be running just fine; temperature is ok, 3D-applications run fine, so I assume the card to be running fine as well. I tried reinstalling the driver (versions 190.18 as well as 190.42) but it didn’t help.
I read that this may happen in case you’re not having read/write rights on the nvidia devices but this is not the case
[codebox]ll /dev/nv*
crw-rw-rw- 1 root root 195, 0 2009-12-11 14:12 /dev/nvidia0
crw-rw-rw- 1 root root 195, 255 2009-12-11 14:12 /dev/nvidiactl
crw-rw-rw- 1 root kmem 10, 144 2009-12-11 14:12 /dev/nvram
[/codebox]
I am running Ubuntu 09.10, nvidia driver 190.42 as well as CUDA toolkit + sdk 2.3 and compiled the examples with GCC 4.3.4.
[codebox]$gcc --version
gcc (Ubuntu 4.3.4-5ubuntu1) 4.3.4
Copyright © 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.[/codebox]
Does anybody have any idea about what the reason might be that I cannot run any CUDA example?
Any help is highly appreciated! ;-)
Marius