BOINC not reading app_config.xml files

Message boards : Questions and problems : BOINC not reading app_config.xml files
Message board moderation

To post messages, you must log in.

AuthorMessage
numbermaniac

Send message
Joined: 28 Jun 14
Posts: 32
Australia
Message 55392 - Posted: 14 Aug 2014, 8:12:18 UTC
Last modified: 14 Aug 2014, 8:13:22 UTC

It appears that for some reason BOINC isn't reading the app_config.xml files however it is recognising them.

14/08/2014 6:04:11 PM | PrimeGrid | Found app_config.xml
14/08/2014 6:04:11 PM | SETI@home | Found app_config.xml

My SETI@home app config is configured as follows:
<app_config>
   [<app>
      <name>setiathome_v7</name>
      <max_concurrent>1</max_concurrent>
    </app>]
    [<app>
      <name>setiathome-7.03-opencl_intel_gpu_sah</name>
      <max_concurrent>2</max_concurrent>
	<gpu_versions>
          <gpu_usage>0.5</gpu_usage>
          <cpu_usage>0.1</cpu_usage>
      </gpu_versions>
	</app>]
	[<app>
      <name>setiathome-7.03-opencl_intel_gpu_sah.exe</name>
      <max_concurrent>2</max_concurrent>
	<gpu_versions>
          <gpu_usage>0.5</gpu_usage>
          <cpu_usage>0.1</cpu_usage>
      </gpu_versions>
	</app>]
   [<project_max_concurrent>3</project_max_concurrent>]
</app_config>


...however when I have one SETI@home v7 WU running it's going to fetch 2 more for my idle cores. Even though the project max is 3, I have 3 CPU tasks and 1 GPU task running at the same time for a total of 4. What am I doing wrong here?
ID: 55392 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5082
United Kingdom
Message 55393 - Posted: 14 Aug 2014, 8:32:56 UTC - in response to Message 55392.  
Last modified: 14 Aug 2014, 8:33:38 UTC

You shouldn't have any square [ or ] brackets in there. They are a conventional way of indicating - in the documentation - that some part of the file is optional.

If you don't want to use that element, leave the line(s) out entirely. If you do want to use it, set the value you want, and remove the square brackets.
ID: 55393 · Report as offensive
numbermaniac

Send message
Joined: 28 Jun 14
Posts: 32
Australia
Message 55394 - Posted: 14 Aug 2014, 9:02:29 UTC - in response to Message 55393.  

OH, so that's what it was! I removed the brackets and tweaked things for the Log's complaints and now it's working. Thanks! :)
ID: 55394 · Report as offensive
numbermaniac

Send message
Joined: 28 Jun 14
Posts: 32
Australia
Message 55395 - Posted: 14 Aug 2014, 9:03:25 UTC - in response to Message 55394.  
Last modified: 14 Aug 2014, 9:03:46 UTC

One more question: I have one intel GPU on my computer. How can one task be using 1 intel GPU and another be using 0.5?* I don't have 1.5 or 2 Intel GPUs...?

*EDIT: and running at the same time
ID: 55395 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2540
United Kingdom
Message 55401 - Posted: 14 Aug 2014, 14:17:32 UTC

Are they all running or are they queued?
ID: 55401 · Report as offensive
numbermaniac

Send message
Joined: 28 Jun 14
Posts: 32
Australia
Message 55407 - Posted: 15 Aug 2014, 8:04:48 UTC - in response to Message 55401.  
Last modified: 15 Aug 2014, 8:05:08 UTC

Running at the same time.
ID: 55407 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5082
United Kingdom
Message 55408 - Posted: 15 Aug 2014, 9:24:53 UTC

BOINC is not very good at updating the (displayed, cosmetic) GPU fraction when you add or change app_config.xml - the facility was created in a rough-and-ready way, with the intention of coming back and completing it later, but as always other new ideas are more exciting to work on...

If you see the right number of tasks running, then it's working, and the display will sort itself out eventually - either after a restart, or after more tasks are fetched, I still haven't worked out exactly what the trigger is. But it'll get there, and you don't have to worry in the meantime.
ID: 55408 · Report as offensive
numbermaniac

Send message
Joined: 28 Jun 14
Posts: 32
Australia
Message 55418 - Posted: 15 Aug 2014, 14:20:51 UTC - in response to Message 55408.  
Last modified: 15 Aug 2014, 14:21:09 UTC

