Message boards :
Number crunching :
How to run nBody WU's only?
Message board moderation
Author | Message |
---|---|
Send message Joined: 12 Aug 09 Posts: 262 Credit: 92,631,041 RAC: 0 ![]() ![]() |
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 |
Send message Joined: 8 May 10 Posts: 576 Credit: 15,979,383 RAC: 0 ![]() ![]() |
Right now you can do this by using app_info.xml and not including the separation application. |
Send message Joined: 12 Aug 09 Posts: 262 Credit: 92,631,041 RAC: 0 ![]() ![]() |
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 |
Send message Joined: 8 Feb 08 Posts: 261 Credit: 104,050,322 RAC: 0 ![]() ![]() |
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> |
Send message Joined: 12 Aug 09 Posts: 262 Credit: 92,631,041 RAC: 0 ![]() ![]() |
Thanks Len, I will start testing with this. Greetings from, TJ |
Send message Joined: 12 Aug 09 Posts: 262 Credit: 92,631,041 RAC: 0 ![]() ![]() |
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 |
![]() Send message Joined: 30 Dec 07 Posts: 311 Credit: 149,490,184 RAC: 0 ![]() ![]() |
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 |
Send message Joined: 8 Feb 08 Posts: 261 Credit: 104,050,322 RAC: 0 ![]() ![]() |
I have only 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. |
©2025 Astroinformatics Group