Questions and Answers :
GPU applications :
Can't get GPU to process workunits on Linux machine
Message board moderation
Author | Message |
---|---|
Jon Rook Send message Joined: 9 Jan 02 Posts: 34 Credit: 6,679,310 RAC: 0 |
Hi, I am running Linux (Ubuntu if it matters) and recently bought an nVidia GeForce GT520 GPU. I have downloaded an installed the latest nVidia driver for x64 Linux. This is a CUDA compliant GPU. I followed these instructions from the S@H website: http://setiathome.berkeley.edu/cuda.php These instructions say that you can use a CUDA compliant GPU if you are running on Linux. The CUDA FAQ (http://setiathome.berkeley.edu/cuda_faq.php) mentions that CUDA only works for Windows, with Mac and Linux options "planned in the near future". Which of these is correct? Do I even have a hope of this working on Linux yet? Beyond that, I seem to have the GPU set up correctly. When I start the BOINC Manager (V 6.10.17) and examine the messages, I see that a CUDA GPU has been detected. In later messages, I also see that the BOINC Manager is specifically "requesting new tasks for GPU" These requests never result in my machine receiving GPU tasks. The messages always say "Scheduler request completed: got 0 new tasks". I am able to receive and process CPU tasks. I have both my local preferences and the online preferences set to enable GPU processing. What am I missing? Help greatly appreciated. Regards, Jon |
arkayn Send message Joined: 14 May 99 Posts: 4438 Credit: 55,006,323 RAC: 0 |
Hi, Biggest question is do you have a GPU app listed in your app_info. |
Jon Rook Send message Joined: 9 Jan 02 Posts: 34 Credit: 6,679,310 RAC: 0 |
OK, thanks, but what is "app_info" and how do I find out if I have a GPU app there? Is this something in BOINC? Jon |
Gundolf Jahn Send message Joined: 19 Sep 00 Posts: 3184 Credit: 446,358 RAC: 0 |
SETI@home only has stock GPU applications for windows (see the Applications page). So, you'll have to switch to Anonymous Platform to use externally generated GPU applications. That's where the app_info.xml shows up. There are other projects that have CUDA applications for linux though. See Choosing BOINC projects ('Supported platforms' column). Gruß, Gundolf Computer sind nicht alles im Leben. (Kleiner Scherz) SETI@home classic workunits 3,758 SETI@home classic CPU time 66,520 hours |
Jon Rook Send message Joined: 9 Jan 02 Posts: 34 Credit: 6,679,310 RAC: 0 |
Thank you for the information. Not interested in running that anonymous platform stuff. I'll move on and process GPU tasks for another project. Thank you again. Jon |
arkayn Send message Joined: 14 May 99 Posts: 4438 Credit: 55,006,323 RAC: 0 |
Thank you for the information. Not interested in running that anonymous platform stuff. I'll move on and process GPU tasks for another project. One problem then is you already are running with an app_info and using the anonymous platform. http://setiathome.berkeley.edu/result.php?resultid=2142334017 Application version SETI@home Enhanced |
BilBg Send message Joined: 27 May 07 Posts: 3720 Credit: 9,385,827 RAC: 0 |
Thank you for the information. Not interested in running that anonymous platform stuff. I'll move on and process GPU tasks for another project. You can consider these 3 as almost equal: Using Anonymous platform == Using app_info.xml == Using Optimized Applications You are using Anonymous platform / app_info.xml / Optimized Application and you already have "Number of tasks completed 6069" using "SETI@home Enhanced (anonymous platform, CPU)": http://setiathome.berkeley.edu/host_app_versions.php?hostid=5461940 But your Application is very old (read: slow). Arkayn have (hosts) Optimized Applications on his site. I think you have 32-bit Linux (Linux 2.6.32-35-generic) http://setiathome.berkeley.edu/show_host_detail.php?hostid=5461940 There is no SETI CUDA Application (even Optimized) for 32-bit Linux. The optimal (fastest) package you can use with your combination of CPU (AMD Athlon II X4 630 Processor) and OS (32-bit Linux) to upgrade for faster CPU processing is Linux 32-bit SSE3 package (LX32_AKV8_AP5_SSE3.zip - 1.45 MB) http://www.arkayn.us/forum/index.php?action=downloads;sa=view;down=8 Read the file Instructions.txt inside the .zip  - ALF - "Find out what you don't do well ..... then don't do it!" :)  |
Jon Rook Send message Joined: 9 Jan 02 Posts: 34 Credit: 6,679,310 RAC: 0 |
Actually, I am running 64 bit Linux: $ uname -a Linux Neptune 2.6.32-35-generic #78-Ubuntu SMP Tue Oct 11 16:11:24 UTC 2011 x86_64 GNU/Linux Is there a SETI CUDA application for x86_64 Linux? Also, you mention my application is very old (slow). My BOINC Manager says I'm running V6.10.17. What is the latest version and what is involved in upgrading to the latest? Finally, where can I find (detailed) instructions on how to get SETI w/ CUDA running on my system? Thank you all again! Jon |
BilBg Send message Joined: 27 May 07 Posts: 3720 Credit: 9,385,827 RAC: 0 |
6.10.17 is your version of BOINC (boinc.exe + boincmgr.exe + ...) (I see you upgraded to BOINC version 6.12.34 (which will not affect the computing speed)) The BOINC version is not related to the version of the actual (computing) SETI application (e.g. AK_V8_linux32_sse3). Linux-64 - Downloads: http://www.arkayn.us/forum/index.php?action=downloads;cat=19 Get: Linux 64-bit Fermi Cuda app Linux 64-bit SSE3 package Read the files Instructions.txt inside the .zip files You will need to combine (merge) the 2 app_info.xml files from the 2 packages (and make 1 app_info.xml file) Concatenate the 2 app_info.xml files. Then remove (delete) the 2 lines in the middle: </app_info> <app_info> You have to have only one <app_info> tag in the beginning and one </app_info> tag in the end. Use plain text editor (in Windows we use Notepad) Optimized CPU Applications are about 150-200% faster than stock apps. Place where you can find many answers: http://boincfaq.mundayweb.com/ If you post the first 20-30 lines from BOINC Event log (Ctrl+Shift+E) we can tell you the exact place on your computer where you need to put the app_info.xml file and the apps from "Files to Install" directory (which is inside the .zip files from www.arkayn.us) We need to see the "Data directory" on your computer (then append \projects\setiathome.berkeley.edu): 14/11/2011 08:30:02 Starting BOINC client version 6.10.58 for windows_intelx86 14/11/2011 08:30:02 log flags: file_xfer, sched_ops, task, benchmark_debug 14/11/2011 08:30:02 Libraries: libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3 14/11/2011 08:30:02 Data directory: H:\BOINC-Data 14/11/2011 08:30:02 Running under account A & L 14/11/2011 08:30:03 Processor: 1 AuthenticAMD AMD Athlon(tm) 64 Processor 3500+ [Family 15 Model 95 Stepping 2] 14/11/2011 08:30:04 Processor: 512.00 KB cache 14/11/2011 08:30:04 Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 pni cx16 syscall nx lm svm rdtscp 3dnowext 3dnow 14/11/2011 08:30:04 OS: Microsoft Windows XP: Professional x86 Edition, Service Pack 3, (05.01.2600.00) 14/11/2011 08:30:04 Memory: 895.23 MB physical, 1.78 GB virtual 14/11/2011 08:30:04 Disk: 90.00 GB total, 601.00 MB free 14/11/2011 08:30:04 Local time is UTC +2 hours 14/11/2011 08:30:08 No usable GPUs found 14/11/2011 08:30:09 SETI@home Found app_info.xml; using anonymous platform 14/11/2011 08:30:10 orbit@home URL http://orbit.psi.edu/oah/; Computer ID 43546; resource share 20 14/11/2011 08:30:10 SETI@home URL http://setiathome.berkeley.edu/; Computer ID 4832843; resource share 100 14/11/2011 08:30:10 SETI@home General prefs: from SETI@home (last modified 07-Jan-2011 23:28:40) 14/11/2011 08:30:10 SETI@home Computer location: home 14/11/2011 08:30:10 SETI@home General prefs: no separate prefs for home; using your defaults 14/11/2011 08:30:10 Reading preferences override file 14/11/2011 08:30:10 Preferences: 14/11/2011 08:30:10 max memory usage when active: 492.38MB 14/11/2011 08:30:10 max memory usage when idle: 689.33MB 14/11/2011 08:30:13 max disk usage: 0.30GB 14/11/2011 08:30:13 (to change preferences, visit the web site of an attached project, or select Preferences in the Manager) 14/11/2011 08:30:14 Using proxy info from GUI 14/11/2011 08:30:14 Not using a proxy 14/11/2011 08:30:14 Suspending computation - initial delay 14/11/2011 08:30:16 SETI@home Restarting task 17jl11aa.20539.15609.4.10.72.vlar_0 using setiathome_enhanced version 603 14/11/2011 08:46:14 SETI@home update requested by user  - ALF - "Find out what you don't do well ..... then don't do it!" :)  |
Jon Rook Send message Joined: 9 Jan 02 Posts: 34 Credit: 6,679,310 RAC: 0 |
Thank you for the post BilBg. Is it just me, or is this a little confusing? I.e. upgrading the Boingmgr doesn't upgrade the application?!?!? I will download the apps you mention and read up on the instructions.txt Per your request, here are the first lines from my event log... Wed 16 Nov 2011 04:02:36 PM EST | | Starting BOINC client version 6.12.34 for x86_64-pc-linux-gnu Wed 16 Nov 2011 04:02:36 PM EST | | log flags: file_xfer, sched_ops, task Wed 16 Nov 2011 04:02:36 PM EST | | Libraries: libcurl/7.19.7 OpenSSL/0.9.8k zlib/1.2.3.3 libidn/1.15 Wed 16 Nov 2011 04:02:36 PM EST | | Data directory: /home/jon/BOINC Wed 16 Nov 2011 04:02:36 PM EST | | Processor: 4 AuthenticAMD AMD Athlon(tm) II X4 630 Processor [Family 16 Model 5 Stepping 2] Wed 16 Nov 2011 04:02:36 PM EST | | Processor: 512.00 KB cache Wed 16 Nov 2011 04:02:36 PM EST | | 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 nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf Wed 16 Nov 2011 04:02:36 PM EST | | OS: Linux: 2.6.32-35-generic Wed 16 Nov 2011 04:02:36 PM EST | | Memory: 3.87 GB physical, 9.48 GB virtual Wed 16 Nov 2011 04:02:36 PM EST | | Disk: 219.90 GB total, 189.75 GB free Wed 16 Nov 2011 04:02:36 PM EST | | Local time is UTC -5 hours Wed 16 Nov 2011 04:02:36 PM EST | | NVIDIA GPU 0: GeForce GT 520 (driver version unknown, CUDA version 4010, compute capability 2.1, 1023MB, 104 GFLOPS peak) Wed 16 Nov 2011 04:02:36 PM EST | | No general preferences found - using BOINC defaults Wed 16 Nov 2011 04:02:36 PM EST | | Preferences: Wed 16 Nov 2011 04:02:36 PM EST | | max memory usage when active: 1981.49MB Wed 16 Nov 2011 04:02:36 PM EST | | max memory usage when idle: 3566.68MB Wed 16 Nov 2011 04:02:36 PM EST | | max disk usage: 10.00GB Wed 16 Nov 2011 04:02:36 PM EST | | don't use GPU while active Wed 16 Nov 2011 04:02:36 PM EST | | suspend work if non-BOINC CPU load exceeds 25 % Wed 16 Nov 2011 04:02:36 PM EST | | (to change preferences, visit the web site of an attached project, or select Preferences in the Manager) Wed 16 Nov 2011 04:02:36 PM EST | | Not using a proxy Wed 16 Nov 2011 04:02:36 PM EST | | This computer is not attached to any projects Wed 16 Nov 2011 04:02:36 PM EST | | Visit http://boinc.berkeley.edu for instructions Wed 16 Nov 2011 04:03:03 PM EST | | Fetching configuration file from http://setiathome.berkeley.edu/get_project_config.php Wed 16 Nov 2011 04:03:25 PM EST | | Running CPU benchmarks Wed 16 Nov 2011 04:03:25 PM EST | | Suspending computation - CPU benchmarks in progress Wed 16 Nov 2011 04:03:56 PM EST | | Benchmark results: Wed 16 Nov 2011 04:03:56 PM EST | | Number of CPUs: 4 Wed 16 Nov 2011 04:03:56 PM EST | | 2129 floating point MIPS (Whetstone) per CPU Wed 16 Nov 2011 04:03:56 PM EST | | 13170 integer MIPS (Dhrystone) per CPU Wed 16 Nov 2011 04:03:56 PM EST | | Resuming computation Regards, Jon |
BilBg Send message Joined: 27 May 07 Posts: 3720 Credit: 9,385,827 RAC: 0 |
Place (copy) the files in: /home/jon/BOINC/projects/setiathome.berkeley.edu (all the apps from the 2 "Files to Install" directories and 1 app_info.xml file you made by yourself as described earlier) Since you now have "SETI@home Enhanced v5.28" tasks you will lose those tasks because the app_info.xml from the .zip files have no entry for v5.28 <app_version> <app_name>setiathome_enhanced</app_name> <version_num>603</version_num> New tasks marked SETI@home Enhanced 6.03 will be downloaded Is it just me, or is this a little confusing? I.e. upgrading the Boingmgr doesn't upgrade the application?!?!? Since you are (were) using already app_info.xml BOINC will not upgrade the applications. (I see you did detach (remove) of SETI project then attach again so now you don't have app_info.xml) Using app_info.xml means that you tell BOINC: "I know what I am doing, I will supply the apps as described in app_info.xml, obey my orders" And as already said: SETI have no standard app for CUDA on Linux so without app_info.xml BOINC can't use your GPU for SETI Â - ALF - "Find out what you don't do well ..... then don't do it!" :) Â |
BilBg Send message Joined: 27 May 07 Posts: 3720 Credit: 9,385,827 RAC: 0 |
[Subscribe] to this thread: Optimized Applications and Other Binaries http://setiathome.berkeley.edu/forum_thread.php?id=53611 If new Optimized Applications are released you will see in your ACCOUNT notification for "new posts in thread ..." with link to read it. Check (go to your ACCOUNT) at least every month to be informed if/when you need to change/upgrade the apps ("soon" SETI will release the "v7" app) Â - ALF - "Find out what you don't do well ..... then don't do it!" :) Â |
BilBg Send message Joined: 27 May 07 Posts: 3720 Credit: 9,385,827 RAC: 0 |
Do you want me to make the combined app_info.xml file? I can even make it "the special way ;)" so you will NOT lose the "SETI@home Enhanced v5.28" tasks you have now. Â - ALF - "Find out what you don't do well ..... then don't do it!" :) Â |
Jon Rook Send message Joined: 9 Jan 02 Posts: 34 Credit: 6,679,310 RAC: 0 |
No, but thank you. I'm about to make the change. Hope all goes well. Jon |
BilBg Send message Joined: 27 May 07 Posts: 3720 Credit: 9,385,827 RAC: 0 |
;) Despite you can make it yourself and don't need help I had some time now to prepare the combined app_info.xml file for you. I added section for SETI@home Enhanced v5.28 so the existing tasks will be computed with the new app. The new tasks will be marked SETI@home Enhanced 6.03 As you can see you can use empty lines for easy human reading: <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>603</version_num> <file_ref> <file_name>AK_V8_linux64_sse3</file_name> <main_program/> </file_ref> </app_version> <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> <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>setiathome_enhanced</name> </app> <file_info> <name>setiathome-6.11.x86_64-pc-linux-gnu__cuda32</name> <executable/> </file_info> <app_version> <app_name>setiathome_enhanced</app_name> <version_num>611</version_num> <plan_class>cuda_fermi</plan_class> <avg_ncpus>0.20</avg_ncpus> <max_ncpus>1.0</max_ncpus> <coproc> <type>CUDA</type> <count>1.0</count> </coproc> <file_ref> <file_name>setiathome-6.11.x86_64-pc-linux-gnu__cuda32</file_name> <main_program/> </file_ref> </app_version> </app_info> Â - ALF - "Find out what you don't do well ..... then don't do it!" :) Â |
Jon Rook Send message Joined: 9 Jan 02 Posts: 34 Credit: 6,679,310 RAC: 0 |
BilBg, Thank you very much for your help!!!!!!!! I think I have it working now although I ended up having to completely remove and reinstall s@h (twice, not really sure what I did wrong). Right now, all I am processing is 1 CUDA task and no CPU tasks. I believe I read somewhere that if you were running CUDA with s@h, that you could NOT also process CPU tasks. Is this correct? Even with the optimized apps? Given that I had to completely uninstall/delete as mentioned above, I don't think I will need the app_info.xml that you created for me. Thank you for taking your time to prepare that. I just noticed in looking at my tasks that I had a computation error on an astropulse task. Do you think this is anything to be concerned about with regards to my setup? Again, thank you so much for your help over the past several days:) Jon |
arkayn Send message Joined: 14 May 99 Posts: 4438 Credit: 55,006,323 RAC: 0 |
BilBg, Nope, you can process both at the same time. My system is doing 6 at a time currently. 4 on the CPU's and 2 on GPU. Along with 1 Milkyway unit on the HD5830. |
BilBg Send message Joined: 27 May 07 Posts: 3720 Credit: 9,385,827 RAC: 0 |
Right now, all I am processing is 1 CUDA task and no CPU tasks. I believe I read somewhere that if you were running CUDA with s@h, that you could NOT also process CPU tasks. Is this correct? Even with the optimized apps? Of course you can process both on CPU (4 tasks) & GPU (1 task by default) at the same time. (GPU section can be changed to run 2 CUDA tasks if your GPU is not fully utilized and you want more GPU load) You may need just to wait for CPU tasks (6.03) to be downloaded. Post your app_info.xml contents if you wish it to be checked for errors. One GPU task uses only ~20% of one CPU core (and maybe even less). 20% to 100% of one CPU core are reserved by BOINC by these instructions: <plan_class>cuda_fermi</plan_class> <avg_ncpus>0.20</avg_ncpus> <max_ncpus>1.0</max_ncpus> Your Astropulse task error: http://setiathome.berkeley.edu/result.php?resultid=2160778795 core_client_version>6.12.34</core_client_version> <![CDATA[ <message> process exited with code 22 (0x16, -234) </message> <stderr_txt> execv: No such file or directory </stderr_txt> I don't know what this means. Did you copy these files from "Files to Install" to /home/jon/BOINC/projects/setiathome.berkeley.edu AK_V8_linux64_sse3 ap_5.06r411_sse3_linux64 .DS_Store (Really I don't know what .DS_Store is. It is Hidden/System file - maybe some leftover from Windows ) Â - ALF - "Find out what you don't do well ..... then don't do it!" :) Â |
Jon Rook Send message Joined: 9 Jan 02 Posts: 34 Credit: 6,679,310 RAC: 0 |
Update. It seems as though I am downloading both CUDA and CPU tasks. All of the CPU tasks seem to fail with computation errors. The GPU seems to be crunching fine. This processor and motherboard have been running CPU tasks for about 15 months and I don't recall ever seeing such an error. No changes have been made to the system (i.e. memory, clocking, BIOS, etc.) Jon |
Jon Rook Send message Joined: 9 Jan 02 Posts: 34 Credit: 6,679,310 RAC: 0 |
Here 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>603</version_num> <file_ref> <file_name>AK_V8_linux64_sse3</file_name> <main_program/> </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>setiathome_enhanced</name> </app> <file_info> <name>setiathome-6.11.x86_64-pc-linux-gnu__cuda32</name> <executable/> </file_info> <app_version> <app_name>setiathome_enhanced</app_name> <version_num>611</version_num> <plan_class>cuda_fermi</plan_class> <avg_ncpus>0.20</avg_ncpus> <max_ncpus>1.0</max_ncpus> <coproc> <type>CUDA</type> <count>1.0</count> </coproc> <file_ref> <file_name>setiathome-6.11.x86_64-pc-linux-gnu__cuda32</file_name> <main_program/> </file_ref> </app_version> </app_info> |
©2024 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.