[tuto] 8.3.5, openSUSE Tumbleweed, installation
Posted: Mon Feb 19, 2024 11:06 am
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
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