what I've seen so far is that the current tasks won't update their numbers, but any new tasks fetched will have the correct numbers. Thanks everyone for the help!
ID: 55418 · Report as offensive
Wei Hao

Send message
Joined: 13 Dec 13
Posts: 21
United States
Message 56665 - Posted: 13 Oct 2014, 16:21:15 UTC - in response to Message 55392.  

Hi numbermaniac,

I am trying to do the same thing with my owner application distributed from my own boinc server.

I tried to insert an app_config.xml file into the /var/lib/boinc-client/project/myproject@ip/

but I found nothing changes.

Which log file are you checking?
Do I need to restart the boinc client to make it read the app_config.xml?

Thanks in advance!

Wei
ID: 56665 · Report as offensive
Claggy

Send message
Joined: 23 Apr 07
Posts: 1112
United Kingdom
Message 56668 - Posted: 13 Oct 2014, 17:51:45 UTC - in response to Message 56665.  

Hi numbermaniac,

I am trying to do the same thing with my owner application distributed from my own boinc server.

I tried to insert an app_config.xml file into the /var/lib/boinc-client/project/myproject@ip/

but I found nothing changes.

Which log file are you checking?
Do I need to restart the boinc client to make it read the app_config.xml?

Thanks in advance!

Wei

Once the app_config.xml is in the project directory, all you need to do is, in Boinc Manager, go Advanced > Read config files.

Claggy
ID: 56668 · Report as offensive
Wei Hao

Send message
Joined: 13 Dec 13
Posts: 21
United States
Message 56671 - Posted: 13 Oct 2014, 18:21:10 UTC - in response to Message 56668.  
Last modified: 13 Oct 2014, 18:21:57 UTC

Thanks for the reply, Claggy

Do you know if I can do it use command line tools? I dont want to use the Boinc manager GUI.

Or if I restart the Boinc client, will it read the config file by default? If not, I need to use the Boinc manager to do it again and again?

Thanks,
ID: 56671 · Report as offensive
Wei Hao

Send message
Joined: 13 Dec 13
Posts: 21
United States
Message 56672 - Posted: 13 Oct 2014, 18:21:28 UTC - in response to Message 56668.  

Thanks for the reply.

Do you know if I can do it use command line tools? I dont want to use the Boinc manager GUI.

Or if I restart the Boinc client, will it read the config file by default? If not, I need to use the Boinc manager to do it again and again?

Thanks,
ID: 56672 · Report as offensive
Claggy

Send message
Joined: 23 Apr 07
Posts: 1112
United Kingdom
Message 56673 - Posted: 13 Oct 2014, 18:52:15 UTC - in response to Message 56671.  
Last modified: 13 Oct 2014, 19:12:13 UTC

Thanks for the reply, Claggy

Do you know if I can do it use command line tools? I dont want to use the Boinc manager GUI.

Or if I restart the Boinc client, will it read the config file by default? If not, I need to use the Boinc manager to do it again and again?

Thanks,

It you restart Boinc it should read it by default,

You can also use command line tools:

http://boinc.berkeley.edu/wiki/Boinccmd_tool

--read_cc_config should read it (as well as the cc_config.xml), But I couldn't get it to work on Boinc 7.4.22 for x64 Windows.. Does work, but seemed to produce an error code, the Event Log does show a re-read:

C:\Program Files\BOINC>boinccmd --read_cc_config
retval 0

13/10/2014 20:08:32 |  | Re-reading cc_config.xml
13/10/2014 20:08:32 |  | Using proxy info from GUI
13/10/2014 20:08:32 |  | Not using a proxy
13/10/2014 20:08:32 |  | Config: GUI RPCs allowed from:
13/10/2014 20:08:32 |  | P5N-E-SLI
13/10/2014 20:08:32 |  | SAMSUNG-R700
13/10/2014 20:08:32 |  | log flags: file_xfer, sched_ops, task, coproc_debug, cpu_sched, sched_op_debug
13/10/2014 20:08:32 | Albert@Home | Found app_config.xml
13/10/2014 20:08:32 | climateprediction.net | Found app_config.xml
13/10/2014 20:08:32 | Einstein@Home | Found app_config.xml
13/10/2014 20:08:32 | PrimeGrid | Found app_config.xml
13/10/2014 20:08:32 | SETI@home Beta Test | Found app_config.xml
13/10/2014 20:08:32 | SETI@home | Found app_config.xml


Claggy
ID: 56673 · Report as offensive

Message boards : Questions and problems : BOINC not reading app_config.xml files

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.