Message boards : Theory Application : Theory and app_config ?
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Yeti
Volunteer moderator
Avatar

Send message
Joined: 2 Sep 04
Posts: 404
Credit: 88,171,090
RAC: 59,916
Message 36666 - Posted: 8 Sep 2018, 17:08:10 UTC

To fix the problem with my host, I wanted to establish an app_config.xml that tells Theory to use only 1 task.

But so far I'm not succesfull.

1) Does Theory work with app_config ?
2) Can someone provide me with the content of a working app_config for Theory to use only 1 Core ?

I tried this one:
<app_config>
 <project_max_concurrent>1</project_max_concurrent>
 <app>
 <name>ATLAS</name>
   <max_concurrent>1</max_concurrent>
  </app>
<app>
 <name>Theory</name>
   <max_concurrent>1</max_concurrent>
  </app>
<app_version>
    <app_name>ATLAS</app_name>
    <version_num>100</version_num>
    <platform>windows_x86_64</platform>
    <avg_ncpus>1.000000</avg_ncpus>
    <max_ncpus>1.000000</max_ncpus>
    <plan_class>vbox64_mt_mcore_atlas</plan_class>
    <api_version>7.7.0</api_version>
    <cmdline>--memory_size_mb 5000</cmdline>
    <dont_throttle/>
    <is_wrapper/>
    <needs_network/>
</app_version>
<app_version>
    <app_name>Theory</app_name>
    <version_num>26320</version_num>
    <platform>windows_x86_64</platform>
    <avg_ncpus>1.000000</avg_ncpus>
    <max_ncpus>1.000000</max_ncpus>
    <plan_class>vbox64</plan_class>
    <api_version>7.7.0</api_version>
    <dont_throttle/>
    <is_wrapper/>
    <needs_network/>
</app_version>
<app_version>
    <app_name>Theory</app_name>
    <version_num>26370</version_num>
    <platform>windows_x86_64</platform>
    <avg_ncpus>1.000000</avg_ncpus>
    <max_ncpus>1.000000</max_ncpus>
    <plan_class>vbox64</plan_class>
    <api_version>7.7.0</api_version>
    <cmdline>--memory_size_mb 930</cmdline>
    <dont_throttle/>
    <is_wrapper/>
    <needs_network/>
</app_version>
 </app_config>



Supporting BOINC, a great concept !
ID: 36666 · Report as offensive     Reply Quote
captainjack

Send message
Joined: 21 Jun 10
Posts: 25
Credit: 3,036,810
RAC: 4,299
Message 36667 - Posted: 8 Sep 2018, 18:17:33 UTC - in response to Message 36666.  

Hi Yeti,

Try the following app_config.xml

<app_config>
  <app>
    <name>Theory</name>
      <max_concurrent>1</max_concurrent>
  </app>
  <app_version>
    <app_name>Theory</app_name>
    <avg_ncpus>1.0</avg_ncpus>
    <plan_class>vbox64_mt_mcore</plan_class>
    <cmdline>--nthreads 1</cmdline>
  </app_version>
</app_config>


I just put this together and it appears to be working running theory on one thread.

The two main differences are the plan_class and the addition of a cmdline for --nthreads.

Also, in your app_config, there are several parameters that I do not find in the BOINC documentation for client configuration http://boinc.berkeley.edu/wiki/client_configuration.

I do not know how the undocumented parameters in your app_config affect the client configuration, my suggestion is to use the minimum parameters until you find something that works then add parameters.

Also, just in case you didn't know, when you add parameters to an app_config, you can activate the new parameters by clicking on "Options", "Read Config Files" in the BOINC Manager. If you need to remove parameters, it is best to shut down BOINC and start it back up with the new parameters in place.

Hope that helps, let us know how it turns out.
ID: 36667 · Report as offensive     Reply Quote
computezrmle
Avatar

Send message
Joined: 15 Jun 08
Posts: 1176
Credit: 57,223,341
RAC: 76,856
Message 36668 - Posted: 8 Sep 2018, 18:30:21 UTC - in response to Message 36666.  

Theory uses a new plan_class since it changed to multicore.
This snippet would configure the default 1-core setup:
<app_version>
    <app_name>Theory</app_name>
    <plan_class>vbox64_mt_mcore</plan_class>
    <avg_ncpus>1.000000</avg_ncpus>
    <cmdline>--memory_size_mb 730</cmdline>
</app_version>

It's highly recommended to use only 1 section for each app.

Your app_config.xml contains lots of garbage that will be ignored by the BOINC client.
You may check the BOINC documentation to see which parameters are allowed and how they have to be ordered.
http://boinc.berkeley.edu/wiki/client_configuration#Application_configuration
ID: 36668 · Report as offensive     Reply Quote
Profile Yeti
Volunteer moderator
Avatar

Send message
Joined: 2 Sep 04
Posts: 404
Credit: 88,171,090
RAC: 59,916
Message 36669 - Posted: 8 Sep 2018, 18:32:33 UTC

captainjack's app_config did the trick, thanks.

The benefit is, the client seems to do fine as 1-Core


Supporting BOINC, a great concept !
ID: 36669 · Report as offensive     Reply Quote
captainjack

Send message
Joined: 21 Jun 10
Posts: 25
Credit: 3,036,810
RAC: 4,299
Message 36670 - Posted: 8 Sep 2018, 18:54:16 UTC - in response to Message 36669.  

You are welcome, glad you got it working.

One other clue that you might find useful in the future, it there is any doubt about which names to use in the app_config.xml, you can find many of the names for the current version in the client_state_prev.xml file located in the BOINC data folder.

Good luck with your crunching.
ID: 36670 · Report as offensive     Reply Quote

Message boards : Theory Application : Theory and app_config ?


©2019 CERN