How do I run optimized apps plus CUDA?

Message boards : Number crunching : How do I run optimized apps plus CUDA?
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Martin P.

Send message
Joined: 19 May 99
Posts: 294
Credit: 27,230,961
RAC: 2
Austria
Message 887293 - Posted: 22 Apr 2009, 15:11:41 UTC

How can I run both optimized apps and CUDA? My app_info.xml reads like this:

<app_info>
<app>
  <name>setiathome_enhanced</name> 
  </app>
<file_info>
  <name>AK_v8_win_SSE41.exe</name> 
  <executable /> 
  </file_info>
<app_version>
  <app_name>setiathome_enhanced</app_name> 
  <version_num>528</version_num> 
<file_ref>
  <file_name>AK_v8_win_SSE41.exe</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_win_SSE41.exe</file_name> 
  <main_program /> 
  </file_ref>
  </app_version>
<app>
  <name>astropulse</name> 
  </app>
<file_info>
  <name>ap_5.00r103_SSE3.exe</name> 
  <executable /> 
  </file_info>
<app_version>
  <app_name>astropulse</app_name> 
  <version_num>500</version_num> 
<file_ref>
  <file_name>ap_5.00r103_SSE3.exe</file_name> 
  <main_program /> 
  </file_ref>
  </app_version>
<app>
  <name>astropulse_v5</name> 
  </app>
<file_info>
  <name>ap_5.03r112_SSE3.exe</name> 
  <executable /> 
  </file_info>
<app_version>
  <app_name>astropulse_v5</app_name> 
  <version_num>503</version_num> 
<file_ref>
  <file_name>ap_5.03r112_SSE3.exe</file_name> 
  <main_program /> 
  </file_ref>
  </app_version>
  </app_info>


The AK_v8 and Astropulse apps run perfectly.

Thanks
ID: 887293 · Report as offensive
Profile skildude
Avatar

Send message
Joined: 4 Oct 00
Posts: 9541
Credit: 50,759,529
RAC: 60
Yemen
Message 887297 - Posted: 22 Apr 2009, 15:35:47 UTC

you might want to get raistmers CUDA app v.10


In a rich man's house there is no place to spit but his face.
Diogenes Of Sinope
ID: 887297 · Report as offensive
Profile Martin P.

Send message
Joined: 19 May 99
Posts: 294
Credit: 27,230,961
RAC: 2
Austria
Message 887302 - Posted: 22 Apr 2009, 15:45:22 UTC - in response to Message 887297.  

skildude,

thanks for the information! Where can I get it and does it also contain the correct app_info.xml?

ID: 887302 · Report as offensive
Profile skildude
Avatar

Send message
Joined: 4 Oct 00
Posts: 9541
Credit: 50,759,529
RAC: 60
Yemen
Message 887307 - Posted: 22 Apr 2009, 15:53:49 UTC
Last modified: 22 Apr 2009, 15:54:17 UTC

You can find it Here. Just remember to read to install the app that will work on your PC. Also read the thread about v10 to make sure you want to do this


In a rich man's house there is no place to spit but his face.
Diogenes Of Sinope
ID: 887307 · Report as offensive
Claggy
Volunteer tester

Send message
Joined: 5 Jul 99
Posts: 4654
Credit: 47,537,079
RAC: 4
United Kingdom
Message 887346 - Posted: 22 Apr 2009, 17:48:22 UTC - in response to Message 887302.  

skildude,

thanks for the information! Where can I get it and does it also contain the correct app_info.xml?


Since you're running Boinc 6.6.20, this is where you can get a properly formated app_info:

app_info for AP500, AP503, MB603 and MB608

Since Boinc 6.6.20 handles scheduling of the apps so much better than Boinc 6.4.5, you no longer need to run the Cuda V10/V11 apps in a team configuration,
and the V10/V11 apps can be run standalone, there are about 6 or 7 links spread through this thread for different versions (VLAR-killers, Non VLAR-killer, Affinity Locked, etc):

Topic: V10/11 of modified SETI MB CUDA + opt AP package for full multi-GPU+CPU use

Claggy
ID: 887346 · Report as offensive
Profile skildude
Avatar

Send message
Joined: 4 Oct 00
Posts: 9541
Credit: 50,759,529
RAC: 60
Yemen
Message 887364 - Posted: 22 Apr 2009, 18:50:55 UTC - in response to Message 887346.  

the problem, as has been told to me recently, is that the standard cuda app doe not kill VLAR WU's so you end up having VLAR WU's hanging on your GPU


In a rich man's house there is no place to spit but his face.
Diogenes Of Sinope
ID: 887364 · Report as offensive
Profile Neil Blaikie
Volunteer tester
Avatar

