Thread 'app_config.xml'

Message boards : Questions and problems : app_config.xml
Message board moderation

To post messages, you must log in.

AuthorMessage
ProfileGandalf_the_Grey
Avatar

Send message
Joined: 28 Apr 13
Posts: 42
United States
Message 64599 - Posted: 2 Oct 2015, 3:24:28 UTC

<app_config>
<app>
<name>collatz_sieve</name>
<max_concurrent>8</max_concurrent>
<gpu_versions>
<gpu_usage>0.25</gpu_usage>
<cpu_usage>0.25</cpu_usage>
</gpu_versions>
</app>
</app_config>


This code works under Windows7, but not under LinuxMint Cinnamon 17.2.
Does anyone have a fix for making it work under LinuxMint?

Thanks

PS - the WU runs under LinuxMint, it's app_config.xml that does not work.
If you need any additional info, I'll be happy to provide it.
I am not an expert, so be easy on me, please.
ID: 64599 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 64617 - Posted: 2 Oct 2015, 19:14:52 UTC - in response to Message 64599.  

In what way it doesn't work?
Does the client say it found the app_config.xml file?
Is the BOINC version new enough to know about app_config.xml?
Did you put it into right directory?
Does the client have permissions to read it?
ID: 64617 · Report as offensive
ProfileGandalf_the_Grey
Avatar

Send message
Joined: 28 Apr 13
Posts: 42
United States
Message 64642 - Posted: 3 Oct 2015, 1:46:38 UTC

In what way it doesn't work?
Code calls for four WU per GPU.
Running 0.896 CPUs + 1 NVIDIA GPU.

Does the client say it found the app_config.xml file?
Have not queried Collatz Conjecture.
Decided to ask BOINC first.

Is the BOINC version new enough to know about app_config.xml?
Version: 7.2.42 (x64)
This is the version downloaded by Synaptic Package Manager.


Did you put it into right directory?
/var/lib/boinc-client/projects/boinc.thesonntags.com_collatz

Does the client have permissions to read it?
YES
ID: 64642 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5130
United Kingdom
Message 64647 - Posted: 3 Oct 2015, 10:18:37 UTC - in response to Message 64642.  

Does the client say it found the app_config.xml file?
Have not queried Collatz Conjecture.
Decided to ask BOINC first.

Juha meant in the Event Log BOINC keeps (and shows from the BOINC Manager - Crtl-Shift-E) on your local machine. If you re-read config files - there's a Manager menu item for that too - the log will re-display the app_config.xml detections (no need to restart BOINC).
ID: 64647 · Report as offensive
ProfileGandalf_the_Grey
Avatar

Send message
Joined: 28 Apr 13
Posts: 42
United States
Message 64650 - Posted: 3 Oct 2015, 12:25:26 UTC
Last modified: 3 Oct 2015, 12:55:25 UTC

Event Log

