Raspberry Pi 400, Raspberry Pi 64-bit OS, and FAHClient

Moderators: Site Moderators, FAHC Science Team

Post Reply
mwroggenbuck
Posts: 121
Joined: Tue Mar 24, 2020 12:47 pm

Raspberry Pi 400, Raspberry Pi 64-bit OS, and FAHClient

Post by mwroggenbuck »

The official Raspberry Pi 64-bit OS (not beta) came out recently. I thought I would try the folding at home client on my Raspberry Pi 400 and give my notes on the subject. So I did a fresh OS install and installed the FAHClient.

The official OS is easiest to install via the Raspberry Pi Imager (found here https://www.raspberrypi.com/software/). When you run this tool the 64-bit OS is under the Raspberry Pi OS (other) tab. I am going to assume you know how to use this tool.

You can download the FAHClient for Raspberry Pi here (https://foldingathome.org/alternative-downloads/?lng=en) It is at the bottom under ARM Linux/Raspberry Pi.

I only installed the client. There are Python 2 dependency issues with the control program, and I was not interested in the viewer.

Open a terminal and run the following command in the directory where you downloaded the .deb file.

sudo dpkg -i --force-depends ./fahclient_7.6.21_arm64.deb

I recommend the manual install vs just clicking on the file from the GUI. The manual install will prompt you for a number of items and I don't thing the GUI version of install will (I could be wrong).

It will ask for the following items

1) your name (this is probably the name associated with your passkey)
2) team number
3) passkey
4) how much you want to run (power). I selected full.
5) do you want to automatically start. I selected yes. This will install the client as a service. You can always pause/stop computation via the web interface. The service will continue to run, but no computation (CPU cycles) will happen. You can then restart from the web interface.

You can copy and paste these entries, but they are a little hard to see. Just be sure to backspace (delete) the anonymous entry before you put your name in.

The web client control interface is at https://client.foldingathome.org/

configuration files are at /etc/fahclient

data files are at /var/lib/fahclient

That is pretty much it. With my 400, I seem to be doing a work unit every 1.5 days. This beats the deadline.

You can decide for yourself if you think this is worth it. This website claims every work unit counts. You will not rack up the points you would with a GPU, but then you are only using 7 watts.

I will try to answer any questions you might put in the comments.
Last edited by mwroggenbuck on Wed Feb 16, 2022 7:21 pm, edited 2 times in total.
toTOW
Site Moderator
Posts: 6082
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France
Contact:

Re: Raspberry Pi 400, Raspberry Pi 64-bit OS, and FAHClient

Post by toTOW »

Glad that RPi OS is finally available in 64 bits. It will be more intuitive for RPi users than using another distribution.
Image

Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.
gunnarre
Posts: 564
Joined: Sun May 24, 2020 7:23 pm
Location: Norway

Re: Raspberry Pi 400, Raspberry Pi 64-bit OS, and FAHClient

Post by gunnarre »

Thank you. I have ordered one of these. I'll try it out with folding, but it will mainly be used for game emulation.
Image
Online: RTX 3050, GTX 1660 Super, GTX 950 + occasional CPU folding in the cold.
Offline: Radeon HD 7770, GTX 960, GTX 1050 Ti
MeeLee
Posts: 1373
Joined: Tue Feb 19, 2019 10:16 pm

Re: Raspberry Pi 400, Raspberry Pi 64-bit OS, and FAHClient

Post by MeeLee »

toTOW wrote:Glad that RPi OS is finally available in 64 bits. It will be more intuitive for RPi users than using another distribution.
It's probably working because Raspberry Pi os still has python 2.7 support.
This is where the manager depends on.
Python 2,7 and down isn't supported anymore in newer versions of Linux.
The last version that fully supported it, was 18.04.
rbtfrog
Posts: 4
Joined: Tue Apr 21, 2020 9:13 am

Re: Raspberry Pi 400, Raspberry Pi 64-bit OS, and FAHClient

Post by rbtfrog »

It's not that hard to convert a python2.7 program to python3. I'd be willing to give it a shot if somebody would point me to the files that might need working on, and agree to look over my changes to make sure I haven't made any stupid mistakes.
Joe_H
Site Admin
Posts: 7466
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: Raspberry Pi 400, Raspberry Pi 64-bit OS, and FAHClient

Post by Joe_H »

rbtfrog wrote: Sun Oct 30, 2022 2:21 am It's not that hard to convert a python2.7 program to python3. I'd be willing to give it a shot if somebody would point me to the files that might need working on, and agree to look over my changes to make sure I haven't made any stupid mistakes.
Someone already has done that, the Python 3 version of FAHControl is available here - https://github.com/cdberkstresser/fah-control. It is based on the open source available here - https://github.com/FoldingAtHome/fah-control. Some of the difficulty was from the origins of the Python code dating back 10+ years, some of the functions used were removed when Python 3 was released.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
Post Reply