Send message
Joined: 17 May 99
Posts: 143
Credit: 6,652,341
RAC: 0
Canada
Message 887664 - Posted: 23 Apr 2009, 17:59:37 UTC
Last modified: 23 Apr 2009, 18:00:36 UTC

I have both optimized MB and CUDA, for some reason I am only doing work on CUDA and not using the optimized MB's anymore.

I have a CORE 2 DUO and a CUDA enabled card, cc_config is set to 3 (2 processors plus Cuda), I will include my app_info as well in case there is anything there.

<app_info>
<app>
<name>astropulse</name>
</app>
<file_info>
<name>ap_5.00r103_SSE3.exe</name>
<executable/>
</file_info>
<app_version>
<app_name>astropulse</app_name>
<version_num>500</version_num>
<flops>4643141391</flops>
<file_ref>
<file_name>ap_5.00r103_SSE3.exe</file_name>
<main_program/>
</file_ref>
</app_version>
<app>
<name>astropulse_v5</name>
</app>
<file_info>
<name>ap_5.03r112_SSE3.exe</name>
<executable/>
</file_info>
<app_version>
<app_name>astropulse_v5</app_name>
<version_num>503</version_num>
<flops>4663777574.96</flops>
<file_ref>
<file_name>ap_5.03r112_SSE3.exe</file_name>
<main_program/>
</file_ref>
</app_version>
<app>
<name>setiathome_enhanced</name>
</app>
<file_info>
<name>MB_6.08_mod_CUDA_V11_VLARKill_refined.exe</name>
<executable/>
</file_info>
<file_info>
<name>AK_v8_win_SSSE3x.exe</name>
<executable/>
</file_info>
<file_info>
<name>cudart.dll</name>
<executable/>
</file_info>
<file_info>
<name>cufft.dll</name>
<executable/>
</file_info>
<file_info>
<name>libfftw3f-3-1-1a_upx.dll</name>
<executable/>
</file_info>
<app_version>
<app_name>setiathome_enhanced</app_name>
<version_num>603</version_num>
<platform>windows_intelx86</platform>
<flops>3611332193</flops>
<file_ref>
<file_name>AK_v8_win_SSSE3x.exe</file_name>
<main_program/>
</file_ref>
</app_version>
<app_version>
<app_name>setiathome_enhanced</app_name>
<version_num>608</version_num>
<platform>windows_intelx86</platform>
<avg_ncpus>0.127970</avg_ncpus>
<max_ncpus>0.127970</max_ncpus>
<flops>8000000000</flops>
<plan_class>cuda</plan_class>
<file_ref>
<file_name>MB_6.08_mod_CUDA_V11_VLARKill_refined.exe</file_name>
<main_program/>
</file_ref>
<file_ref>
<file_name>cudart.dll</file_name>
</file_ref>
<file_ref>
<file_name>cufft.dll</file_name>
</file_ref>
<file_ref>
<file_name>libfftw3f-3-1-1a_upx.dll</file_name>
</file_ref>
<coproc>
<type>CUDA</type>
<count>1</count>
</coproc>
</app_version>
</app_info>

Preferences are set to be using 100% of CPU and Memory and also
Run only the selected applications:
SETI@home Enhanced: yes
Astropulse: yes
Astropulse v5: yes
If no work for selected applications is available, accept work from other applications? yes
Use Graphics Processing Unit (GPU) if available yes
Use Central Processing Unit (CPU) yes

I can't seem to figure this out and I have 200 tasks that may miss the deadline if they are no done on CPU as well as CUDA. Thanks for any help on this.
ID: 887664 · Report as offensive
Profile skildude
Avatar

Send message
Joined: 4 Oct 00
Posts: 9541
Credit: 50,759,529
RAC: 60
Yemen
Message 887672 - Posted: 23 Apr 2009, 18:25:55 UTC

did you restart boinc after installing the app_info and other files? could your show us the first 20 message lines when you restarted BOINC?


In a rich man's house there is no place to spit but his face.
Diogenes Of Sinope
ID: 887672 · Report as offensive
Profile perryjay
Volunteer tester
Avatar

Send message
Joined: 20 Aug 02
Posts: 3377
Credit: 20,676,751
RAC: 0
United States
Message 887673 - Posted: 23 Apr 2009, 18:30:00 UTC - in response to Message 887664.  

Ok, first off you don't need the cc_config with 6.6.20, it just confuses it. If it isn't doing anything else you can just pull it out completely.

I'm also running a dual core but mine is only a Celeron. I will add my app_info that is working well for me but you will have to change the numbers to fit your machine. I'm also wondering where you got your GFLOPs figure. I also have an 8500GT but with only 512MB. It only has a guestimate of 5GFLOPs. Is yours so much higher that it would work out to that 8Gig figure you used?

