Message boards : Theory Application : New version with app_config.xml
Message board moderation

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
Profile Laurence
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 12 Sep 14
Posts: 1067
Credit: 334,882
RAC: 2
Message 3049 - Posted: 27 Apr 2016, 13:10:15 UTC

A new version of the Theory app (v0.3) has been released that provides a default app_config.xml as suggested in the following post.

http://lhcathomedev.cern.ch/vLHCathome-dev/forum_thread.php?id=192&postid=2841

The aim is that newbie users who first join the project don't get swamped by tasks and then leave the project as it froze their machine. Advanced users who would like to run more tasks can then modify this file as they choose.

I have just tried this on my machine by re-adding the project and ended up with only one running task as desired.
ID: 3049 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Crystal Pellet
Volunteer tester

Send message
Joined: 13 Feb 15
Posts: 1188
Credit: 854,702
RAC: 10
Message 3052 - Posted: 27 Apr 2016, 14:49:39 UTC
Last modified: 27 Apr 2016, 14:52:09 UTC

Hi Laurence,

It's not working properly for users already having an app_config.xml and maybe also not for an xml adjusted file afterwards.
At least my requested Theory task ended into computation error.

vLHCathome-dev 27 Apr 16:44:07 Requesting new tasks for CPU
vLHCathome-dev 27 Apr 16:44:08 Scheduler request completed: got 1 new tasks
vLHCathome-dev 27 Apr 16:44:10 File app_config.xml exists already, skipping download
vLHCathome-dev 27 Apr 16:44:10 [error] Signature verification failed for app_config.xml
vLHCathome-dev 27 Apr 16:44:10 [error] Checksum or signature error for app_config.xml


Result: http://lhcathomedev.cern.ch/vLHCathome-dev/result.php?resultid=161712

Maybe you could arrange, that the app_config.xml don't need a signature.
ID: 3052 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Laurence
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 12 Sep 14
Posts: 1067
Credit: 334,882
RAC: 2
Message 3054 - Posted: 27 Apr 2016, 15:09:38 UTC - in response to Message 3052.  

What about if you clean the project and modify the file after it has downloaded? This would only affect the existing dev users here who added one themselves.
ID: 3054 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Crystal Pellet
Volunteer tester

Send message
Joined: 13 Feb 15
Posts: 1188
Credit: 854,702
RAC: 10
Message 3057 - Posted: 27 Apr 2016, 16:09:53 UTC - in response to Message 3054.  

I removed my own app_config.xml and rerequested a task.
I got your version and the task started.
I changed in the newly app_config.xml the version limit to 2 for Theory and also added <fraction_done_exact/> for each app.
Reread the config files and asked a 2nd task.
That went fine, but sometimes the client will verify the signature and/or the filesize and we'll have the same problem again.
ID: 3057 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Ray Murray
Avatar

Send message
Joined: 13 Apr 15
Posts: 138
Credit: 2,952,515
RAC: 456
Message 3058 - Posted: 27 Apr 2016, 16:10:18 UTC

The new app_config overwrote the one I had but I just edited it to suit my own setup (max 3 -devs running, max 2 of each flavour app) then got Boinc to "Read config files" for it to take effect. No damage to already running tasks.
ID: 3058 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Rasputin42
Volunteer tester

Send message
Joined: 16 Aug 15
Posts: 966
Credit: 1,211,816
RAC: 0
Message 3059 - Posted: 27 Apr 2016, 16:20:32 UTC - in response to Message 3058.  

Same here.
ID: 3059 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Laurence
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 12 Sep 14
Posts: 1067
Credit: 334,882
RAC: 2
Message 3063 - Posted: 27 Apr 2016, 21:07:25 UTC - in response to Message 3057.  

I can create a new version of the Theory app with the same content and see if you have any difficulties getting the new version.
ID: 3063 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Rasputin42
Volunteer tester

Send message
Joined: 16 Aug 15
Posts: 966
Credit: 1,211,816
RAC: 0
Message 3064 - Posted: 27 Apr 2016, 21:31:30 UTC
Last modified: 27 Apr 2016, 21:59:37 UTC

I had a perfecly working app_config file.
Now, it constantly gets overwritten by the project.EDIT:(when boinc starts)
It would have been a much better approach, to post it in the message boards.

I belive everybody here had one already.
ID: 3064 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Laurence
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 12 Sep 14
Posts: 1067
Credit: 334,882
RAC: 2
Message 3066 - Posted: 28 Apr 2016, 13:16:30 UTC - in response to Message 3064.  

Have just released a new version (v0.4) that has the same content as v0.3. For those of you that modified the config file after getting v0.3, let see if the breaks.
ID: 3066 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Crystal Pellet
Volunteer tester

Send message
Joined: 13 Feb 15
Posts: 1188
Credit: 854,702
RAC: 10
Message 3067 - Posted: 28 Apr 2016, 14:02:49 UTC

I asked and got a new task.
I didn't receive a new app_config.xml, so my modified version is still active.
Although I didn't restart BOINC since 26-Apr-2016 07:14:08 CEST.
ID: 3067 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Laurence
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 12 Sep 14
Posts: 1067
Credit: 334,882
RAC: 2
Message 3068 - Posted: 28 Apr 2016, 14:12:11 UTC - in response to Message 3067.  

Do you see any reason why this approach may break something?
ID: 3068 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
rbpeake

Send message
Joined: 15 Apr 15
Posts: 38
Credit: 227,251
RAC: 0
Message 3070 - Posted: 28 Apr 2016, 14:52:56 UTC

As this gets sorted out it should be made easily clear on a post for the final version the name of the file to be modified, its location in the BOINC file directory, and directions for what part of the file to change. Users who may not be very technically adept may nonetheless know how many units they can run on their machine based on the amount of RAM they have.

