BOINC Portable Template
A collection of scripts that can easily set up multiple BOINC clients in a portable way, fast.
How To
Extract BOINC binaries from installer (Windows)
- Download BOINC installer (without Virtualbox) from https://boinc.berkeley.edu/download.php into
netinstall
folder - Drag and drop the
boinc_******_windows_x86_64.exe
towindows-netinstall.bat
- Ignore the error and proceed
- Choose the
netinstall\temp1
folder, it should extractBOINC.msi
and proceeds netinstall mode - Choose the
netinstall\temp2
folder for network location folder - Ignore the error and finish "installation"
- The binaries now live in
netinstall\temp2\Program Files 64\BOINC
BOINC Portable (Windows)
- Copy all the contents in
netinstall\temp2\Program Files 64\BOINC
toportable
folder - Copy all the files with
windows-
prefix fromscripts
folder toportable
folder - The
portable
folder is ready to be deployed / copied to a USB stick - Remember to change the password in
portable\appdata\gui_rpc_auth.cfg
andportable\windows-applauncher-31417-manager.bat
BOINC Portable (Linux)
Please read scripts/linux-applauncher-31417-client.sh
for more information. Then follow steps 2-5 in the Windows guide above with linux-
prefix, .sh
extension, and /
instead.
(Optional) Disable BOINC service from running upon next login using systemctl disable boinc-client
Starting BOINC Portable
- Please check the scripts content before running the scripts! Edit them to suit your needs.
- Run script with
-applauncher-31417-client
suffix to start client in their respective OS. - Run script with
-applauncher-31417-manager
suffix to start manager in their respective OS. (optional after first config)
FAQ
-
What is
-31417-
doing in the script names?To identify the scripts that launch BOINC using port 31417, nothing particular special. To actually change the port, edit the scripts.
-
What does
windows-registry-clear.reg
do?Erases registry
HKEY_CURRENT_USER\Software\Space Sciences Laboratory, U.C. Berkeley
that mostly responsible for BOINC settings**Useful in resetting BOINC manager in Wine**
-
What does
windows-shortcut-startup.bat
do?Allow user to access to Start Up folder. Add shortcuts of the scripts to the Start Up folder to allow BOINC to start at next Windows login as if it was done like using installer. Close but not quite.
-
Can I use the same
appdata
folder on different OS, GPU etc.?Do not do such a thing! You will end up with rejected tasks anyway!
Make a new folder instead.
-
Benefits of doing exactly all of this?
- Does not mess with Registry (Windows)
- Easy deployment of portable BOINC on a USB stick (Windows)
- Easy migration of BOINC data (format PC, etc.)
- Not trusting 3rd party BOINC Portable builds, here are just user readable/editable scripts
- Easy customization of configuration for running BOINC (multiple clients etc.)
-
Disadvatages of doing all of this?
- UNSUPPORTED SET UP (don't expect official support from here on out)
- Messing with computation result due to different configuration (OS, libraries, CPU, GPU, drivers etc.)
- Screensaver does not work (deprecated in Windows 10 1709 anyway)
- 3rd party apps wont work (distantly remembers a core pinning app for BOINC, snake oil or not)
-
Can I ... ?
MIT License-d so just do whatever. It's a mere concept rather than actually solving the problem.
TODO
-
Long term goal is to truly automate all the stuff, and output to a single directory that can copied to a USB stick and run it from there.
-
ACTUAL long term goal is not do any of this at all. BOINC should have the option for ZIP/TAR like binary distribution like the rest of FOSS. These issues may be fixed with BOINC 8.0 release I hope.