Ubuntu 12.04 and GPU NVIDIA


log in

Advanced search

Questions and Answers : Unix/Linux : Ubuntu 12.04 and GPU NVIDIA

Author Message
Javier Jiménez
Send message
Joined: 25 May 08
Posts: 5
Credit: 71,205
RAC: 0
Spain
Message 1297905 - Posted: 22 Oct 2012, 16:14:20 UTC

Hello.
I'm trying to use my GPU NVIDIA 9800 with BOINC, but I haven't had succed.

This is my log:


lun 22 oct 2012 18:08:53 CEST | | No config file found - using defaults
lun 22 oct 2012 18:08:53 CEST | | Starting BOINC client version 7.0.28 for x86_64-pc-linux-gnu
lun 22 oct 2012 18:08:53 CEST | | log flags: file_xfer, sched_ops, task
lun 22 oct 2012 18:08:53 CEST | | Libraries: libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
lun 22 oct 2012 18:08:53 CEST | | Data directory: /home/taka/Escritorio/BOINC/BOINC
lun 22 oct 2012 18:08:53 CEST | | Processor: 4 AuthenticAMD AMD Phenom(tm) II X4 940 Processor [Family 16 Model 4 Stepping 2]
lun 22 oct 2012 18:08:53 CEST | | Processor: 512.00 KB cache
lun 22 oct 2012 18:08:53 CEST | | Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt npt lbrv svm_lock nrip_save
lun 22 oct 2012 18:08:53 CEST | | OS: Linux: 3.2.0-32-generic
lun 22 oct 2012 18:08:53 CEST | | Memory: 3.86 GB physical, 1.91 GB virtual
lun 22 oct 2012 18:08:53 CEST | | Disk: 76.75 GB total, 4.46 GB free
lun 22 oct 2012 18:08:53 CEST | | Local time is UTC +2 hours
lun 22 oct 2012 18:08:53 CEST | | NVIDIA GPU 0: GeForce 9800 GT (driver version unknown, CUDA version 5.0, compute capability 1.1, 134214656MB, 134214364MB available, 462 GFLOPS peak)
lun 22 oct 2012 18:08:53 CEST | | OpenCL: NVIDIA GPU 0: GeForce 9800 GT (driver version 304.51, device version OpenCL 1.0 CUDA, 1024MB, 134214364MB available)
lun 22 oct 2012 18:08:53 CEST | SETI@home | URL http://setiathome.berkeley.edu/; Computer ID 6808988; resource share 100
lun 22 oct 2012 18:08:53 CEST | SETI@home | General prefs: from SETI@home (last modified 22-Oct-2012 14:14:28)
lun 22 oct 2012 18:08:53 CEST | SETI@home | Computer location: home
lun 22 oct 2012 18:08:53 CEST | SETI@home | General prefs: no separate prefs for home; using your defaults
lun 22 oct 2012 18:08:53 CEST | | Preferences:
lun 22 oct 2012 18:08:53 CEST | | max memory usage when active: 1977.38MB
lun 22 oct 2012 18:08:53 CEST | | max memory usage when idle: 3559.29MB
lun 22 oct 2012 18:08:53 CEST | | max disk usage: 0.00GB
lun 22 oct 2012 18:08:53 CEST | | suspend work if non-BOINC CPU load exceeds 50 %
lun 22 oct 2012 18:08:53 CEST | | (to change preferences, visit the web site of an attached project, or select Preferences in the Manager)
lun 22 oct 2012 18:08:53 CEST | | Not using a proxy
lun 22 oct 2012 18:08:53 CEST | SETI@home | Restarting task 29se12ab.22923.476.140733193388042.10.206_0 using setiathome_enhanced version 528 in slot 0
lun 22 oct 2012 18:08:53 CEST | SETI@home | Restarting task 30se12aa.21833.67.3.10.0_1 using setiathome_enhanced version 528 in slot 1
lun 22 oct 2012 18:08:53 CEST | SETI@home | Restarting task 29se12ab.22923.476.140733193388042.10.255_1 using setiathome_enhanced version 528 in slot 2
lun 22 oct 2012 18:08:53 CEST | SETI@home | Restarting task 30se12aa.21833.67.3.10.6_0 using setiathome_enhanced version 528 in slot 3
lun 22 oct 2012 18:08:53 CEST | SETI@home | Sending scheduler request: To fetch work.
lun 22 oct 2012 18:08:53 CEST | SETI@home | Requesting new tasks for CPU and NVIDIA
lun 22 oct 2012 18:09:13 CEST | SETI@home | Scheduler request completed: got 1 new tasks



