Files
oam/knowledge base/boinc.md
2023-02-17 19:59:20 +01:00

3.2 KiB

BOINC

  1. TL;DR
  2. Client management
    1. Remote management
  3. Use the GPU for computation
    1. On OpenSUSE
  4. Further readings

TL;DR

# Install.
flatpak install 'edu.berkeley.BOINC'
sudo zypper install 'boinc-client' 'boinc-manager'

# Set the GUI RPC communications port.
boinc --gui_rpc_port 30000

Client management

Name Type Description
BOINC Manager Graphical
boinccmd Command line
boinctui Text

Remote management

Quick, dirty solution: use the --allow_remote_gui_rpc option when starting the client.
This will make the BOINC client accept connections from any host (subject to password authentication) even if the client's configuration files are set otherwise.

Better solution:

  1. add the <allow_remote_gui_rpc>1</allow_remote_gui_rpc> option to the cc_config.xml file in the BOINC data directory

  2. restart the service to make the above change effective

  3. check port 31416 (or the one configured for use) is reachable from other hosts

  4. specify a set of allowed hosts creating the remote_hosts.cfg file in the BOINC data directory; its entries must be DNS host names or IP addresses, and must be one per line

    the Read config file action in BOINC Manager's Advanced menu will also read the remote_hosts.cfg file, so a restart of the client is not required to enable changes to the remote host list.

  5. check the gui_rpc_auth.cfg file in the BOINC data directory to get the password for authentication

Use the GPU for computation

Also see AMD Linux drivers and Radeon™ Software for Linux® Installation.

The BOINC client seems to need to be added to the video group to be able to use the drivers correctly - this is something I still need to check.

On OpenSUSE

Install the amdgpu-install package from AMD's Linux drivers page, then execute it.

# Previous versions of the package (like the one in the official documentation
# at the time of writing) made DKMS fail.
sudo zypper install 'https://repo.radeon.com/amdgpu-install/22.20.3/sle/15.4/amdgpu-install-22.20.50203-1.noarch.rpm'
sudo amdgpu-install

At the next restart of the boinc-client, something similar to this line should appear in the client's logs:

Oct 09 23:09:40 hostnameHere boinc[1709]: 09-Oct-2022 23:09:40 [---] OpenCL: AMD/ATI GPU 0: gfx90c:xnack- (driver version 3452.0 (HSA1.1,LC), device ve>

Further readings