cburgdorfer wrote: ↑Mon Jan 31, 2022 4:09 pm
I've been trying to research if it's possible to install FAH on Raspberry Pi 4 or not. There are some tutorials on Google that claim that it's possible, but when I follow them, I get the error:
Code: Select all
ubuntu@ubuntu:~/fah$ /etc/init.d/FAHClient -v start
Starting fahclient ... 15:54:26:Read GPUs.txt
15:54:26:******************************* libFAH ********************************
15:54:26: Date: Oct 20 2020
15:54:26: Time: 20:36:48
15:54:26: Revision: 5ca109d295a6245e2a2f590b3d0085ad5e567aeb
15:54:26: Branch: master
15:54:26: Compiler: GNU 8.3.0
15:54:26: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
15:54:26: -fdata-sections -O3 -funroll-loops -fno-pie
15:54:26: Platform: linux2 4.19.0-9-arm64
15:54:26: Bits: 64
15:54:26: Mode: Release
15:54:26:****************************** FAHClient ******************************
15:54:26: Version: 7.6.21
15:54:26: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
15:54:26: Copyright: 2020 foldingathome.org
15:54:26: Homepage: https://foldingathome.org/
15:54:26: Date: Oct 20 2020
15:54:26: Time: 20:39:10
15:54:26: Revision: 6efbf0e138e22d3963e6a291f78dcb9c6422a278
15:54:26: Branch: master
15:54:26: Compiler: GNU 8.3.0
15:54:26: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
15:54:26: -fdata-sections -O3 -funroll-loops -fno-pie
15:54:26: Platform: linux2 4.19.0-9-arm64
15:54:26: Bits: 64
15:54:26: Mode: Release
15:54:26: Args: /etc/fahclient/config.xml --run-as fahclient
15:54:26: --pid-file=/var/run/fahclient.pid --daemon
15:54:26: Config: /etc/fahclient/config.xml
15:54:26:******************************** CBang ********************************
15:54:26: Date: Oct 20 2020
15:54:26: Time: 18:38:03
15:54:26: Revision: 7e4ce85225d7eaeb775e87c31740181ca603de60
15:54:26: Branch: master
15:54:26: Compiler: GNU 8.3.0
15:54:26: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
15:54:26: -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
15:54:26: Platform: linux2 4.19.0-9-arm64
15:54:26: Bits: 64
15:54:26: Mode: Release
15:54:26:******************************* System ********************************
15:54:26: CPU: Unknown
15:54:26: CPU ID:
15:54:26: CPUs: 4
15:54:26: Memory: 3.70GiB
15:54:26:Free Memory: 1.33GiB
15:54:26: Threads: POSIX_THREADS
15:54:26: OS Version: 5.4
15:54:26:Has Battery: false
15:54:26: On Battery: false
15:54:26: UTC Offset: 8
15:54:26: PID: 747580
15:54:26: CWD: /var/lib/fahclient
15:54:26: OS: Linux 5.4.0-1045-raspi aarch64
15:54:26: OS Arch: ARM64
15:54:26: GPUs: 0
15:54:26: CUDA: Not detected: Failed to open dynamic library 'libcuda.so':
15:54:26: libcuda.so: cannot open shared object file: No such file or
15:54:26: directory
15:54:26: OpenCL: Not detected: clGetPlatformIDs() returned -1001
15:54:26:***********************************************************************
15:54:26:<config>
15:54:26: <!-- Client Control -->
15:54:26: <fold-anon v='true'/>
15:54:26:
15:54:26: <!-- Folding Slot Configuration -->
15:54:26: <gpu v='false'/>
15:54:26:
15:54:26: <!-- Process Control -->
15:54:26: <fork v='true'/>
15:54:26: <pid v='true'/>
15:54:26: <respawn v='true'/>
15:54:26: <service v='true'/>
15:54:26:
15:54:26: <!-- Slot Control -->
15:54:26: <power v='light'/>
15:54:26:
15:54:26: <!-- User Information -->
15:54:26: <user v='cburgdorfer'/>
15:54:26:
15:54:26: <!-- Folding Slots -->
15:54:26: <slot id='0' type='CPU'/>
15:54:26:</config>
15:54:26:Child exited with return code 1
15:54:26:Child exited with return code 1
15:54:26:Child exited with return code 1
15:54:26:Child exited with return code 1
15:54:26:Child exited with return code 1
15:54:26:ERROR:Respawning too fast. Exiting.
FAIL
I'm running a 64 bit Ubuntu on a Raspberry Pi 4
Is it possible to overcome these errors or am I stuck in a dead-end?
It's definitely possible to fold on a Pi, because I have 10 Pi's, running 64-bit Raspios lite (Bullseye), which have been folding continuously for more than a year!
And, ignore MeeLee. There are plenty of WU's for ARM processors, and they are doing good work. But, if you have a discrete GPU in another machine, you could consider folding on that for more points, or just to help more.
As per calxalot's reply, you need to use sudo /etc/init.d/FAHClient -v start to run FAHClient. Try that first.
Firstly, set next-unit-percentage to 100(%) in Extra Client options. The default value for next-unit-percentage is 90%. Then get a passkey, otherwise you won't get any bonus points.
Completing 10% of a WU can take more than six and a half hours. You want to return WU's as quickly as possible, to help FAH solve problems as soon as possible. If a WU isn't completed by the Timeout, it will be assigned to another client machine, and you won't get any bonus points (also called quick return bonus). If a WU isn't completed by the Expiration, that WU will be dumped, and you won't get any points (or have helped FAH).
Your System Info is virtually the same as mine.
Regarding your config file options: I've never seen those Process Control options before. You shouldn't have <fold-anon v='true'/>, as it conflicts with <user v='cburgdorfer'/>. Also you don't need <gpu v='false'/>. It's redundant, as there's no GPU to find. The other difference is <power v='light'/>. That needs to be set to 'full' on ARM processors, otherwise you probably won't complete any WU's.
I also have an Extra client option, child, which is set to true, and is the only value missing in Args, listed under FAHClient in your System Info.
Finally, OpenCL returns a different error, but I don't think that matters.
Perhaps, cleaning up your config file will solve your problems.
Using FAH Control. delete <fold-anon v='true'/>, <gpu v='false'/>, <fork v='true'/>, <pid v='true'/>, <respawn v='true'/>, <service v='true'/>, change <power v='light'/> to <power v='full'/>, and add the Extra client option setting child to true, and see if that works. Because it works for me. And, given our System Info is virtually the same, I don't think Ubuntu is the problem.
Refer to
Incorrect Slot Options on this page
viewtopic.php?p=327416&f=24#p327416 to understand all configure options and their defaults.
Also, I'm wondering why use don't just use Raspios.
Here's my config information (hopefully it's helps you complete your setup, with remote access, for instance, plus it's shows what should happen when it works):
Code: Select all
*********************** Log Started 2023-02-09T16:34:42Z ***********************
16:34:42:******************************* libFAH ********************************
16:34:42: Date: Oct 20 2020
16:34:42: Time: 20:36:48
16:34:42: Revision: 5ca109d295a6245e2a2f590b3d0085ad5e567aeb
16:34:42: Branch: master
16:34:42: Compiler: GNU 8.3.0
16:34:42: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
16:34:42: -fdata-sections -O3 -funroll-loops -fno-pie
16:34:42: Platform: linux2 4.19.0-9-arm64
16:34:42: Bits: 64
16:34:42: Mode: Release
16:34:42:****************************** FAHClient ******************************
16:34:42: Version: 7.6.21
16:34:42: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
16:34:42: Copyright: 2020 foldingathome.org
16:34:42: Homepage: https://foldingathome.org/
16:34:42: Date: Oct 20 2020
16:34:42: Time: 20:39:10
16:34:42: Revision: 6efbf0e138e22d3963e6a291f78dcb9c6422a278
16:34:42: Branch: master
16:34:42: Compiler: GNU 8.3.0
16:34:42: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
16:34:42: -fdata-sections -O3 -funroll-loops -fno-pie
16:34:42: Platform: linux2 4.19.0-9-arm64
16:34:42: Bits: 64
16:34:42: Mode: Release
16:34:42: Args: --child /etc/fahclient/config.xml --run-as fahclient
16:34:42: --pid-file=/var/run/fahclient.pid --daemon
16:34:42: Config: /etc/fahclient/config.xml
16:34:42:******************************** CBang ********************************
16:34:42: Date: Oct 20 2020
16:34:42: Time: 18:38:03
16:34:42: Revision: 7e4ce85225d7eaeb775e87c31740181ca603de60
16:34:42: Branch: master
16:34:42: Compiler: GNU 8.3.0
16:34:42: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
16:34:42: -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
16:34:42: Platform: linux2 4.19.0-9-arm64
16:34:42: Bits: 64
16:34:42: Mode: Release
16:34:42:******************************* System ********************************
16:34:42: CPU: Unknown
16:34:42: CPU ID:
16:34:42: CPUs: 4
16:34:42: Memory: 1.81GiB
16:34:42:Free Memory: 1.64GiB
16:34:42: Threads: POSIX_THREADS
16:34:42: OS Version: 5.15
16:34:42:Has Battery: false
16:34:42: On Battery: false
16:34:42: UTC Offset: 11
16:34:42: PID: 523
16:34:42: CWD: /var/lib/fahclient
16:34:42: OS: Linux 5.15.84-v8+ aarch64
16:34:42: OS Arch: ARM64
16:34:42: GPUs: 0
16:34:42: CUDA: Not detected: Failed to open dynamic library 'libcuda.so':
16:34:42: libcuda.so: cannot open shared object file: No such file or
16:34:42: directory
16:34:42: OpenCL: Not detected: Failed to open dynamic library 'libOpenCL.so':
16:34:42: libOpenCL.so: cannot open shared object file: No such file or
16:34:42: directory
16:34:42:***********************************************************************
16:34:42:<config>
16:34:42: <!-- Folding Core -->
16:34:42: <checkpoint v='30'/>
16:34:42:
16:34:42: <!-- Folding Slot Configuration -->
16:34:42: <cause v='CANCER'/>
16:34:42:
16:34:42: <!-- HTTP Server -->
16:34:42: <allow v='127.0.0.1 192.168.231.90'/>
16:34:42:
16:34:42: <!-- Network -->
16:34:42: <proxy v=':8080'/>
16:34:42:
16:34:42: <!-- Remote Command Server -->
16:34:42: <command-allow-no-pass v='127.0.0.1 192.168.231.90'/>
16:34:42:
16:34:42: <!-- Slot Control -->
16:34:42: <pause-on-battery v='false'/>
16:34:42: <power v='full'/>
16:34:42:
16:34:42: <!-- User Information -->
16:34:42: <passkey v='passkey'/>
16:34:42: <team v='team'/>
16:34:42: <user v='username'/>
16:34:42:
16:34:42: <!-- Work Unit Control -->
16:34:42: <next-unit-percentage v='100'/>
16:34:42:
16:34:42: <!-- Folding Slots -->
16:34:42: <slot id='0' type='CPU'/>
16:34:42:</config>
16:34:42:Trying to access database...
16:34:42:Successfully acquired database lock
16:34:42:FS00:Initialized folding slot 00: cpu:4
16:34:42:WU00:FS00:Starting
16:34:42:WU00:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/lin/64bit-aarch64/a8-0.0.12/Core_a8.fah/FahCore_a8 -dir 00 -suffix 01 -version 706 -lifeline 523 -checkpoint 30 -np 4
16:34:42:WU00:FS00:Started FahCore on PID 533
16:34:42:WU00:FS00:Core PID:537
16:34:42:WU00:FS00:FahCore 0xa8 started
16:34:45:WU00:FS00:0xa8:*********************** Log Started 2023-02-09T16:34:44Z ***********************
16:34:45:WU00:FS00:0xa8:************************** Gromacs Folding@home Core ***************************
16:34:45:WU00:FS00:0xa8: Core: Gromacs
16:34:45:WU00:FS00:0xa8: Type: 0xa8
16:34:45:WU00:FS00:0xa8: Version: 0.0.12
16:34:45:WU00:FS00:0xa8: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
16:34:45:WU00:FS00:0xa8: Copyright: 2020 foldingathome.org
16:34:45:WU00:FS00:0xa8: Homepage: https://foldingathome.org/
16:34:45:WU00:FS00:0xa8: Date: Jan 16 2021
16:34:45:WU00:FS00:0xa8: Time: 19:29:29
16:34:45:WU00:FS00:0xa8: Compiler: GNU 8.3.0
16:34:45:WU00:FS00:0xa8: Options: -faligned-new -std=c++14 -fsigned-char -ffunction-sections
16:34:45:WU00:FS00:0xa8: -fdata-sections -O3 -funroll-loops -fno-pie
16:34:45:WU00:FS00:0xa8: Platform: linux2 4.15.0-128-generic
16:34:45:WU00:FS00:0xa8: Bits: 64
16:34:45:WU00:FS00:0xa8: Mode: Release
16:34:45:WU00:FS00:0xa8: SIMD: arm_neon_asimd
16:34:45:WU00:FS00:0xa8: OpenMP: ON
16:34:45:WU00:FS00:0xa8: CUDA: OFF
16:34:45:WU00:FS00:0xa8: Args: -dir 00 -suffix 01 -version 706 -lifeline 533 -checkpoint 30 -np 4
16:34:45:WU00:FS00:0xa8:************************************ libFAH ************************************
16:34:45:WU00:FS00:0xa8: Date: Jan 16 2021
16:34:45:WU00:FS00:0xa8: Time: 19:29:00
16:34:45:WU00:FS00:0xa8: Compiler: GNU 8.3.0
16:34:45:WU00:FS00:0xa8: Options: -faligned-new -std=c++14 -fsigned-char -ffunction-sections
16:34:45:WU00:FS00:0xa8: -fdata-sections -O3 -funroll-loops -fno-pie
16:34:45:WU00:FS00:0xa8: Platform: linux2 4.15.0-128-generic
16:34:45:WU00:FS00:0xa8: Bits: 64
16:34:45:WU00:FS00:0xa8: Mode: Release
16:34:45:WU00:FS00:0xa8:************************************ CBang *************************************
16:34:45:WU00:FS00:0xa8: Date: Jan 16 2021
16:34:45:WU00:FS00:0xa8: Time: 19:28:44
16:34:45:WU00:FS00:0xa8: Compiler: GNU 8.3.0
16:34:45:WU00:FS00:0xa8: Options: -faligned-new -std=c++14 -fsigned-char -ffunction-sections
16:34:45:WU00:FS00:0xa8: -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
16:34:45:WU00:FS00:0xa8: Platform: linux2 4.15.0-128-generic
16:34:45:WU00:FS00:0xa8: Bits: 64
16:34:45:WU00:FS00:0xa8: Mode: Release
16:34:45:WU00:FS00:0xa8:************************************ System ************************************
16:34:45:WU00:FS00:0xa8: CPU: Cortex-A
16:34:45:WU00:FS00:0xa8: CPU ID: Arm Family 8 Model 72 Stepping 3
16:34:45:WU00:FS00:0xa8: CPUs: 4
16:34:45:WU00:FS00:0xa8: Memory: 1.81GiB
16:34:45:WU00:FS00:0xa8:Free Memory: 1.64GiB
16:34:45:WU00:FS00:0xa8: Threads: POSIX_THREADS
16:34:45:WU00:FS00:0xa8: OS Version: 5.15
16:34:45:WU00:FS00:0xa8:Has Battery: false
16:34:45:WU00:FS00:0xa8: On Battery: false
16:34:45:WU00:FS00:0xa8: UTC Offset: 11
16:34:45:WU00:FS00:0xa8: PID: 537
16:34:45:WU00:FS00:0xa8: CWD: /var/lib/fahclient/work
16:34:45:WU00:FS00:0xa8:********************************************************************************
Good luck.