| Index | Recent Threads | Unanswered Threads | Who's Active | Guidelines | Search |
| World Community Grid Forums
|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 8
|
|
| Author |
|
|
johnmora
Cruncher Joined: Jan 29, 2009 Post Count: 10 Status: Offline |
CentOS 5, 2.6.18-194.26.1.el5 x86_64
I keep the Boinc binaries in one directory and then create a second data directory with the ca-bundle.crt and global_prefs_override.xml. I'm starting the client using the following: boinc --dir /tmp/something --redirectio --attach_project www.worldcommunitygrid.org {mykey} --allow_multiple_clients --skip_cpu_benchmarks --no_gui_rpc --abort_jobs_on_exit --check_all_loginsMy override file limits disk space to 1GB disk, 1 core and 2GB RAM. I launch the client and see the following: 10-Nov-2011 15:25:07 [---] Reading preferences override file Unfortunately, nothing happens after that. If I omit `skip_cpu_benchmarks`, the client starts, but wants to launch a single process for each core (usually 16~24, depending on the node; hyperthreading is enabled). I've waited several minutes; the boinc process remains in `S` state and doesn't ever seem to request jobs or data. Any ideas are appreciated. |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Did not know you could pass all these parms in 1 launch command. Suspect the client is not actually attaching to WCG and suggest you get to know the boinccmd tool manual with which you can do all and more. See http://boinc.berkeley.edu/wiki/Boinccmd
------------------------------------------//-- P.S. If --attach_project is correct to pass with boinc, with boinccmd it's --project_attach ... rather inconsistent one would think. Don't know though if this changed between versions. [Edit 1 times, last edit by Former Member at Nov 10, 2011 9:45:43 PM] |
||
|
|
johnmora
Cruncher Joined: Jan 29, 2009 Post Count: 10 Status: Offline |
Unfortunately, boinccmd appears to require you to run a desktop client (BOINC/run_manager), which requires X.
----------------------------------------$ /home/username/WCG/BOINC/boinccmd --project_attach www.worldcommunitygrid.org {mykey} --read_global_prefs_overrideI don't have X installed on this node (or any of the other nodes I have access to) -- they're all headless linux boxes. I'd prefer to simply run the client and have it pull work down, submit it when it completes and exit. Again, everything works perfectly when I allow it to run CPU benchmarks -- unfortunately it overrides the number of cores and takes all of them. Any other suggestions? [Edit 1 times, last edit by johnmora at Nov 10, 2011 10:02:10 PM] |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
boinccmd is a terminal/console tool for those that run without GUI and have run it myself when X is most definitely not loaded.
----------------------------------------The number of CPU's to use can be specified in the override file. Without an initial benchmark there's no assessing for the client how much work to ask for AFAIK, i.e. might be the reason all gos in stasis. Still, mostly when one attaches to a project, first thing a client does is ask for 1 second of work (probably to get it's bearings). --//-- P.S. The message " cannot connect to localhost" suggests that the boinc core client might not in fact be running. [Edit 1 times, last edit by Former Member at Nov 10, 2011 10:15:55 PM] |
||
|
|
johnmora
Cruncher Joined: Jan 29, 2009 Post Count: 10 Status: Offline |
My apologies. It appeared to be wanting to contact the running local client. In any case, you can't run ./boinccmd without starting a local instance of boinc.
----------------------------------------It's interesting; if you run boinc with --skip_cpu_benchmarks, no work is ever requested. If you omit it, it runs the benchmark, floods the node with #ofcores processes and everything works properly. It overrides whatever overrides you have defined locally in the xml file AND the device profiles you have defined on the site. I have max_cores set to 1 in my Default device profile. In any case, I don't believe there's a way to start a new headless instance of boinc with boinccmd. Please correct me if I'm wrong, but this appears to be the case. Without CPU benchmarks enabled, this is as far as I get: 10-Nov-2011 17:15:22 [---] (to change preferences, visit the web site of an attached project, or select Preferences in the Manager) It doesn't seem like boinc is really meant to run with the sorts of limits I'm trying to impose on it. (1 core, 2GB RAM 2GB disk.) [Edit 1 times, last edit by johnmora at Nov 10, 2011 11:24:26 PM] |
||
|
|
johnmora
Cruncher Joined: Jan 29, 2009 Post Count: 10 Status: Offline |
The issue appears to be an error in the Device Profile section of the WCG site.
----------------------------------------See here: http://i.imgur.com/RhQcS.png If you are using version 6.2 of the software, then the number of I'm using boinc_6.10.58_i686-pc-linux-gnu -- and it appears that it was honoring the second field (percentage), despite the site explicitly stating that pre-6.2 clients would ignore it. I've finally got BOINC running the way I want; headless, no boinccmd required and running on a single core, 2GB RAM and 1GB disk. How frustrating! [Edit 2 times, last edit by johnmora at Nov 10, 2011 11:43:00 PM] |
||
|
|
JmBoullier
Former Community Advisor Normandy - France Joined: Jan 26, 2007 Post Count: 3716 Status: Offline Project Badges:
|
I'm using boinc_6.10.58_i686-pc-linux-gnu -- and it appears that it was honoring the second field (percentage), despite the site explicitly stating that pre-6.2 clients would ignore it. John,OK, the profile page should have anticipated future versions and said "If you are using version 6.2 (or later) of the software" to be perfectly clear, but still, pretending that 6.10.58 is a pre-6.2 version might be considered as a little surprising, to say the least. Anyway I am glad that you have finally found the correct parameter to change. ![]() |
||
|
|
Ingleside
Veteran Cruncher Norway Joined: Nov 19, 2005 Post Count: 974 Status: Offline Project Badges:
|
OK, the profile page should have anticipated future versions and said "If you are using version 6.2 (or later) of the software" to be perfectly clear, but still, pretending that 6.10.58 is a pre-6.2 version might be considered as a little surprising, to say the least. This text has never been very accurate, since among v6.2.xx-clients, only the windows-v6.2.28 would use the "lesser of the two fields". Linux and Mac didn't have any customized WCG-builds of the 6.2.xx-clients. As for v6.10.58, I've not tested if the WCG-version still includes support for #cpu's. Any other v6.4.xx and later BOINC-clients is atleast (blissfully) ignorant of this field and will only use the %cpu-field. ![]() "I make so many mistakes. But then just think of all the mistakes I don't make, although I might." |
||
|
|
|