allow multiple clients

Message boards : BOINC client : allow multiple clients
Message board moderation

To post messages, you must log in.

Previous · 1 · 2 · 3 · 4

AuthorMessage
BobCat13

Send message
Joined: 6 Dec 06
Posts: 118
United States
Message 69482 - Posted: 5 May 2016, 18:46:40 UTC - in response to Message 69470.  

OK, as I suspected, curiosity got the better of me. I created the two batch files BobCat13 suggested in the message I'm replying to.

And it failed. Watching the changes in the second data directory, I saw a file stderrdae.txt being created, with the contents

05-May-2016 15:50:59 Another instance of BOINC is running.
GLE: Cannot create a file when that file already exists.

 (0xb7)

Armed with that information, I edited the cc_config.xml file for the first (originally running) instance, with the

<allow_multiple_clients>1</allow_multiple_clients>

option, and restarted the first client. After that, everything worked as advertised. Two different clients running (two instances of boinc.exe in Task Manager), two different instances of boincmgr.exe in Task Manager as well, two different displays on screen with different project lists, etc. etc.

I have never had to do this, but I wonder if that is because the two clients have always run under different user accounts? Currently, client1 is installed as a service, and client2 runs under my account. In the past client1 ran under a restricted account I created specifically for running Boinc, and client2 ran under my account.
ID: 69482 · Report as offensive
Erich56

Send message
Joined: 30 Dec 14
Posts: 95
Austria
Message 69484 - Posted: 6 May 2016, 8:52:23 UTC

Yesterday late evening, a disruption happened on my system - I could not re-activate the monitor, neither by mouse nor by keyboard :-(
So I had no other choice than pushing the hardware exit button and re-boot the PC. And of course, the RAMDisk was emtpy, BOINC was gone.

This incident was kind of a sign for me to now change to the external USB3 HD (as I had planned it anyway if I can't get the second BOINC client to run).

So, this morning I re-installed BOINC on the external HD, and I do no longer need to care about observing unrealstic disc size requirements when downloading GPUGRID and ATLAS tasks, etc.

Again, many thanks to all of you who put in their time by providing these many hints and suggestions, in order to get my second BOINC to function.
ID: 69484 · Report as offensive
Super Nova Nerd

Send message
Joined: 14 Jun 16
Posts: 3
United States
Message 70168 - Posted: 14 Jun 2016, 1:46:46 UTC - in response to Message 69394.  

I am also trying to run 2 clients on the same computer. I am doing it to get one project to run both an AMD and Nvidia GPU I have installed. I can only get the project to run one right now even though I have a cc-config file with use all gpu's, and I have the preferences set in the project for both. It will only run my AMD.

I am a little lost on the instructions Bobcat gave. The .bat file for instance. How do I go about that? I know I can make it in notepad, but what do I name it and where does it go?
ID: 70168 · Report as offensive
Super Nova Nerd

Send message
Joined: 14 Jun 16
Posts: 3
United States
Message 70169 - Posted: 14 Jun 2016, 2:31:48 UTC - in response to Message 70168.  

OK. I got it all working, but the only thing I am not sure of is how to make it do AMD tasks on one, and Nvidia on the other since the project still only see's one computer?
ID: 70169 · Report as offensive
Super Nova Nerd

Send message
Joined: 14 Jun 16
Posts: 3
United States
Message 70170 - Posted: 14 Jun 2016, 2:58:11 UTC - in response to Message 70169.  

Disregard, I figured it out.
ID: 70170 · Report as offensive
Dirk Sadowski

Send message
Joined: 18 Apr 09
Posts: 14
Germany
Message 72288 - Posted: 6 Sep 2016, 12:34:55 UTC
Last modified: 6 Sep 2016, 12:38:33 UTC

I followed the instruction here: http://efmer.com/forum/index.php?topic=856.0

On a Windows XP x86 PC it worked in past.

Now an other PC with Windows 8.1 x64 it don't work.

From the 'log':
BoincTasks version: 1.67
Language ---- User: 1031 (DEU), System: 1031 (DEU), Selected: 1033 (ENU) Used: 1033 (ENU)
Maximum number of computers: Unlimited
Computers ---- BOINC2 , IP: localhost2
Computers ---- blabla , IP: localhost
Start BOINC client ---- The BOINC client started OK
Connect ---- Connected to: Host: blabla, IP: localhost, Port: 31416, BOINC Version: 7.6.22
Logging ---- Start debug mode
Connect, init ---- Host: BOINC2, IP: localhost2, Port: 31426, connection error


What's different between XP and 8.1?

As I installed BOINC v7.6.22, there was during installation something like 'allow BOINC access to folder' or something...
IIRC, this wasn't happen on the XP PC, with an older BOINC version (for 2+ years in past).

Now on the 8.1 PC I need to allow someone the access to the BOINC2 folder?

It's important where the BOINC2 folder is?
Maybe it must be in the C:\ProgramData\ folder?

Maybe I must adjust the Windows Firewall?
Open/allow a port?

It's important how I adjusted the Windows Firewall?
I can chose 'home' and 'guest/public' network.
Which I must chose normally, and/or if I want a 2nd BOINC client?


Thanks.


BTW.
In the BOINC2 folder is:
notices (folder)
all_projects_list.xml
cc_config.xml (with <allow_multiple_clients>1...)
client_state.xml
client_state_prev.xml
coproc_info.xml
daily_xfer_history.xml
gui_rpc_auth.cfg
stderrgpudetect.txt
stdoutgpudetect.txt
time_stats_log


BTW.
As I executed the .bat file with (Fred's example):
"C:\Program Files\BOINC\boinc.exe" --allow_multiple_clients --dir C:\ProgramData\BOINC2 --gui_rpc_port 31426
...a command prompt was open and the 2nd client was connected with BoincTasks.

But, IIRC, the localhost (1st client) wasn't connected with BoincTasks.

Maybe I need now with Win8.1 to start the 2nd client via .bat file?


If I 'install' a 2nd client (execution of the .bat file), BoincTasks and the 1st client can run, or all BOINC stuff need to be stopped/exited?
ID: 72288 · Report as offensive
Previous · 1 · 2 · 3 · 4

Message boards : BOINC client : allow multiple clients

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.