Message boards :
Number crunching :
Splitting MT N-body?
Message board moderation
Author | Message |
---|---|
Send message Joined: 9 Apr 14 Posts: 35 Credit: 9,708,616 RAC: 0 |
I was wondering, is there a way to split MT N-Body units so that instead of say, 1 unit taking up all 12 threads, i can have 2 units using 6 threads each? |
Send message Joined: 2 Oct 16 Posts: 167 Credit: 1,008,054,235 RAC: 22,956 |
I was wondering, is there a way to split MT N-Body units so that instead of say, 1 unit taking up all 12 threads, i can have 2 units using 6 threads each? Yes you can use an app config with ncpus option to make it run on however many threads you like. Here is an example from cosmology FAQ. Just have to update the app_name and plan_class. Event log will tell you the correct app name and plan class is in the ( ) of the task, usually something like MT, CUDA, or OpenCL for GPUs. http://www.cosmologyathome.org/faq.php <app_config> <app> <name>camb_boinc2docker</name> <max_concurrent>1</max_concurrent> </app> <app_version> <app_name>camb_boinc2docker</app_name> <plan_class>vbox64_mt</plan_class> <avg_ncpus>2</avg_ncpus> </app_version> </app_config> |
Send message Joined: 9 Apr 14 Posts: 35 Credit: 9,708,616 RAC: 0 |
Cheers! Took a little bit to get it right, but i got it and now hopefully it will help in improving CPU utilization a bit. |
Send message Joined: 2 Oct 16 Posts: 167 Credit: 1,008,054,235 RAC: 22,956 |
Good to here. And holy crap, I copied in the text from the website and didn't notice all of the other junk. Code tags not only do not keep formatting but I guess don't keep text as is like it should. For a future reference here's the correct text from Cosmo FAQ. <app_config> |
Send message Joined: 9 Apr 14 Posts: 35 Credit: 9,708,616 RAC: 0 |
Ha yeah, I probably should have mentioned that your initial copy over from Cosmology@home completely mangled the code. |
©2024 Astroinformatics Group