Results 1 to 25 of 49

Thread: How To: run multiple BIONC clients on one machine - not an app_info method

Threaded View

  1. #1
    Xtreme Addict
    Join Date
    Jan 2007
    Location
    Michigan
    Posts
    1,785

    How To: run multiple BIONC clients on one machine - not an app_info method

    Whilst searching for a way to use app_info.xml, I came across how to run multiple boinc clients on one machine and manage the RPC connection. I'd thought I'd share what I found and how it's working out for me. The app_info method would not work for me, because the jobs keep changing and clearing out my WU queue. This method gets around that problem. Hope this helps someone out there!

    BOINC version I'm using for this: 7.0.26 x64 on Windows 7 Pro x64.


    Step 1.
    BOINC needs a place to keep its config for each running instance. So make a new BOINC directory for this new instance. The default BOINC data directory is C:\ProgramData\BOINC so something similar to that would be good. (EG: C:\ProgramData\BOINC_2). PS: the C:\ProgramData folder is a hidden folder. You can do this now by opening a cmd prompt and just copy/pasta this into it:
    Code:
    mkdir c:\programdata\boinc_2

    Step 2.
    Next is to get the new client's data directory populated with the configs.
    Hit Win+R and type CMD, a command prompt opens. Type (with the quotes, adjust your path if needed), or just copy/paste if your path's are default like mine:
    Code:
    "C:\Program Files"\BOINC\boinc.exe --allow_multiple_clients -dir c:\programdata\boinc_2
    Once it loads up you'll see a bunch of stuff happening, the data dir is now ready so hit Control C to break out.


    Step 3.
    Change the password in the gui_rpc_auth.cfg file which now resides in the new BOINC data directory.
    Code:
    notepad c:\ProgramData\boinc_2\gui_rpc_auth.cfg
    erase the temporary password, type in something easy to remember -> save the file.


    Step 4.
    Now to load up the second BOINC client and have it listen for a connection. From a command prompt open the new BOIC client and let it run. If you close it (by typing CTRL C) the client will shut down. Here is the command using the paths from above:
    Code:
    "C:\Program Files"\BOINC\boinc.exe --allow_multiple_clients -dir c:\programdata\boinc_2 -gui_rpc_port 9999
    The port above ^ can be whatever you want, but I recommend 9999 because it works for me!


    Step 5.
    Connecting to the new client with BOINC Manager.
    Just open your normal BOINC manager. I just double clicked mine in the task bar. Next, go to Advanced -> Launch another BOINC Manager. In the box for host name type
    Code:
    127.0.0.1:9999
    and in the password box, type in the password you chose in step 3.



    After all that work you should now have multiple BOINC clients running on one machine, and be able to manage them with separate GUI's. You can add a project to the new BOINC just the same way you normally would, and throttle CPU/GPU settings accordingly. Once again, I hope this helps you guys and saves some time. It took me a while to figure this all out and get it working, but now that I have it going I just invoke the multiple clients using a batch file that looks like this:
    Code:
    REM This starts the second instance of BOICN for multi GPU processing
    
    "C:\Program Files"\BOINC\boinc.exe --allow_multiple_clients -dir c:\programdata\boinc_2 -gui_rpc_port 9999
    
    pause
    Good luck and happy folding!
    Last edited by Vinas; 10-21-2012 at 05:50 AM.
    Current: AMD Threadripper 1950X @ 4.2GHz / EK Supremacy/ 360 EK Rad, EK-DBAY D5 PWM, 32GB G.Skill 3000MHz DDR4, AMD Vega 64 Wave, Samsung nVME SSDs
    Prior Build: Core i7 7700K @ 4.9GHz / Apogee XT/120.2 Magicool rad, 16GB G.Skill 3000MHz DDR4, AMD Saphire rx580 8GB, Samsung 850 Pro SSD

    Intel 4.5GHz LinX Stable Club

    Crunch with us, the XS WCG team

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •