Device name in cc_config not working

Message boards : Questions and problems : Device name in cc_config not working
Message board moderation

To post messages, you must log in.

AuthorMessage
JH30895

Send message
Joined: 9 Sep 20
Posts: 2
Message 100667 - Posted: 9 Sep 2020, 14:28:04 UTC

Upgraded Mac (Darwin 19.6.0) to Boinc 7.16.11 and added cc_config.xml:

<cc_config>
<device_name>my-device-name.local</device_name>
</cc_config>

Boinc started up and ran as expected, but log reads:

Wed Sep 9 00:42:01 2020 | | Unrecognized tag in cc_config.xml: <device_name>
Wed Sep 9 00:42:01 2020 | | Starting BOINC client version 7.16.11 for x86_64-apple-darwin
Wed Sep 9 00:42:01 2020 | | log flags: file_xfer, sched_ops, task
Wed Sep 9 00:42:01 2020 | | Libraries: libcurl/7.58.0 OpenSSL/1.1.0g zlib/1.2.11 c-ares/1.13.0
Wed Sep 9 00:42:01 2020 | | Data directory: /Library/Application Support/BOINC Data
Wed Sep 9 00:42:01 2020 | | OpenCL: Intel GPU 0: Intel(R) UHD Graphics 630 (driver version 1.2(Jul 6 2020 11:56:19), device version OpenCL 1.2, 1536MB, 1536MB available, 230 GFLOPS peak)
Wed Sep 9 00:42:01 2020 | | OpenCL CPU: Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz (OpenCL driver vendor: Apple, driver version 1.1, device version OpenCL 1.2)
Wed Sep 9 00:42:01 2020 | | Version change (7.16.6 -> 7.16.11)
Wed Sep 9 00:42:06 2020 | | Host name: same-old-wrong-name.local
ID: 100667 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 100668 - Posted: 9 Sep 2020, 14:45:09 UTC - in response to Message 100667.  

<cc_config>
<device_name>my-device-name.local</device_name>
</cc_config>

This isn't a good cc_config.xml file.

cc_config.xml uses the following structure:
<cc_config>
<log_flags>
....
</log_flags>
<options>
....
</options>
</cc_config>

See https://boinc.berkeley.edu/wiki/Client_configuration for more information.

So in your case it's:
<cc_config>
<log_flags>
</log_flags>
<options>
<device_name>my-device-name.local</device_name>
</options>
<cc_config>

ID: 100668 · Report as offensive
JH30895

Send message
Joined: 9 Sep 20
Posts: 2
Message 100739 - Posted: 13 Sep 2020, 17:03:08 UTC - in response to Message 100668.  

Thanks. That works. I'm embarrassed (again).
ID: 100739 · Report as offensive

Message boards : Questions and problems : Device name in cc_config not working

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.