Message boards : Questions and problems : BOINC not reading app_config.xml files
Message board moderation
Author | Message |
---|---|
Send message Joined: 28 Jun 14 Posts: 32 ![]() |
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? ![]() |
Send message Joined: 5 Oct 06 Posts: 5149 ![]() |
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. |
Send message Joined: 28 Jun 14 Posts: 32 ![]() |
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! :) ![]() |
Send message Joined: 28 Jun 14 Posts: 32 ![]() |
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 ![]() |
![]() Send message Joined: 28 Jun 10 Posts: 2859 ![]() |
Are they all running or are they queued? |
Send message Joined: 28 Jun 14 Posts: 32 ![]() |
Running at the same time. |
Send message Joined: 5 Oct 06 Posts: 5149 ![]() |
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. |
Send message Joined: 28 Jun 14 Posts: 32 ![]() |
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! ![]() |
Send message Joined: 13 Dec 13 Posts: 21 ![]() |
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 |
Send message Joined: 23 Apr 07 Posts: 1112 ![]() |
Hi numbermaniac, 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 |
Send message Joined: 13 Dec 13 Posts: 21 ![]() |
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, |
Send message Joined: 13 Dec 13 Posts: 21 ![]() |
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, |
Send message Joined: 23 Apr 07 Posts: 1112 ![]() |
Thanks for the reply, Claggy 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), 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 |
Copyright © 2025 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.