View Single Post
Old 09-07-11, 07:15 PM   #1
Registered User
Join Date: Sep 2010
Posts: 45
Default Understanding & getting started with CUDA for Linux


I would like to utilize my 2 laptop's Geforce 8700M GT for "background" processing or forefront processsing and teaming up with the main CPU for more intensive tasks.

I however have a problem when I try to run deviceQuery from the ~/NVIDIA_GPU_Computing_SDK/C/bin/linux/release/ folder. I get:

bash-4.1$ ./deviceQuery
[deviceQuery] starting...
./deviceQuery Starting...

 CUDA Device Query (Runtime API) version (CUDART static linking)

cudaGetDeviceCount returned 10
-> invalid device ordinal
[deviceQuery] test results...

Press ENTER to exit...
Now to get to this point, here's what I did:

1-I tried to install the devdriver "" taken from the CUDA download page, but I am running Kernel 3.0.4 so the driver wouldnt compile & install. I followed the instructions of to patch the driver and I try to install it. It seemed to work but then when I started X, it crashed and I had to revert to my standard "" driver...

2-Using the standard Nvidia driver, I continued with the installation of the CUDA toolkit by installing "". Note: there is no Slackware package availabe and according to multiple sites such as installing the ubuntu or fedora package straight in slacware works. I tried and it seemed to worked well.

3-I then installed the GPU computing SDK ("") and all went fine.

4-I am trying to run the deviceQuery script, but it fails...

Can somebody help me??


Last edited by xps8700; 09-20-11 at 11:27 AM. Reason: Removed obsolete/inacurate information
xps8700 is offline   Reply With Quote