What is wrong?

OzzFan
Volunteer tester
Avatar
Send message
Joined: 9 Apr 02
Posts: 13542
Credit: 29,418,557
RAC: 16,043
United States
Message 1297908 - Posted: 22 Oct 2012, 16:43:08 UTC - in response to Message 1297905.

There is no stock CUDA app for Linux. You'll have to obtain one from a third party to use your GPU under Linux.

Javier Jiménez
Send message
Joined: 25 May 08
Posts: 5
Credit: 71,205
RAC: 0
Spain
Message 1297909 - Posted: 22 Oct 2012, 16:47:10 UTC

Where can I find that?

Profile Ageless
Avatar
Send message
Joined: 9 Jun 99
Posts: 12259
Credit: 2,554,771
RAC: 811
Netherlands
Message 1297924 - Posted: 22 Oct 2012, 17:34:34 UTC

http://lunatics.kwsn.net/index.php?module=Downloads;catd=1
01-Linux 64bit Cuda Multibeam (x41g), Dec 2011 .. do read the readme file directly thereunder for all the info you need.
____________
Jord

Fighting for the correct use of the apostrophe, together with Weird Al Yankovic

Javier Jiménez
Send message
Joined: 25 May 08
Posts: 5
Credit: 71,205
RAC: 0
Spain
Message 1297958 - Posted: 22 Oct 2012, 19:42:47 UTC

Ok, thanks, now I can use my GPU to process.

Now I'm experimenting with third party apps, and I get an error processing with CPU:


lun 22 oct 2012 21:34:04 CEST | SETI@home | Requesting new tasks for CPU
lun 22 oct 2012 21:34:17 CEST | SETI@home | Scheduler request completed: got 4 new tasks
lun 22 oct 2012 21:34:19 CEST | SETI@home | Started download of 29se12ab.27923.10701.140733193388044.10.151
lun 22 oct 2012 21:34:19 CEST | SETI@home | Started download of 29se12ab.27923.10701.140733193388044.10.157
lun 22 oct 2012 21:34:39 CEST | SETI@home | Finished download of 29se12ab.27923.10701.140733193388044.10.151
lun 22 oct 2012 21:34:39 CEST | SETI@home | Finished download of 29se12ab.27923.10701.140733193388044.10.157
lun 22 oct 2012 21:34:39 CEST | SETI@home | Started download of 29se12ab.27923.10701.140733193388044.10.221
lun 22 oct 2012 21:34:39 CEST | SETI@home | Started download of 29se12ab.27923.10701.140733193388044.10.216
lun 22 oct 2012 21:34:39 CEST | SETI@home | Starting task 29se12ab.27923.10701.140733193388044.10.157_0 using setiathome_enhanced version 603 in slot 1
lun 22 oct 2012 21:34:39 CEST | SETI@home | Starting task 29se12ab.27923.10701.140733193388044.10.151_1 using setiathome_enhanced version 603 in slot 2
lun 22 oct 2012 21:34:40 CEST | SETI@home | Computation for task 29se12ab.27923.10701.140733193388044.10.157_0 finished
lun 22 oct 2012 21:34:40 CEST | SETI@home | Output file 29se12ab.27923.10701.140733193388044.10.157_0_0 for task 29se12ab.27923.10701.140733193388044.10.157_0 absent
lun 22 oct 2012 21:34:41 CEST | SETI@home | Computation for task 29se12ab.27923.10701.140733193388044.10.151_1 finished
lun 22 oct 2012 21:34:41 CEST | SETI@home | Output file 29se12ab.27923.10701.140733193388044.10.151_1_0 for task 29se12ab.27923.10701.140733193388044.10.151_1 absent
lun 22 oct 2012 21:34:44 CEST | SETI@home | Finished download of 29se12ab.27923.10701.140733193388044.10.221
lun 22 oct 2012 21:34:44 CEST | SETI@home | Finished download of 29se12ab.27923.10701.140733193388044.10.216
lun 22 oct 2012 21:34:44 CEST | SETI@home | Starting task 29se12ab.27923.10701.140733193388044.10.221_0 using setiathome_enhanced version 603 in slot 1
lun 22 oct 2012 21:34:44 CEST | SETI@home | Starting task 29se12ab.27923.10701.140733193388044.10.216_1 using setiathome_enhanced version 603 in slot 2
lun 22 oct 2012 21:34:45 CEST | SETI@home | Computation for task 29se12ab.27923.10701.140733193388044.10.221_0 finished
lun 22 oct 2012 21:34:45 CEST | SETI@home | Output file 29se12ab.27923.10701.140733193388044.10.221_0_0 for task 29se12ab.27923.10701.140733193388044.10.221_0 absent
lun 22 oct 2012 21:34:46 CEST | SETI@home | Computation for task 29se12ab.27923.10701.140733193388044.10.216_1 finished
lun 22 oct 2012 21:34:46 CEST | SETI@home | Output file 29se12ab.27923.10701.140733193388044.10.216_1_0 for task 29se12ab.27923.10701.140733193388044.10.216_1 absent
lun 22 oct 2012 21:35:51 CEST | SETI@home | Computation for task 29se12ab.22923.476.140733193388042.10.206_0 finished