Sat 03 Oct 2015 05:14:54 AM PDT | | Starting BOINC client version 7.2.42 for x86_64-pc-linux-gnu
Sat 03 Oct 2015 05:14:54 AM PDT | | log flags: file_xfer, sched_ops, task, sched_op_debug
Sat 03 Oct 2015 05:14:54 AM PDT | | Libraries: libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3
Sat 03 Oct 2015 05:14:54 AM PDT | | Data directory: /var/lib/boinc-client
Sat 03 Oct 2015 05:14:54 AM PDT | | CUDA: NVIDIA GPU 0: GeForce GTX 680 (driver version unknown, CUDA version 5.0, compute capability 3.0, 4096MB, 4044MB available, 3332 GFLOPS peak)
Sat 03 Oct 2015 05:14:54 AM PDT | | CUDA: NVIDIA GPU 1: GeForce GTX 650 (driver version unknown, CUDA version 5.0, compute capability 3.0, 1023MB, 890MB available, 813 GFLOPS peak)
Sat 03 Oct 2015 05:14:54 AM PDT | | OpenCL: NVIDIA GPU 0: GeForce GTX 680 (driver version 304.128, device version OpenCL 1.1 CUDA, 4096MB, 4044MB available, 3332 GFLOPS peak)
Sat 03 Oct 2015 05:14:54 AM PDT | | OpenCL: NVIDIA GPU 1: GeForce GTX 650 (driver version 304.128, device version OpenCL 1.1 CUDA, 1023MB, 890MB available, 813 GFLOPS peak)
Sat 03 Oct 2015 05:14:54 AM PDT | | Host name: MiddleEarth
Sat 03 Oct 2015 05:14:54 AM PDT | | Processor: 8 GenuineIntel Intel(R) Core(TM) i7 CPU 975 @ 3.33GHz [Family 6 Model 26 Stepping 5]
Sat 03 Oct 2015 05:14:54 AM PDT | | Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid
Sat 03 Oct 2015 05:14:54 AM PDT | | OS: Linux: 3.13.0-37-generic
Sat 03 Oct 2015 05:14:54 AM PDT | | Memory: 11.73 GB physical, 11.99 GB virtual
Sat 03 Oct 2015 05:14:54 AM PDT | | Disk: 904.97 GB total, 850.71 GB free
Sat 03 Oct 2015 05:14:54 AM PDT | | Local time is UTC -7 hours
Sat 03 Oct 2015 05:14:54 AM PDT | | Config: use all coprocessors
Sat 03 Oct 2015 05:14:54 AM PDT | | Config: GUI RPCs allowed from:
Sat 03 Oct 2015 05:14:54 AM PDT | | 192.168.1.100
Sat 03 Oct 2015 05:14:54 AM PDT | | 192.168.1.101
Sat 03 Oct 2015 05:14:54 AM PDT | | 192.168.1.102
Sat 03 Oct 2015 05:14:54 AM PDT | | 192.168.1.103
Sat 03 Oct 2015 05:14:54 AM PDT | World Community Grid | URL http://www.worldcommunitygrid.org/; Computer ID 3264760; resource share 100
Sat 03 Oct 2015 05:14:54 AM PDT | DENIS@Home | URL http://denis.usj.es/denisathome/; Computer ID 31709; resource share 100
Sat 03 Oct 2015 05:14:54 AM PDT | Collatz Conjecture | URL http://boinc.thesonntags.com/collatz/; Computer ID 163303; resource share 100
Sat 03 Oct 2015 05:14:54 AM PDT | WUProp@Home | URL http://wuprop.boinc-af.org/; Computer ID 83949; resource share 100
Sat 03 Oct 2015 05:14:54 AM PDT | GPUGRID | URL http://www.gpugrid.net/; Computer ID 198440; resource share 100
Sat 03 Oct 2015 05:14:54 AM PDT | Citizen Science Grid | URL http://csgrid.org/csg/; Computer ID 13809; resource share 100
Sat 03 Oct 2015 05:14:54 AM PDT | DENIS@Home | General prefs: from DENIS@Home (last modified 30-Sep-2015 17:35:34)
Sat 03 Oct 2015 05:14:54 AM PDT | DENIS@Home | Host location: none
Sat 03 Oct 2015 05:14:54 AM PDT | DENIS@Home | General prefs: using your defaults
Sat 03 Oct 2015 05:14:54 AM PDT | | Reading preferences override file
Sat 03 Oct 2015 05:14:54 AM PDT | | Preferences:
Sat 03 Oct 2015 05:14:54 AM PDT | | max memory usage when active: 12007.83MB
Sat 03 Oct 2015 05:14:54 AM PDT | | max memory usage when idle: 12007.83MB
Sat 03 Oct 2015 05:14:54 AM PDT | | max disk usage: 814.47GB
Sat 03 Oct 2015 05:14:54 AM PDT | | (to change preferences, visit a project web site or select Preferences in the Manager)
Sat 03 Oct 2015 05:14:54 AM PDT | | Not using a proxy
Sat 03 Oct 2015 05:17:49 AM PDT | Collatz Conjecture | Computation for task collatz_sieve_2406405246561659387904_6597069766656_0 finished
Sat 03 Oct 2015 05:17:49 AM PDT | Collatz Conjecture | Starting task collatz_sieve_2406407707268682350592_6597069766656_0
Sat 03 Oct 2015 05:17:51 AM PDT | Collatz Conjecture | Started upload of collatz_sieve_2406405246561659387904_6597069766656_0_0
Sat 03 Oct 2015 05:17:55 AM PDT | Collatz Conjecture | Finished upload of collatz_sieve_2406405246561659387904_6597069766656_0_0
Sat 03 Oct 2015 05:18:07 AM PDT | Collatz Conjecture | update requested by user
Sat 03 Oct 2015 05:18:08 AM PDT | Collatz Conjecture | sched RPC pending: Requested by user
Sat 03 Oct 2015 05:18:08 AM PDT | Collatz Conjecture | [sched_op] Starting scheduler request
Sat 03 Oct 2015 05:18:08 AM PDT | Collatz Conjecture | Sending scheduler request: Requested by user.
Sat 03 Oct 2015 05:18:08 AM PDT | Collatz Conjecture | Reporting 1 completed tasks
Sat 03 Oct 2015 05:18:08 AM PDT | Collatz Conjecture | Not requesting tasks: don't need
Sat 03 Oct 2015 05:18:08 AM PDT | Collatz Conjecture | [sched_op] CPU work request: 0.00 seconds; 0.00 devices
Sat 03 Oct 2015 05:18:08 AM PDT | Collatz Conjecture | [sched_op] NVIDIA work request: 0.00 seconds; 0.00 devices
Sat 03 Oct 2015 05:18:15 AM PDT | Collatz Conjecture | Scheduler request completed
Sat 03 Oct 2015 05:18:15 AM PDT | Collatz Conjecture | [sched_op] Server version 703
Sat 03 Oct 2015 05:18:15 AM PDT | Collatz Conjecture | Project requested delay of 121 seconds
Sat 03 Oct 2015 05:18:15 AM PDT | Collatz Conjecture | [sched_op] handle_scheduler_reply(): got ack for task collatz_sieve_2406405246561659387904_6597069766656_0
Sat 03 Oct 2015 05:18:15 AM PDT | Collatz Conjecture | [sched_op] Deferring communication for 00:02:01
Sat 03 Oct 2015 05:18:15 AM PDT | Collatz Conjecture | [sched_op] Reason: requested by project
Sat 03 Oct 2015 05:20:21 AM PDT | Collatz Conjecture | [sched_op] Starting scheduler request
Sat 03 Oct 2015 05:20:21 AM PDT | Collatz Conjecture | Sending scheduler request: To fetch work.
Sat 03 Oct 2015 05:20:21 AM PDT | Collatz Conjecture | Requesting new tasks for NVIDIA
Sat 03 Oct 2015 05:20:21 AM PDT | Collatz Conjecture | [sched_op] CPU work request: 0.00 seconds; 0.00 devices
Sat 03 Oct 2015 05:20:21 AM PDT | Collatz Conjecture | [sched_op] NVIDIA work request: 142.85 seconds; 0.00 devices
Sat 03 Oct 2015 05:20:24 AM PDT | Collatz Conjecture | Scheduler request completed: got 1 new tasks
Sat 03 Oct 2015 05:20:24 AM PDT | Collatz Conjecture | [sched_op] Server version 703
Sat 03 Oct 2015 05:20:24 AM PDT | Collatz Conjecture | Project requested delay of 121 seconds
Sat 03 Oct 2015 05:20:24 AM PDT | Collatz Conjecture | [sched_op] estimated total CPU task duration: 0 seconds
Sat 03 Oct 2015 05:20:24 AM PDT | Collatz Conjecture | [sched_op] estimated total NVIDIA task duration: 774 seconds
Sat 03 Oct 2015 05:20:24 AM PDT | Collatz Conjecture | [sched_op] Deferring communication for 00:02:01
Sat 03 Oct 2015 05:20:24 AM PDT | Collatz Conjecture | [sched_op] Reason: requested by project
Sat 03 Oct 2015 05:20:26 AM PDT | Collatz Conjecture | Started download of collatz_sieve_2406416580327518502912_6597069766656
Sat 03 Oct 2015 05:20:27 AM PDT | Collatz Conjecture | Finished download of collatz_sieve_2406416580327518502912_6597069766656
Sat 03 Oct 2015 05:20:47 AM PDT | Collatz Conjecture | Computation for task collatz_sieve_2406370849439896043520_6597069766656_1 finished
Sat 03 Oct 2015 05:20:47 AM PDT | Collatz Conjecture | Starting task collatz_sieve_2406416580327518502912_6597069766656_0
Sat 03 Oct 2015 05:20:49 AM PDT | Collatz Conjecture | Started upload of collatz_sieve_2406370849439896043520_6597069766656_1_0
Sat 03 Oct 2015 05:20:50 AM PDT | Collatz Conjecture | Finished upload of collatz_sieve_2406370849439896043520_6597069766656_1_0


Fixed it. Thanks for the assist.
ID: 64650 · Report as offensive
BobCat13

Send message
Joined: 6 Dec 06
Posts: 118
United States
Message 64651 - Posted: 3 Oct 2015, 13:45:29 UTC - in response to Message 64650.  

The client is not reading the app_config.xml. If it were, there would be any entry right after the time entry like this:

10-3-2015 2:47:38 AM |  | Local time is UTC -4 hours
10-3-2015 2:47:38 AM | The Lattice Project | Found app_config.xml

The first thing to check is the permissions for the file. If you installed from repositories, then the client is running under user boinc. In a terminal window, navigate to the project directory and then enter the following command:

sudo chown boinc:boinc app_config.xml

Then try the read config files option in BOINC Manager to see if the client now reads the file.
ID: 64651 · Report as offensive

Message boards : Questions and problems : app_config.xml

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.