Questions and Answers : Preferences : multiple CPUs per app?
Message board moderation
Author | Message |
---|---|
Send message Joined: 31 Oct 17 Posts: 2 Credit: 493,182 RAC: 1,606 |
Hi, I would like to know if it is possible to have CPDN apps use more than one CPU. My CPDN project folder doesn't contain an app_config.xml (as does, e.g., milkyway or cosmology). Some questions: 1) is it possible to create an app_config.xml for CPDN and have the project use it, in particular to assign more than one CPU to an app? 2) if so, is there any idea how much faster an app would be with, say, 2 CPUs instead of 1? I know it won't be twice as fast, but it might be, say, half-again faster. 2) if the above is possible, what are the correct app names to use in the file? For example, from my milkyway app_config.xml: <app_version> <app_name>milkyway_nbody</app_name> <plan_class>mt</plan_class> <avg_ncpus>2</avg_ncpus> </app_version> Thanks. Doug |
Send message Joined: 5 Sep 04 Posts: 7629 Credit: 24,240,330 RAC: 0 |
No, it's not possible. |
Send message Joined: 15 May 09 Posts: 4540 Credit: 19,039,635 RAC: 18,944 |
No, it's not possible. This question has been asked numerous times over the years. As I understand it, the reason that the use of multiple CPU's hasn't been pursued is that in the climate models, each computation is dependent on the value produced by the previous one. This may not completely preclude some gains by using multiple cores but would almost certainly make any gains insignificant to the processing power lost by not having all cores crunching different tasks. |
©2024 cpdn.org