This is my app_info.xml

<app_info>
<app>
<name>setiathome_enhanced</name>
</app>

<file_info>
<name>AK_V8_linux64_sse3</name>
<executable/>
</file_info>

<app_version>
<app_name>setiathome_enhanced</app_name>
<version_num>528</version_num>
<file_ref>
<file_name>AK_V8_linux64_sse3</file_name>
<main_program/>
</file_ref>
</app_version>

<app_version>
<app_name>setiathome_enhanced</app_name>
<version_num>603</version_num>
<file_ref>
<file_name>AK_V8_linux64_sse3</file_name>
<main_program/>
</file_ref>
</app_version>

<file_info>
<name>setiathome_x41g_x86_64-pc-linux-gnu_cuda32</name>
<executable/>
</file_info>
<file_info>
<name>libcudart.so.3</name>
<executable/>
</file_info>
<file_info>
<name>libcufft.so.3</name>
<executable/>
</file_info>

<app_version>
<app_name>setiathome_enhanced</app_name>
<version_num>611</version_num>
<platform>x86_64-pc-linux-gnu</platform>
<plan_class>cuda_fermi</plan_class>
<avg_ncpus>0.05</avg_ncpus>
<max_ncpus>1.0</max_ncpus>
<coproc>
<type>CUDA</type>
<count>1.0</count>
</coproc>
<file_ref>
<file_name>setiathome_x41g_x86_64-pc-linux-gnu_cuda32</file_name>
<main_program/>
</file_ref>
<file_ref>
<file_name>libcudart.so.3</file_name>
</file_ref>
<file_ref>
<file_name>libcufft.so.3</file_name>
</file_ref>
</app_version>

<app_version>
<app_name>setiathome_enhanced</app_name>
<version_num>609</version_num>
<platform>x86_64-pc-linux-gnu</platform>
<plan_class>cuda_fermi</plan_class>
<avg_ncpus>0.05</avg_ncpus>
<max_ncpus>1.0</max_ncpus>
<coproc>
<type>CUDA</type>
<count>1.0</count>
</coproc>
<file_ref>
<file_name>setiathome_x41g_x86_64-pc-linux-gnu_cuda32</file_name>
<main_program/>
</file_ref>
<file_ref>
<file_name>libcudart.so.3</file_name>
</file_ref>
<file_ref>
<file_name>libcufft.so.3</file_name>
</file_ref>
</app_version>

<app_version>
<app_name>setiathome_enhanced</app_name>
<version_num>608</version_num>
<platform>x86_64-pc-linux-gnu</platform>
<plan_class>cuda_fermi</plan_class>
<avg_ncpus>0.05</avg_ncpus>
<max_ncpus>1.0</max_ncpus>
<coproc>
<type>CUDA</type>
<count>1.0</count>
</coproc>
<file_ref>
<file_name>setiathome_x41g_x86_64-pc-linux-gnu_cuda32</file_name>
<main_program/>
</file_ref>
<file_ref>
<file_name>libcudart.so.3</file_name>
</file_ref>
<file_ref>
<file_name>libcufft.so.3</file_name>
</file_ref>
</app_version>
<!--
<app>
<name>astropulse_v505</name>
</app>
<file_info>
<name>ap_5.06r411_sse3_linux64</name>
<executable/>
</file_info>
<app_version>
<app_name>astropulse_v505</app_name>
<version_num>506</version_num>
<file_ref>
<file_name>ap_5.06r411_sse3_linux64</file_name>
<main_program/>
</file_ref>
</app_version>
-->

