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

Hello,

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:

Code:
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...
FAILED

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

1-I tried to install the devdriver "devdriver_4.0_linux_32_270.41.19.run" 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 http://forums.opensuse.org/english/g...st2381467.html 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 "NVIDIA-Linux-x86-280.13.run" driver...

2-Using the standard Nvidia driver, I continued with the installation of the CUDA toolkit by installing "cudatoolkit_4.0.17_linux_32_ubuntu10.10.run". Note: there is no Slackware package availabe and according to multiple sites such as http://lmf-ramblings.blogspot.com/20...kware-131.html 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 ("gpucomputingsdk_4.0.17_linux.run") and all went fine.

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

Can somebody help me??

Thanks!!!

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