<app_info>
<app>
<name>astropulse</name>
</app>
<file_info>
<name>ap_5.00r103_SSE3.exe</name>
<executable/>
</file_info>
<app_version>
<app_name>astropulse</app_name>
<version_num>500</version_num>
<flops>4194755270</flops>
<file_ref>
<file_name>ap_5.00r103_SSE3.exe</file_name>
<main_program/>
</file_ref>
</app_version>
<app>
<name>astropulse_v5</name>
</app>
<file_info>
<name>ap_5.03r112_SSE3.exe</name>
<executable/>
</file_info>
<app_version>
<app_name>astropulse_v5</app_name>
<version_num>503</version_num>
<flops>4847272757</flops>
<file_ref>
<file_name>ap_5.03r112_SSE3.exe</file_name>
<main_program/>
</file_ref>
</app_version>
<app>
<name>setiathome_enhanced</name>
</app>
<file_info>
<name>AK_v8_win_SSSE3x.exe</name>
<executable/>
</file_info>
<file_info>
<name>MB_6.08_MOD_CUDA_V11_VLARKill_refined.exe</name>
<executable/>
</file_info>
<file_info>
<name>cudart.dll</name>
<executable/>
</file_info>
<file_info>
<name>cufft.dll</name>
<executable/>
</file_info>
<file_info>
<name>libfftw3f-3-1-1a_upx.dll</name>
<executable/>
</file_info>
<app_version>
<app_name>setiathome_enhanced</app_name>
<version_num>603</version_num>
<platform>windows_intelx86</platform>
<flops>3269311494</flops>
<file_ref>
<file_name>AK_v8_win_SSSE3x.exe</file_name>
<main_program/>
</file_ref>
</app_version>
<app_version>
<app_name>setiathome_enhanced</app_name>
<version_num>608</version_num>
<platform>windows_intelx86</platform>
<avg_ncpus>0.127970</avg_ncpus>
<max_ncpus>0.127970</max_ncpus>
<flops>1200000000</flops>
<plan_class>cuda</plan_class>
<file_ref>
<file_name>MB_6.08_MOD_CUDA_V11_VLARKill_refined.exe</file_name>
<main_program/>
</file_ref>
<file_ref>
<file_name>cudart.dll</file_name>
</file_ref>
<file_ref>
<file_name>cufft.dll</file_name>
</file_ref>
<file_ref>
<file_name>libfftw3f-3-1-1a_upx.dll</file_name>
</file_ref>
<coproc>
<type>CUDA</type>
<count>1</count>
</coproc>
</app_version>
</app_info>


PROUD MEMBER OF Team Starfire World BOINC
ID: 887673 · Report as offensive
Profile Neil Blaikie
Volunteer tester
Avatar

Send message
Joined: 17 May 99
Posts: 143
Credit: 6,652,341
RAC: 0
Canada
Message 887674 - Posted: 23 Apr 2009, 18:30:56 UTC

4/23/2009 2:30:14 PM Starting BOINC client version 6.6.20 for windows_intelx86
4/23/2009 2:30:14 PM log flags: task, file_xfer, sched_ops
4/23/2009 2:30:14 PM Libraries: libcurl/7.19.4 OpenSSL/0.9.8j zlib/1.2.3
4/23/2009 2:30:14 PM Data directory: C:\Documents and Settings\All Users\Application Data\BOINC
4/23/2009 2:30:14 PM Running under account Neil Blaikie
4/23/2009 2:30:14 PM SETI@home Found app_info.xml; using anonymous platform
4/23/2009 2:30:14 PM Processor: 2 GenuineIntel Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz [x86 Family 6 Model 15 Stepping 6]
4/23/2009 2:30:14 PM Processor features: fpu tsc pae nx sse sse2 mmx
4/23/2009 2:30:14 PM OS: Microsoft Windows XP: Professional x86 Editon, Service Pack 3, (05.01.2600.00)
4/23/2009 2:30:14 PM Memory: 3.25 GB physical, 5.09 GB virtual
4/23/2009 2:30:14 PM Disk: 25.00 GB total, 4.03 GB free
4/23/2009 2:30:14 PM Local time is UTC -4 hours
4/23/2009 2:30:15 PM CUDA device: GeForce 8500 GT (driver version 18250, CUDA version 1.1, 1024MB, est. 5GFLOPS)
4/23/2009 2:30:15 PM Not using a proxy
4/23/2009 2:30:15 PM SETI@home URL: http://setiathome.berkeley.edu/; Computer ID: 4082196; location: home; project prefs: default
4/23/2009 2:30:15 PM SETI@home General prefs: from SETI@home (last modified 22-Apr-2009 23:47:23)
4/23/2009 2:30:15 PM SETI@home Computer location: home
4/23/2009 2:30:15 PM General prefs: using separate prefs for home
4/23/2009 2:30:15 PM Reading preferences override file
4/23/2009 2:30:15 PM Preferences limit memory usage when active to 3326.98MB
4/23/2009 2:30:15 PM Preferences limit memory usage when idle to 3326.98MB
4/23/2009 2:30:15 PM Preferences limit disk usage to 4.07GB
4/23/2009 2:30:15 PM Preferences limit # CPUs to 3
4/23/2009 2:30:15 PM SETI@home Restarting task 20fe09ac.17394.4337.16.8.85_1 using setiathome_enhanced version 608

