[tuto] 8.3.5, openSUSE Tumbleweed, installation

Moderators: Site Moderators, FAHC Science Team

Post Reply
promeneur
Posts: 201
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] 8.3.5, openSUSE Tumbleweed, installation

Post by promeneur »

0. Prerequisite

This tutorial is for openSUSE Tumbleweed. We can expect to use it with success with openSUSE Leap.

You can add the 8.3.5 to the 7.6.21. they can run simultaneously.
Beware of the temperature of your CPU and GPU.
Beware that cpulimit can limit only one occurrence of a core.
If you have for example two a8 then only one will be limited by cpulimit.

Here a script using cpulimit to limit serveral occurrences of the same app

https://aweirdimagination.net/2020/08/0 ... processes/

Here a tutorial for cooling your PC.

viewtopic.php?t=37572

1. Creating a rpm from 8.3.5 deb

Install "alien" app as root

sudo zypper addrepo https://download.opensuse.org/repositor ... nager.repo
sudo zypper refresh
sudo zypper install alien

for Leap 15.6

sudo zypper addrepo https://download.opensuse.org/repositor ... ecsos.repo
sudo zypper refresh
sudo zypper install alien

for Leap 15.5

sudo zypper addrepo https://download.opensuse.org/repositor ... nager.repo
sudo zypper refresh
sudo zypper install alien


download the 8.3.5 deb package at https://foldingathome.org/beta

in the folder containing the deb package open a text console run

sudo alien -r --script fah-client_8.3.5_amd64.deb

2 Installation of fah-client

2.1. With the Yast software manager install the 8.3.5 rpm

right click on the rpm then in "open with" select "Yast software"

2.2. Create a group "fah-client"

With Yast tool in "security and users" select "groups and users manager"

Select "group" tab

in "filter definition" select "system group"

click on "add"

fill the field "group name" with "fa-client"

then "OK"

2.3. Create a user "fah-client"

Select "user" tab

In "filter definition" select "system user"

click on "add"

In "user data" tab

fill the field "Complete name" with "user for fah-client"

fill the field "user name" with "fah-client"

fill the password. I used the root password. Perhaps there is something better.

In "details" tab

in "default group" select "fah-client" group

in "supplementary groups" check "video" group

then "OK"

2.4. Creating folders used by fah-client app

As root you must create with dolphin

/etc/fah-client/

/var/lib/fah-client/

/var/log/fah-client/

all with the following ACL

owner : can view and modify
group : can only view
others : no access

user : fah-client
group : fah-client

2.5. Creating config.xml file

In /etc/fah-client/

as root with dolphin create the file config.xml

fill the file with the statements

<config>
</config>

3. Running the systemd service file

3.1. Modify the fah-lient.service file in /usr/lib/systemd/system/

In [Unit] replace the following statements

After=network.target

by the following statements

After=syslog.target network-online.target remote-fs.target
Wants=network-online.target

In [Service] replace the following statements

User=fah-client

by the following statements

Type=simple
User=fah-client
Group=fah-client
RuntimeDirectory=fah-client
RuntimeDirectoryMode=0755
PIDFile=/run/fahclient/fah-client.pid
WorkingDirectory=/var/lib/fah-client
EnvironmentFile=-/etc/sysconfig/fah-client

restart the PC according to the OS is aware of the new user and group "fah-client"

3.2. Run the fah-client service

in a text console execute

sudo sytemctl start fah-client

wait some seconds

sudo systemctl status fah-client

check that fah-client is running (no "error", no "fail").
It must be "active (running)".

4. Finishing the settings

The fah-client service must start when the PC starts.
run

sudo systemctl enable fah-client


with Firefox go to https://beta.foldingathome.org/

click on the toothed wheel

fill your user name, team, passkey

choose the number of cpu you want to dedicate to the cpu and gpu jobs

enable your gpu by checking

click on "save" then return to the previous page.

watch the downloading of cores and the beginning of the computing

Enjoy :D
Last edited by promeneur on Mon Feb 19, 2024 5:23 pm, edited 1 time in total.
Image
calxalot
Site Moderator
Posts: 894
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: [tuto] 8.3.5, openSUSE Tumbleweed, installation

Post by calxalot »

Both v7 and v8 will try to use port 7396.

If one wants to use both, port 7396 should disabled on v7. I think the client option is web-enable false
promeneur
Posts: 201
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

Re: [tuto] 8.3.5, openSUSE Tumbleweed, installation

Post by promeneur »

thanks

I don't use simultaneously the two versions. One version is sufficient.

It seems that the 8.3.5 is mature enought to switch to the 8.3.5.
Image
promeneur
Posts: 201
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

Re: [tuto] 8.3.5, openSUSE Tumbleweed, installation

Post by promeneur »

Today, for the very first time, fah-client uploaded one cpu and one gpu works. My account was credited with success. :D

Long life to fah-client.
Image
Marcos FRM
Posts: 7
Joined: Fri Feb 23, 2024 6:26 pm

Re: [tuto] 8.3.5, openSUSE Tumbleweed, installation

Post by Marcos FRM »

Please compile from source instead. The generated RPM should work on openSUSE.

Code: Select all

sudo zypper -n in git scons gcc-c++ libopenssl-devel zlib-devel libbz2-devel systemd-devel rpm-build systemd-rpm-macros

git clone https://github.com/cauldrondevelopmentllc/cbang
git clone https://github.com/foldingathome/fah-client-bastet

export CBANG_HOME=$PWD/cbang
scons -C cbang
scons -C fah-client-bastet
scons -C fah-client-bastet package
Install double-clicking on the RPM file. GNOME Software or similar will take care of it. Or use the terminal:

Code: Select all

sudo zypper in ./fah-client-bastet/fah_client-<version>-1.x86_64.rpm
Ignore ("i") when zypper complains the package is not signed.
Last edited by Marcos FRM on Fri Feb 23, 2024 6:39 pm, edited 1 time in total.
promeneur
Posts: 201
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

Re: [tuto] 8.3.5, openSUSE Tumbleweed, installation

Post by promeneur »

@Marcos FRM

Thanks

I will try
Image
Post Reply