Thanks!
ID: 3070 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Laurence
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 12 Sep 14
Posts: 1067
Credit: 334,882
RAC: 2
Message 3071 - Posted: 28 Apr 2016, 15:30:27 UTC - in response to Message 3070.  

Sure. There should be a prominent entry in the FAQs.

http://lhcathome.web.cern.ch/faq

In terms of priority, it is more important that we don't lock up new volunteer's machines by swamping them with tasks than trying to maximize then number of tasks we can run by default.

We hope that those volunteers with powerful machines and who would like to donate more can follow the FAQ.

If any of you can think of a better way to do this please let us know. Later tonight I will create a new version of the CMS app that also has this file to see if it breaks anything.
ID: 3071 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
rbpeake

Send message
Joined: 15 Apr 15
Posts: 38
Credit: 227,251
RAC: 0
Message 3072 - Posted: 28 Apr 2016, 16:09:35 UTC - in response to Message 3071.  

Sure. There should be a prominent entry in the FAQs.

http://lhcathome.web.cern.ch/faq

In terms of priority, it is more important that we don't lock up new volunteer's machines by swamping them with tasks than trying to maximize then number of tasks we can run by default.

We hope that those volunteers with powerful machines and who would like to donate more can follow the FAQ.

If any of you can think of a better way to do this please let us know. Later tonight I will create a new version of the CMS app that also has this file to see if it breaks anything.


Sounds like a good plan. Agree to not swamping new volunteer's machines! People will probably also ask in the forum and then can be guided to the FAQ.

Thanks!
ID: 3072 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Laurence
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 12 Sep 14
Posts: 1067
Credit: 334,882
RAC: 2
Message 3073 - Posted: 28 Apr 2016, 16:47:37 UTC - in response to Message 3072.  

ok, a new version (v47.02) of the CMS app has been added. The only difference is the addition of the app_config.xml file. Let me know if you have modified the file and fail to get new CMS tasks. If so move the file out of the way, get a new task and move it back.
ID: 3073 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Rasputin42
Volunteer tester

Send message
Joined: 16 Aug 15
Posts: 966
Credit: 1,211,816
RAC: 0
Message 3074 - Posted: 28 Apr 2016, 17:01:56 UTC

ok, a new version (v47.02) of the CMS app has been added. The only difference is the addition of the app_config.xml file. Let me know if you have modified the file and fail to get new CMS tasks. If so move the file out of the way, get a new task and move it back.


Wrong thread?
ID: 3074 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Crystal Pellet
Volunteer tester

Send message
Joined: 13 Feb 15
Posts: 1188
Credit: 854,702
RAC: 10
Message 3076 - Posted: 28 Apr 2016, 17:32:48 UTC - in response to Message 3068.  

Do you see any reason why this approach may break something?

Yes, cause from BOINC client configuration (cc_config.xml in BOINC Data-directory):

<dont_check_file_sizes>0|1</dont_check_file_sizes>
Normally, the size of application and input files are compared with the project-supplied values after the files are downloaded and just before starting an application.
If this flag is set, this check is skipped. Use it if you need to modify files locally for some reason.


I restarted BOINC and had no problems with my modified and extended app_config.xml. Project size 411 bytes, my size 594 bytes.
But I already had the flag <dont_check_file_sizes> set to true (1) in my cc_config.xml.

My app_config.xml at the moment:

<app_config>
<project_max_concurrent>3</project_max_concurrent>
<app>
<name>ALICE</name>
<max_concurrent>1</max_concurrent>
<fraction_done_exact/>
</app>
<app>
<name>ATLAS</name>
<max_concurrent>1</max_concurrent>
<fraction_done_exact/>
</app>
<app>
<name>CMS</name>
<max_concurrent>1</max_concurrent>
<fraction_done_exact/>
</app>
<app>
<name>LHCb</name>
<max_concurrent>1</max_concurrent>
<fraction_done_exact/>
</app>
<app>
<name>Theory</name>
<max_concurrent>3</max_concurrent>
<fraction_done_exact/>
</app>
</app_config>
ID: 3076 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Rasputin42
Volunteer tester

Send message
Joined: 16 Aug 15
Posts: 966
Credit: 1,211,816
RAC: 0
Message 3077 - Posted: 28 Apr 2016, 17:44:11 UTC
Last modified: 28 Apr 2016, 17:44:24 UTC

<dont_check_file_sizes>0|1</dont_check_file_sizes>


Very usful hint!
Thanks CP.
ID: 3077 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Laurence
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 12 Sep 14
Posts: 1067
Credit: 334,882
RAC: 2
Message 3079 - Posted: 28 Apr 2016, 17:46:59 UTC - in response to Message 3074.  


Wrong thread?


No, we are discussing the app_config.xml. The CMS version was just to test.
ID: 3079 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Ray Murray
Avatar

Send message
Joined: 13 Apr 15
Posts: 138
Credit: 2,952,515
RAC: 456
Message 3080 - Posted: 28 Apr 2016, 18:41:44 UTC

I Aborted a few Theory0.03s and CMS47.01s to make way for the new ..4s and ..2s.
My modified app_config didn't get overwritten and it didn't appear to even try to download a new one. I thought there might have been a Boinc message saying that an app_config already exists so it wasn't going download another one (or words to that effect) as it did yesterday,
27/04/2016 16:57:55 | vLHCathome-dev | Started download of app_config.xml
27/04/2016 16:57:56 | vLHCathome-dev | Finished download of app_config.xml
There was no such message so I'm not sure if it tried in the background and didn't report it, or didn't try?
ID: 3080 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
1 · 2 · Next

Message boards : Theory Application : New version with app_config.xml


©2024 CERN