ID: 887674 · Report as offensive
Profile Neil Blaikie
Volunteer tester
Avatar

Send message
Joined: 17 May 99
Posts: 143
Credit: 6,652,341
RAC: 0
Canada
Message 887686 - Posted: 23 Apr 2009, 18:55:27 UTC - in response to Message 887673.  

I got the gflops count from this thread

app_info for AP500, AP503, MB603 and MB608

My 8500gt is 1gb

ID: 887686 · Report as offensive
Claggy
Volunteer tester

Send message
Joined: 5 Jul 99
Posts: 4654
Credit: 47,537,079
RAC: 4
United Kingdom
Message 887690 - Posted: 23 Apr 2009, 19:20:33 UTC - in response to Message 887664.  
Last modified: 23 Apr 2009, 20:18:03 UTC

Boinc 6.6.20 asks for CPU and GPU work separately, If has 200 GPU WU's it'll only do them on the GPU,
and if you've set Boinc to No New Tasks, (since you haven't had any work since 16 Apr 2009 4:29:37 UTC)
it won't get any more CPU work,
Your GPU is rated at 5 Est.Gflops, which i make as 5,000,000,000 * 0.2 = 1,000,000,000 and not 1,200,000,000 (which probably means you get 20% more cuda work)
You no longer need an <ncpus> entry in a cc_config.xml
If you use this cc_config you will see what type and how much work is requested:

<cc_config>
<log_flags>
<sched_op_debug>1</sched_op_debug>
</log_flags>
<options>
<save_stats_days>365</save_stats_days>
</options>
</cc_config>

Claggy

Edit: and if you have a very large cache, lowering it might be an idea,
you tend to get what you ask for with Boinc 6.6.20
ID: 887690 · Report as offensive
Profile perryjay
Volunteer tester
Avatar

Send message
Joined: 20 Aug 02
Posts: 3377
Credit: 20,676,751
RAC: 0
United States
Message 887703 - Posted: 23 Apr 2009, 20:18:13 UTC - in response to Message 887690.  

Claggy, that is me with the 1,200,000,000. I went up on it because I was having a problem with my DCF. He had 8,000,000,000 for his which is why I asked where he got that number. That number alone could be why he isn't getting any cuda work.


PROUD MEMBER OF Team Starfire World BOINC
ID: 887703 · Report as offensive
Profile Neil Blaikie
Volunteer tester
Avatar

Send message
Joined: 17 May 99
Posts: 143
Credit: 6,652,341
RAC: 0
Canada
Message 887717 - Posted: 23 Apr 2009, 20:49:41 UTC - in response to Message 887703.  

I am getting CUDA work or was until I just trashed all the work units doing a stupid mistake in the app_info.

I backed the true value off a bit for the gflops but as it is only a small amount shouldn't make any difference at all if I am correct.

With trashing so many work units, I am going to be idle on work for at least the next 11 hours until the server allows more. Once I corrected my mistake I got 5 new tasks that I accidentally aborted.

Am not having a very good day so far in SETI terms, have managed to get what I thought was a fried motherboard working though so some good news.
ID: 887717 · Report as offensive
Profile perryjay
Volunteer tester
Avatar

Send message
Joined: 20 Aug 02
Posts: 3377
Credit: 20,676,751
RAC: 0
United States
Message 887722 - Posted: 23 Apr 2009, 21:01:08 UTC - in response to Message 887717.  

Keep an eye on your time to completion guesstimates for both AP and cuda. I went up a bit on my GFLOPs because the cuda WUs were dragging my AP TTC down. Yours is way higher than mine even though I am also guesstimated at 5 GFLOPs. Let us know how you are doing with your higher number, I may change mine to match yours if it works out ok.

(Don't have a heart attack Claggy, I said if!!) :)


PROUD MEMBER OF Team Starfire World BOINC
ID: 887722 · Report as offensive
Claggy
Volunteer tester

Send message
Joined: 5 Jul 99
Posts: 4654
Credit: 47,537,079
RAC: 4
United Kingdom
Message 887729 - Posted: 23 Apr 2009, 21:36:56 UTC - in response to Message 887717.  

You don't want to put a too high a figure in, otherwise WU's might get aborted with maximum time exceeded,
Probably better to lower flops on AP, AP_v5 and MB603.

Claggy
ID: 887729 · Report as offensive

Message boards : Number crunching : How do I run optimized apps plus CUDA?


 
©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.