Welcome to MilkyWay@home

How to run nBody WU's only?

Message boards : Number crunching : How to run nBody WU's only?
Message board moderation

To post messages, you must log in.

AuthorMessage
TJ

Send message
Joined: 12 Aug 09
Posts: 262
Credit: 92,631,041
RAC: 0
Message 51715 - Posted: 18 Nov 2011, 12:41:21 UTC
Last modified: 18 Nov 2011, 12:41:55 UTC

Hello,

I think this is posted before but I could not find it after a 10min search.
I have a rather slow pc and I would like to run nBody only, as these use all the available cores to speed things up.
How can I do that, there is no option at the MilkyWay pages?
Thanks for your help.
Greetings from,
TJ
ID: 51715 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Matt Arsenault
Volunteer moderator
Project developer
Project tester
Project scientist

Send message
Joined: 8 May 10
Posts: 576
Credit: 15,979,383
RAC: 0
Message 51717 - Posted: 18 Nov 2011, 22:05:02 UTC - in response to Message 51715.  

Right now you can do this by using app_info.xml and not including the separation application.
ID: 51717 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
TJ

Send message
Joined: 12 Aug 09
Posts: 262
Credit: 92,631,041
RAC: 0
Message 51724 - Posted: 18 Nov 2011, 23:02:04 UTC - in response to Message 51717.  

Right now you can do this by using app_info.xml and not including the separation application.

Thanks Matt, do you have an example or a link to a post about this?
Greetings from,
TJ
ID: 51724 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Len LE/GE

Send message
Joined: 8 Feb 08
Posts: 261
Credit: 104,050,322
RAC: 0
Message 51727 - Posted: 19 Nov 2011, 1:31:11 UTC

Example of an app_info.xml for a 32bit system using 2 cores.
avg_ncpus and max_ncpus are telling BOINC how many cores the app wants, the cmdline param tell the app how many cores to use.
(Check for the proper file names of the exe and dll files in your mw directory. Don't remember if I used this one when I was running nbody last time, so you will have to test it)

<app_info>
<app><!-- std app for N-Body 0.66 mt 32bit using 2 cores -->
<name>milkyway_nbody</name>
<user_friendly_name>MilkyWay@Home nbody</user_friendly_name>
</app>
<file_info>
<name>milkyway_nbody_0.66_windows_intelx86__mt.exe</name>
<executable/>
</file_info>
<file_info>
<name>libgomp_nbody_0.66.dll</name>
<executable/>
</file_info>
<file_info>
<name>pthreadGC2_nbody_0.66.dll</name>
<executable/>
</file_info>

<app_version>
<app_name>milkyway_nbody</app_name>
<version_num>66</version_num>
<plan_class>mt</plan_class>
<avg_ncpus>2</avg_ncpus>
<max_ncpus>2</max_ncpus>
<cmdline>--nthreads=2</cmdline>
<file_ref>
<file_name>milkyway_nbody_0.66_windows_intelx86__mt.exe</file_name>
<main_program/>
</file_ref>
<file_ref>
<file_name>libgomp_nbody_0.66.dll</file_name>
<open_name>libgomp-1.dll</open_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>pthreadGC2_nbody_0.66.dll</file_name>
<open_name>pthreadGC2.dll</open_name>
</file_ref>
</app_version>

</app_info>

ID: 51727 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
TJ

Send message
Joined: 12 Aug 09
Posts: 262
Credit: 92,631,041
RAC: 0
Message 51732 - Posted: 19 Nov 2011, 16:51:47 UTC

Thanks Len,

I will start testing with this.
Greetings from,
TJ
ID: 51732 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
TJ

Send message
Joined: 12 Aug 09
Posts: 262
Credit: 92,631,041
RAC: 0
Message 51734 - Posted: 20 Nov 2011, 8:52:52 UTC

I tried but I need some more help I think.

I have only
pthreadGC2.dll and
libgomp-1.dll as dll files and
milkyway_nbody_0.40_windows_intelx86__mt
as nBody program in my MilkyWay folder.

This is not the same as Len showed.
I ran a nBody WU on 18 November 2011 for the last time on this pc, so I should have got the lastest from WM,m or do I mis understand?

And where do I need to put this file?

Thanks for your help again.
Greetings from,
TJ
ID: 51734 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile kashi

Send message
Joined: 30 Dec 07
Posts: 311
Credit: 149,490,184
RAC: 0
Message 51738 - Posted: 20 Nov 2011, 16:35:40 UTC - in response to Message 51734.  

You appear to have been using a older version of the application on that computer. If you detach and reattach to MilkyWay the current version and files should download.

You need to put the app_info.xml file in:

Windows 2000/XP: C:\Documents and Settings\All Users\Application Data\BOINC\projects\milkyway.cs.rpi.edu_milkyway

Windows Vista and Windows 7: C:\ProgramData\BOINC\projects\milkyway.cs.rpi.edu_milkyway


ID: 51738 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Len LE/GE

Send message
Joined: 8 Feb 08
Posts: 261
Credit: 104,050,322
RAC: 0
Message 51742 - Posted: 21 Nov 2011, 0:24:21 UTC - in response to Message 51734.  

I have only
pthreadGC2.dll and
libgomp-1.dll as dll files and
milkyway_nbody_0.40_windows_intelx86__mt
as nBody program in my MilkyWay folder.

This is not the same as Len showed.
I ran a nBody WU on 18 November 2011 for the last time on this pc, so I should have got the lastest from WM,m or do I mis understand?

And where do I need to put this file?


Not getting the latest version on your last run on Nov. 18 makes me wonder if you did run that older version with an app_info too. Anyway, detaching and reattaching (like kashi said) should take care of that. And it's easier than to find the proper files in the ftp directory of the mw server.
You found your mw folder with the exe and dll's. The app_info.xml goes in there too.
Depending on Windows version, BOINC version and individual settings the path of that folder can vary.

Let us know if you need more help.
ID: 51742 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Number crunching : How to run nBody WU's only?

©2024 Astroinformatics Group