[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, FAHC Science Team

Post Reply
promeneur
Posts: 198
Joined: Tue Aug 07, 2012 11:59 am
Hardware configuration: openSUSE Tumbleweed, x86_64,Asrock B760M-HDV/M.2 D4, Intel Core i3-12100, 16 GB, Intel UHD Graphics 730, NVIDIA GeForce GT 1030, Edup-Love EP-9651GS Wi-Fi Bluetooth, multicard reader USB 3.0 startech.com 35fcreadbu3, Epson XP 7100, Headset Bluetooth 3.0 Philips SHQ7300

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

Post by promeneur »

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
Image
v00d00
Posts: 396
Joined: Sun Dec 02, 2007 4:53 am
Hardware configuration: FX8320e (6 cores enabled) @ stock,
- 16GB DDR3,
- Zotac GTX 1050Ti @ Stock.
- Gigabyte GTX 970 @ Stock
Debian 9.

Running GPU since it came out, CPU since client version 3.
Folding since Folding began (~2000) and ran Genome@Home for a while too.
Ran Seti@Home prior to that.
Location: UK
Contact:

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

Post by v00d00 »

Could I make a small suggestion. Not to the actual content, but the formatting of it. Could you tidy the tutorial up with bb code tags? Anything that is typed into the system or put in a file could be included in code tags. Descriptive text as normal. Important text wrapped in bold tags.

An example tutorial on how to display a hello message and delete the created file.

Remember to make the script executable (chmod). Substitute nano for you favourite text editor (vi,emacs,joe)

Code: Select all

$ nano somefile.sh
somefile.sh

Code: Select all

echo hello

Code: Select all

$ chmod 0700 somefile.sh && ./somefile.sh && rm ./somefile.sh
Just a little bit of formatting makes it many times easier for a new user to follow the tutorial. Also mine is an example. Customise yours as you wish.
Image
Post Reply