<app>
<name>astropulse_v6</name>
</app>
<file_info>
<name>ap_6.01r546_sse3_linux64</name>
<executable/>
</file_info>
<app_version>
<app_name>astropulse_v6</app_name>
<version_num>601</version_num>
<file_ref>
<file_name>ap_6.01r546_sse3_linux64</file_name>
<main_program/>
</file_ref>
</app_version>

</app_info>

Where is my mistake?

Profile Ageless
Avatar
Send message
Joined: 9 Jun 99
Posts: 12259
Credit: 2,554,771
RAC: 811
Netherlands
Message 1297961 - Posted: 22 Oct 2012, 19:53:25 UTC - in response to Message 1297958.
Last modified: 22 Oct 2012, 19:54:02 UTC

Your tasks end with a code 22. This happens when you run a 32bit application on a 64bit operating system, without using the 32bit compatibility libraries. So install those, see http://boinc.berkeley.edu/wiki/Installing_BOINC#Ubuntu for that.

If after this you still get errors, run ldd on the executables in the projects directory to see what libraries are missing. If you want to, post the outcome of each ldd (That's el dee dee).
____________
Jord

Fighting for the correct use of the apostrophe, together with Weird Al Yankovic

Javier Jiménez
Send message
Joined: 25 May 08
Posts: 5
Credit: 71,205
RAC: 0
Spain
Message 1297965 - Posted: 22 Oct 2012, 20:25:28 UTC

I'm using 3 apps:

AK_V8_linux64_sse3
setiathome_x41g_x86_64-pc-linux-gnu_cuda32
ap_6.01r546_sse3_linux64


All of them are 64bits applications.
I've installed ia32-libs, libstdc++6, libstdc++5 and freeglut3.
So I don't understand why it throw me that error.

The output of ldd command:

/BOINC/projects/setiathome.berkeley.edu$ ldd AK_V8_linux64_sse3
linux-vdso.so.1 => (0x00007fff7c9a8000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fce209ef000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fce20630000)
/lib64/ld-linux-x86-64.so.2 (0x00007fce20c2d000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fce20333000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fce2011d000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fce1ff19000)


/BOINC/projects/setiathome.berkeley.edu$ ldd setiathome_x41g_x86_64-pc-linux-gnu_cuda32
linux-vdso.so.1 => (0x00007fff44bff000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f4eeaa10000)
libcudart.so.3 (0x00007f4eea7c3000)
libcufft.so.3 (0x00007f4ee8a0c000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f4ee870c000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f4ee8410000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f4ee81f9000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4ee7e3a000)
/lib64/ld-linux-x86-64.so.2 (0x00007f4eeac4e000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f4ee7c36000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f4ee7a2d000)


/BOINC/projects/setiathome.berkeley.edu$ ldd ap_6.01r546_sse3_linux64
no es un ejecutable dinámico

Javier Jiménez
Send message
Joined: 25 May 08
Posts: 5
Credit: 71,205
RAC: 0
Spain
Message 1297971 - Posted: 22 Oct 2012, 20:56:17 UTC
Last modified: 22 Oct 2012, 20:56:51 UTC

Ok, It's fixed.
AK_V8_linux64_sse3 didn't have execution permission :(

Profile Ex
Volunteer moderator
Volunteer tester
Avatar
Send message
Joined: 12 Mar 12
Posts: 2895
Credit: 1,692,883
RAC: 1,283
United States
Message 1298045 - Posted: 23 Oct 2012, 1:19:16 UTC

Very cool stuff. Jord, you're awesome.

To the OP, yes permissions are the culprit in 9 out of 10 Linux problems. ;-)
____________
-Dave #2

3.2.0-33

Profile ML1
Volunteer tester
Send message
Joined: 25 Nov 01
Posts: 8270
Credit: 4,072,496
RAC: 374
United Kingdom
Message 1316268 - Posted: 17 Dec 2012, 0:27:07 UTC - in response to Message 1298045.

Very cool stuff. Jord, you're awesome.

There is some very cool stuff! ;-)

To the OP, yes permissions are the culprit in 9 out of 10 Linux problems. ;-)

Ooooer! Is that why viruses aren't supported on *nix systems?... :-)


Happy fast clean crunchin',
Martin

____________
See new freedom: Mageia4
Linux Voice See & try out your OS Freedom!
The Future is what We make IT (GPLv3)

Questions and Answers : Unix/Linux : Ubuntu 12.04 and GPU NVIDIA

Copyright © 2014 University of California