[tuto],openSuse 42.[2|3], fah 7.4.4-1

FAH provides a V7 client installer for Debian / Mint / Ubuntu / RedHat / CentOS / Fedora. Installation on other distros may or may not be easy but if you can offer help to others, they would appreciate it.

Moderators: Site Moderators, PandeGroup

[tuto],openSuse 42.[2|3], fah 7.4.4-1

Postby promeneur » Sun Oct 08, 2017 8:51 am

1. check if libzip2 is well installed with your opensuse.

install compat-libopenssl10 rpm from software.opensuse.org

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 fahcontrol

as root
in /usr/lib/python2.7/site-packages/
create a link "fah -> /usr/lib/python2.6/site-packages/fah"
by using

cd /usr/lib/python2.7/site-packages/
ln -s /usr/lib/python2.6/site-packages/fah fah

3. according to launch fah when starting system

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

note: if in the future if 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

4. 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|3]

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
promeneur
 
Posts: 55
Joined: Tue Aug 07, 2012 11:59 am

Return to Q&A about unsupported distros of Linux

Who is online

Users browsing this forum: No registered users and 1 guest

cron