Welcome to MilkyWay@home

Disable single core n-Body with app_config.xml?


Advanced search

Message boards : Number crunching : Disable single core n-Body with app_config.xml?
Message board moderation

To post messages, you must log in.

AuthorMessage
Link
Avatar

Send message
Joined: 19 Jul 10
Posts: 356
Credit: 16,317,754
RAC: 2
10 million credit badge8 year member badge
Message 67972 - Posted: 29 Dec 2018, 13:46:48 UTC

Since the project does not offer the possibility to choose which type of n-Body application we want to run, I was thinking about how this can be done. The only way I found here in the forums was using app-info.xml (anonymous platform), which works great, however that means no automatic updates of the application.

Now I looked at the Project-level configuration and wondered if that could be used. Something like setting <avg_ncpus> for the single core application above whats actually there. Has anybody tried that? Other ideas?
.
ID: 67972 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Link
Avatar

Send message
Joined: 19 Jul 10
Posts: 356
Credit: 16,317,754
RAC: 2
10 million credit badge8 year member badge
Message 67973 - Posted: 30 Dec 2018, 12:10:40 UTC
Last modified: 30 Dec 2018, 12:26:59 UTC

While I'm waiting for the computer to finish all cached tasks, ist that something that is worth trying on a 4 core CPU?

<app_config>
<app>
<name>milkyway_nbody</name>
<max_concurrent>1</max_concurrent>
</app>
<app_version>
<app_name>milkyway_nbody</app_name>
<avg_ncpus>8.000000</avg_ncpus>
</app_version>
<app_version>
<app_name>milkyway_nbody</app_name>
<plan_class>mt</plan_class>
<avg_ncpus>4.000000</avg_ncpus>
<cmdline>--nthreads 4</cmdline>
</app_version>
</app_config>

What's the plan_class of the single thread application?
And do I need the <cmdline> tag at all if I want to use all cores?
.
ID: 67973 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Jim1348

Send message
Joined: 9 Jul 17
Posts: 54
Credit: 5,959,323
RAC: 17,800
5 million credit badge1 year member badge
Message 67976 - Posted: 2 Jan 2019, 18:53:28 UTC - in response to Message 67972.  

Since the project does not offer the possibility to choose which type of n-Body application we want to run, I was thinking about how this can be done.

Thanks for looking into this. I think it is very strange that they would send both multi-core and single core. That makes it very difficult to run. I think it is a good project, but wonder about how they are doing it.

I think I will choose another project until they can figure out how they want to run this one.
ID: 67976 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Link
Avatar

Send message
Joined: 19 Jul 10
Posts: 356
Credit: 16,317,754
RAC: 2
10 million credit badge8 year member badge
Message 67977 - Posted: 3 Jan 2019, 12:55:07 UTC - in response to Message 67976.  

I will post the result when I know if it works or not. After removing app_info.xml I first had to get some single core tasks before BOINC will accept anything about that in the app_config.xml. So now I have to complete them, than change the avg_ncpus value to 8, and than we will see what the server thinks about that. The BOINC client doesn't really care about it, it runs the tasks anyway, even if I don't allow it to use that many CPU cores in preferences.
.
ID: 67977 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Link
Avatar

Send message
Joined: 19 Jul 10
Posts: 356
Credit: 16,317,754
RAC: 2
10 million credit badge8 year member badge
Message 67983 - Posted: 4 Jan 2019, 11:43:33 UTC

OK, so this isn't working at all, the firts thing I got were two single core tasks. Apparenty the server thought it is a great idea to send tasks to my computer, which will use 4x more CPUs than BOINC is allowed to use...

Back to app_info.xml I guess...

There really schould be some <disable_app_version> tag in the app_config.xml file.
.
ID: 67983 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Number crunching : Disable single core n-Body with app_config.xml?

©2019 Astroinformatics Group