Page 1 of 1

[tuto] opensuse 42.2, fah beta, installation

Posted: Thu Sep 21, 2017 7:50 am
by promeneur
1. check if zip2 is well installed with your opensuse.

install compat-libopenssl10 rpm from software.opensuse.org
https://software.opensuse.org/package/c ... term=ssl10

install the 3 fah rpms.

ignore message about zip2 not installed. zip2 with opensuse get a different name than the one expected by fah installer.

choose "break package..."

ignore message about corrupted package.

2. according to launch fah when system starts

move /etc/init.d/FAHClient to /usr/local/bin/

note: if in the future you want to uninstall fah packages you need to move /usr/local/bin/FAHClient to /etc/init.d/

create a fahclient.service file with this contents:

[Unit]
Description=Folding@Home V7 Client
Documentation=https://folding.stanford.edu/home/the-software/

[Service]
Type=simple
PIDFile=/var/run/fahclient.pid
ExecStart=/usr/local/bin/FAHClient -v start
ExecReload=/usr/local/bin/FAHClient -v restart
ExecStop=/usr/local/bin/FAHClient -v stop
KillMode=process

[Install]
WantedBy=multi-user.target

Put fahclient.service to /etc/systemd/system/

update its ownership and permissions as below

$ sudo chown root:root /etc/systemd/system/fahclient.service
$ sudo chmod u=rw,go=r /etc/systemd/system/fahclient.service

then

Reload systemd manager configuration

$ sudo systemctl daemon-reload

Query the status of service unit.

$ sudo systemctl status --full fahclient.service

Start and stop as a regular systemd service

$ sudo systemctl stop fahclient.service
$ sudo systemctl start fahclient.service

complete fahcontrol settings with your "name "and "passkey"

with "service manager" tool set fahclient service to "activate"

restart pc


3. if you have a problem of consuming too much core power or cpu high temperature or chassis fan noise i advise to keep "folding power" "full" and use cpulimit to limit cpu power consuming.

https://github.com/opsengine/cpulimit

usage doc: http://cpulimit.sourceforge.net/

cpulimit is supplied in the standard repo of 42.2

for example to limit to 12.5 % of cpu power and for a 4 cores cpu
put following example contents to /etc/init.d/boot.local file

# reducing cpu temp and chassis fan noise , limit to 12,5 % fah cpu power
# consumption for 4 cores (50 % / 4 = 12,5 %)
#
#cpulimit --exe FahCore_a3 --limit 50 &
cpulimit --exe FahCore_a4 --limit 50 &
cpulimit --exe FahCore_a7 --limit 50 &

you must have a cpulimit command for all current existing fah cores

use gkrellm with gkrellm-cpufreq to watch cpu frequencies, cpu power consuming, cpu temperatures, fan speeds