[tuto] 8.3.5, openSUSE Tumbleweed, installation

Moderators: Site Moderators, FAHC Science Team

promeneur
Posts: 212
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: 1115
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: 212
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: 212
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: 23
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: 212
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
Curiosity
Posts: 12
Joined: Fri May 03, 2024 10:46 pm

Re: [tuto] 8.3.5, openSUSE Tumbleweed, installation

Post by Curiosity »

I switched to the beta SW too. "fah-client-bastet" version 8.3.8 is available for several openSUSE distributions at https://software.opensuse.org/package/fah-client-bastet

It's pretty much untested, feedback is welcome!

Have fun
Curiosity
Joe_H
Site Admin
Posts: 7937
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: [tuto] 8.3.5, openSUSE Tumbleweed, installation

Post by Joe_H »

Curiosity wrote: Fri May 03, 2024 11:10 pm I switched to the beta SW too. "fah-client-bastet" version 8.3.8 is available for several openSUSE distributions at https://software.opensuse.org/package/fah-client-bastet

It's pretty much untested, feedback is welcome!

Have fun
Curiosity
Note that v8.3.8 is not a beta version, it is still an alpha version and problems are expected. The current public beta is v8.3.5.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
promeneur
Posts: 212
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 »

Curiosity wrote: Fri May 03, 2024 11:10 pm I switched to the beta SW too. "fah-client-bastet" version 8.3.8 is available for several openSUSE distributions at https://software.opensuse.org/package/fah-client-bastet

It's pretty much untested, feedback is welcome!

Have fun
Curiosity
thanks
Image
promeneur
Posts: 212
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 »

Curiosity wrote: Fri May 03, 2024 11:10 pm I switched to the beta SW too. "fah-client-bastet" version 8.3.8 is available for several openSUSE distributions at https://software.opensuse.org/package/fah-client-bastet

It's pretty much untested, feedback is welcome!

Have fun
Curiosity
fah-client does not start

Details :

Code: Select all

fah-client.service - Folding@Home V7 Client
     Loaded: loaded (/usr/lib/systemd/system/fah-client.service; enabled; preset: disabled)
     Active: failed (Result: exit-code) since Sun 2024-05-05 10:37:39 CEST; 28s ago
   Duration: 14ms
       Docs: https://foldingathome.org/support/faq/installation-guides/linux/
    Process: 27196 ExecStart=/usr/bin/fah-client /etc/fah-client/config.xml $FAHCLIENT_OPTIONS (code=exited, status=1/FAILURE)
    Process: 27197 ExecStartPost=/bin/sh -c echo $MAINPID >/run/fah-client/fah-client.pid (code=exited, status=0/SUCCESS)
   Main PID: 27196 (code=exited, status=1/FAILURE)
        CPU: 104ms

May 05 10:37:39 grincheux fah-client[27196]: 08:37:39:I1:       Exec: /usr/bin/fah-client
May 05 10:37:39 grincheux fah-client[27196]: 08:37:39:I1:*******************************************************************
May 05 10:37:39 grincheux fah-client[27196]: 08:37:39:I2:
May 05 10:37:39 grincheux fah-client[27196]: 08:37:39:I2:  
May 05 10:37:39 grincheux fah-client[27196]: 08:37:39:I2:  
May 05 10:37:39 grincheux fah-client[27196]: 08:37:39:I2:
May 05 10:37:39 grincheux fah-client[27196]: 08:37:39:I1:Opening Database
May 05 10:37:39 grincheux fah-client[27196]: 08:37:39:E :Exception: Info category 'Folding@home Client' does have key 'Revision'.
May 05 10:37:39 grincheux systemd[1]: fah-client.service: Main process exited, code=exited, status=1/FAILURE
May 05 10:37:39 grincheux systemd[1]: fah-client.service: Failed with result 'exit-code'.
Image
promeneur
Posts: 212
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 »

@curiosity

fah-web-client-bastet is not installed

or at least in kde menu a launcher to display https://beta.foldingathome.org
Image
promeneur
Posts: 212
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 »

@curiosity

replacing fah-client exe by the one from
https://master.foldingathome.org/builds ... se.tar.bz2
resolves the problem. FAH runs well.
Image
Curiosity
Posts: 12
Joined: Fri May 03, 2024 10:46 pm

Re: [tuto] 8.3.5, openSUSE Tumbleweed, installation

Post by Curiosity »

promeneur wrote: Sun May 05, 2024 8:45 am fah-client does not start
Not good, sorry for that. Meanwhile it starts, however it doesn't recognize my GPU yet. The build scripts are really odd. I'm on it.

Kind regards
Curiosity
Curiosity
Posts: 12
Joined: Fri May 03, 2024 10:46 pm

Re: [tuto] 8.3.5, openSUSE Tumbleweed, installation

Post by Curiosity »

promeneur wrote: Sun May 05, 2024 8:51 am fah-web-client-bastet is not installed
I don't plan to package this, because it's a "development web server" "to run your own frontend server for testing purposes."

Is there a good reason, why you would need that?

Have fun
Curiosity
calxalot
Site Moderator
Posts: 1115
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: [tuto] 8.3.5, openSUSE Tumbleweed, installation

Post by calxalot »

Nobody should be packaging alpha builds, which are frequently broken. Bleeding edge builds even more so.

v8.3.8 is broken in multiple ways on all platforms.
Post Reply