Page 1 of 1
FAHcontrol not saving settings
Posted: Sat May 14, 2022 10:23 pm
by hrsetrdr
I'm running f@h client & fahcontrol_7.6.21-1, OS is Ubuntu 20.04.1. I want to delete the CPU slot but when I do, the setting persists. Rebooted the system doesn't change things either. I have a screen recording that I posted to Youtube to show, as a visual is sometimes easier/more effective than lots of typed words.
https://www.youtube.com/watch?v=tFKt0qI5d5Q
Re: FAHcontrol not saving settings
Posted: Sat May 14, 2022 11:22 pm
by bikeaddict
Check for errors under the Log tab on the main screen. Or view the log directly, which may be located at /var/lib/fahclient/log.txt unless Ubuntu file structure is different than my Fedora system.
Re: FAHcontrol not saving settings
Posted: Sat May 14, 2022 11:28 pm
by hrsetrdr
bikeaddict wrote: ↑Sat May 14, 2022 11:22 pm
Check for errors under the Log tab on the main screen. Or view the log directly, which may be located at /var/lib/fahclient/log.txt unless Ubuntu file structure is different than my Fedora system.
My log:
Code: Select all
user@B560M-AORUS-PRO-AX:~$ cat /var/lib/fahclient/log.txt
*********************** Log Started 2022-05-14T23:08:37Z ***********************
23:08:37:******************************* libFAH ********************************
23:08:37: Date: Oct 20 2020
23:08:37: Time: 20:36:39
23:08:37: Revision: 5ca109d295a6245e2a2f590b3d0085ad5e567aeb
23:08:37: Branch: master
23:08:37: Compiler: GNU 8.3.0
23:08:37: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
23:08:37: -fdata-sections -O3 -funroll-loops -fno-pie
23:08:37: Platform: linux2 5.8.0-1-amd64
23:08:37: Bits: 64
23:08:37: Mode: Release
23:08:37:****************************** FAHClient ******************************
23:08:37: Version: 7.6.21
23:08:37: Author: Joseph Coffland <[email protected]>
23:08:37: Copyright: 2020 foldingathome.org
23:08:37: Homepage: https://foldingathome.org/
23:08:37: Date: Oct 20 2020
23:08:37: Time: 20:39:00
23:08:37: Revision: 6efbf0e138e22d3963e6a291f78dcb9c6422a278
23:08:37: Branch: master
23:08:37: Compiler: GNU 8.3.0
23:08:37: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
23:08:37: -fdata-sections -O3 -funroll-loops -fno-pie
23:08:37: Platform: linux2 5.8.0-1-amd64
23:08:37: Bits: 64
23:08:37: Mode: Release
23:08:37: Args: --child /etc/fahclient/config.xml --run-as fahclient
23:08:37: --pid-file=/var/run/fahclient.pid --daemon
23:08:37: Config: /etc/fahclient/config.xml
23:08:37:******************************** CBang ********************************
23:08:37: Date: Oct 20 2020
23:08:37: Time: 18:37:59
23:08:37: Revision: 7e4ce85225d7eaeb775e87c31740181ca603de60
23:08:37: Branch: master
23:08:37: Compiler: GNU 8.3.0
23:08:37: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
23:08:37: -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
23:08:37: Platform: linux2 5.8.0-1-amd64
23:08:37: Bits: 64
23:08:37: Mode: Release
23:08:37:******************************* System ********************************
23:08:37: CPU: 11th Gen Intel(R) Core(TM) i5-11400F @ 2.60GHz
23:08:37: CPU ID: GenuineIntel Family 6 Model 167 Stepping 1
23:08:37: CPUs: 12
23:08:37: Memory: 31.22GiB
23:08:37: Free Memory: 30.23GiB
23:08:37: Threads: POSIX_THREADS
23:08:37: OS Version: 5.13
23:08:37: Has Battery: false
23:08:37: On Battery: false
23:08:37: UTC Offset: -7
23:08:37: PID: 1575
23:08:37: CWD: /var/lib/fahclient
23:08:37: OS: Linux 5.13.0-41-generic x86_64
23:08:37: OS Arch: AMD64
23:08:37: GPUs: 1
23:08:37: GPU 0: Bus:1 Slot:0 Func:0 NVIDIA:8 GA106 [GeForce RTX 3060 Lite Hash
23:08:37: Rate]
23:08:37: CUDA Device 0: Platform:0 Device:0 Bus:1 Slot:0 Compute:8.6 Driver:11.4
23:08:37:OpenCL Device 0: Platform:0 Device:0 Bus:1 Slot:0 Compute:3.0 Driver:470.103
23:08:37:***********************************************************************
23:08:37:<config>
23:08:37: <!-- Client Control -->
23:08:37: <fold-anon v='true'/>
23:08:37:
23:08:37: <!-- Folding Core -->
23:08:37: <core-priority v='low'/>
23:08:37:
23:08:37: <!-- Network -->
23:08:37: <proxy v=':8080'/>
23:08:37:
23:08:37: <!-- Remote Command Server -->
23:08:37: <password v='*****'/>
23:08:37:
23:08:37: <!-- Slot Control -->
23:08:37: <pause-on-battery v='false'/>
23:08:37: <power v='full'/>
23:08:37:
23:08:37: <!-- User Information -->
23:08:37: <passkey v='*****'/>
23:08:37: <team v='32'/>
23:08:37: <user v='hrsetrdr'/>
23:08:37:
23:08:37: <!-- Folding Slots -->
23:08:37: <slot id='0' type='CPU'/>
23:08:37: <slot id='1' type='GPU'>
23:08:37: <pci-bus v='1'/>
23:08:37: <pci-slot v='0'/>
23:08:37: </slot>
23:08:37:</config>
23:08:37:Trying to access database...
23:08:37:Successfully acquired database lock
23:08:37:FS00:Initialized folding slot 00: cpu:11
23:08:37:FS01:Initialized folding slot 01: gpu:1:0 GA106 [GeForce RTX 3060 Lite Hash Rate]
23:08:37:WU00:FS00:Starting
23:08:37:WU00:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/lin/64bit-avx2-256/a8-0.0.12/Core_a8.fah/FahCore_a8 -dir 00 -suffix 01 -version 706 -lifeline 1575 -checkpoint 15 -np 11
23:08:37:WU00:FS00:Started FahCore on PID 1603
23:08:37:WU00:FS00:Core PID:1613
23:08:37:WU00:FS00:FahCore 0xa8 started
23:08:37:WU01:FS01:Starting
23:08:37:WU01:FS01:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/lin/64bit/22-0.0.20/Core_22.fah/FahCore_22 -dir 01 -suffix 01 -version 706 -lifeline 1575 -checkpoint 15 -opencl-platform 0 -opencl-device 0 -cuda-device 0 -gpu-vendor nvidia -gpu 0 -gpu-usage 100
23:08:37:WU01:FS01:Started FahCore on PID 1641
23:08:37:WU01:FS01:Core PID:1645
23:08:37:WU01:FS01:FahCore 0x22 started
23:08:37:WU00:FS00:0xa8:*********************** Log Started 2022-05-14T23:08:37Z ***********************
23:08:37:WU00:FS00:0xa8:************************** Gromacs Folding@home Core ***************************
23:08:37:WU00:FS00:0xa8: Core: Gromacs
23:08:37:WU00:FS00:0xa8: Type: 0xa8
23:08:37:WU00:FS00:0xa8: Version: 0.0.12
23:08:37:WU00:FS00:0xa8: Author: Joseph Coffland <[email protected]>
23:08:37:WU00:FS00:0xa8: Copyright: 2020 foldingathome.org
23:08:37:WU00:FS00:0xa8: Homepage: https://foldingathome.org/
23:08:37:WU00:FS00:0xa8: Date: Jan 16 2021
23:08:37:WU00:FS00:0xa8: Time: 19:24:44
23:08:37:WU00:FS00:0xa8: Compiler: GNU 8.3.0
23:08:37:WU00:FS00:0xa8: Options: -faligned-new -std=c++14 -fsigned-char -ffunction-sections
23:08:37:WU00:FS00:0xa8: -fdata-sections -O3 -funroll-loops -fno-pie
23:08:37:WU00:FS00:0xa8: Platform: linux2 4.15.0-128-generic
23:08:37:WU00:FS00:0xa8: Bits: 64
23:08:37:WU00:FS00:0xa8: Mode: Release
23:08:37:WU00:FS00:0xa8: SIMD: avx2_256
23:08:37:WU00:FS00:0xa8: OpenMP: ON
23:08:37:WU00:FS00:0xa8: CUDA: OFF
23:08:37:WU00:FS00:0xa8: Args: -dir 00 -suffix 01 -version 706 -lifeline 1603 -checkpoint 15 -np
23:08:37:WU00:FS00:0xa8: 11
23:08:37:WU00:FS00:0xa8:************************************ libFAH ************************************
23:08:37:WU00:FS00:0xa8: Date: Jan 16 2021
23:08:37:WU00:FS00:0xa8: Time: 19:21:38
23:08:37:WU00:FS00:0xa8: Compiler: GNU 8.3.0
23:08:37:WU00:FS00:0xa8: Options: -faligned-new -std=c++14 -fsigned-char -ffunction-sections
23:08:37:WU00:FS00:0xa8: -fdata-sections -O3 -funroll-loops -fno-pie
23:08:37:WU00:FS00:0xa8: Platform: linux2 4.15.0-128-generic
23:08:37:WU00:FS00:0xa8: Bits: 64
23:08:37:WU00:FS00:0xa8: Mode: Release
23:08:37:WU00:FS00:0xa8:************************************ CBang *************************************
23:08:37:WU00:FS00:0xa8: Date: Jan 16 2021
23:08:37:WU00:FS00:0xa8: Time: 19:21:24
23:08:37:WU00:FS00:0xa8: Compiler: GNU 8.3.0
23:08:37:WU00:FS00:0xa8: Options: -faligned-new -std=c++14 -fsigned-char -ffunction-sections
23:08:37:WU00:FS00:0xa8: -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
23:08:37:WU00:FS00:0xa8: Platform: linux2 4.15.0-128-generic
23:08:37:WU00:FS00:0xa8: Bits: 64
23:08:37:WU00:FS00:0xa8: Mode: Release
23:08:37:WU00:FS00:0xa8:************************************ System ************************************
23:08:37:WU00:FS00:0xa8: CPU: 11th Gen Intel(R) Core(TM) i5-11400F @ 2.60GHz
23:08:37:WU00:FS00:0xa8: CPU ID: GenuineIntel Family 6 Model 167 Stepping 1
23:08:37:WU00:FS00:0xa8: CPUs: 12
23:08:37:WU00:FS00:0xa8: Memory: 31.22GiB
23:08:37:WU00:FS00:0xa8:Free Memory: 30.19GiB
23:08:37:WU00:FS00:0xa8: Threads: POSIX_THREADS
23:08:37:WU00:FS00:0xa8: OS Version: 5.13
23:08:37:WU00:FS00:0xa8:Has Battery: false
23:08:37:WU00:FS00:0xa8: On Battery: false
23:08:37:WU00:FS00:0xa8: UTC Offset: -7
23:08:37:WU00:FS00:0xa8: PID: 1613
23:08:37:WU00:FS00:0xa8: CWD: /var/lib/fahclient/work
23:08:37:WU00:FS00:0xa8:********************************************************************************
23:08:37:WU00:FS00:0xa8:Project: 16959 (Run 10, Clone 162, Gen 377)
23:08:37:WU00:FS00:0xa8:Unit: 0x00000000000000000000000000000000
23:08:37:WU00:FS00:0xa8:Digital signatures verified
23:08:37:WU00:FS00:0xa8:Calling: mdrun -c frame377.gro -s frame377.tpr -x frame377.xtc -cpi state.cpt -cpt 15 -nt 11 -ntmpi 1
23:08:37:WU00:FS00:0xa8:Steps: first=942500000 total=945000000
23:08:37:WU01:FS01:0x22:*********************** Log Started 2022-05-14T23:08:37Z ***********************
23:08:37:WU01:FS01:0x22:*************************** Core22 Folding@home Core ***************************
23:08:37:WU01:FS01:0x22: Core: Core22
23:08:37:WU01:FS01:0x22: Type: 0x22
23:08:37:WU01:FS01:0x22: Version: 0.0.20
23:08:37:WU01:FS01:0x22: Author: Joseph Coffland <[email protected]>
23:08:37:WU01:FS01:0x22: Copyright: 2020 foldingathome.org
23:08:37:WU01:FS01:0x22: Homepage: https://foldingathome.org/
23:08:37:WU01:FS01:0x22: Date: Jan 20 2022
23:08:37:WU01:FS01:0x22: Time: 00:57:52
23:08:37:WU01:FS01:0x22: Revision: 3f211b8a4346514edbff34e3cb1c0e0ec951373c
23:08:37:WU01:FS01:0x22: Branch: HEAD
23:08:37:WU01:FS01:0x22: Compiler: GNU 9.4.0
23:08:37:WU01:FS01:0x22: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
23:08:37:WU01:FS01:0x22: -fdata-sections -O3 -funroll-loops -fno-pie
23:08:37:WU01:FS01:0x22: -DOPENMM_VERSION="\"7.7.0\""
23:08:37:WU01:FS01:0x22: Platform: linux 5.11.0-1025-azure
23:08:37:WU01:FS01:0x22: Bits: 64
23:08:37:WU01:FS01:0x22: Mode: Release
23:08:37:WU01:FS01:0x22:Maintainers: John Chodera <[email protected]> and Peter Eastman
23:08:37:WU01:FS01:0x22: <[email protected]>
23:08:37:WU01:FS01:0x22: Args: -dir 01 -suffix 01 -version 706 -lifeline 1641 -checkpoint 15
23:08:37:WU01:FS01:0x22: -opencl-platform 0 -opencl-device 0 -cuda-device 0 -gpu-vendor
23:08:37:WU01:FS01:0x22: nvidia -gpu 0 -gpu-usage 100
23:08:37:WU01:FS01:0x22:************************************ libFAH ************************************
23:08:37:WU01:FS01:0x22: Date: Jan 20 2022
23:08:37:WU01:FS01:0x22: Time: 00:57:22
23:08:37:WU01:FS01:0x22: Revision: 9f4ad694e75c2350d4bb6b8b5b769ba27e483a2f
23:08:37:WU01:FS01:0x22: Branch: HEAD
23:08:37:WU01:FS01:0x22: Compiler: GNU 9.4.0
23:08:37:WU01:FS01:0x22: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
23:08:37:WU01:FS01:0x22: -fdata-sections -O3 -funroll-loops -fno-pie
23:08:37:WU01:FS01:0x22: Platform: linux 5.11.0-1025-azure
23:08:37:WU01:FS01:0x22: Bits: 64
23:08:37:WU01:FS01:0x22: Mode: Release
23:08:37:WU01:FS01:0x22:************************************ CBang *************************************
23:08:37:WU01:FS01:0x22: Date: Jan 20 2022
23:08:37:WU01:FS01:0x22: Time: 00:57:00
23:08:37:WU01:FS01:0x22: Revision: ab023d155b446906d55b0f6c9a1eedeea04f7a1a
23:08:37:WU01:FS01:0x22: Branch: HEAD
23:08:37:WU01:FS01:0x22: Compiler: GNU 9.4.0
23:08:37:WU01:FS01:0x22: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
23:08:37:WU01:FS01:0x22: -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
23:08:37:WU01:FS01:0x22: Platform: linux 5.11.0-1025-azure
23:08:37:WU01:FS01:0x22: Bits: 64
23:08:37:WU01:FS01:0x22: Mode: Release
23:08:37:WU01:FS01:0x22:************************************ System ************************************
23:08:37:WU01:FS01:0x22: CPU: 11th Gen Intel(R) Core(TM) i5-11400F @ 2.60GHz
23:08:37:WU01:FS01:0x22: CPU ID: GenuineIntel Family 6 Model 167 Stepping 1
23:08:37:WU01:FS01:0x22: CPUs: 12
23:08:37:WU01:FS01:0x22: Memory: 31.22GiB
23:08:37:WU01:FS01:0x22:Free Memory: 30.09GiB
23:08:37:WU01:FS01:0x22: Threads: POSIX_THREADS
23:08:37:WU01:FS01:0x22: OS Version: 5.13
23:08:37:WU01:FS01:0x22:Has Battery: false
23:08:37:WU01:FS01:0x22: On Battery: false
23:08:37:WU01:FS01:0x22: UTC Offset: -7
23:08:37:WU01:FS01:0x22: PID: 1645
23:08:37:WU01:FS01:0x22: CWD: /var/lib/fahclient/work
23:08:37:WU01:FS01:0x22:************************************ OpenMM ************************************
23:08:37:WU01:FS01:0x22: Version: 7.7.0
23:08:37:WU01:FS01:0x22:********************************************************************************
23:08:37:WU01:FS01:0x22:Project: 18202 (Run 4189, Clone 0, Gen 9)
23:08:37:WU01:FS01:0x22:Digital signatures verified
23:08:37:WU01:FS01:0x22:Folding@home GPU Core22 Folding@home Core
23:08:37:WU01:FS01:0x22:Version 0.0.20
23:08:37:WU01:FS01:0x22: Checkpoint write interval: 25000 steps (2%) [50 total]
23:08:37:WU01:FS01:0x22: JSON viewer frame write interval: 12500 steps (1%) [100 total]
23:08:37:WU01:FS01:0x22: XTC frame write interval: 20000 steps (1.6%) [62 total]
23:08:37:WU01:FS01:0x22: Global context and integrator variables write interval: disabled
23:08:37:WU01:FS01:0x22:There are 4 platforms available.
23:08:37:WU01:FS01:0x22:Platform 0: Reference
23:08:37:WU01:FS01:0x22:Platform 1: CPU
23:08:37:WU01:FS01:0x22:Platform 2: OpenCL
23:08:37:WU01:FS01:0x22: opencl-device 0 specified
23:08:37:WU01:FS01:0x22:Platform 3: CUDA
23:08:37:WU01:FS01:0x22: cuda-device 0 specified
23:08:38:WU00:FS00:0xa8:Completed 31352 out of 2500000 steps (1%)
23:08:45:WU01:FS01:0x22:Attempting to create CUDA context:
23:08:45:WU01:FS01:0x22: Configuring platform CUDA
23:08:55:WU01:FS01:0x22: Using CUDA and gpu 0
23:08:55:WU01:FS01:0x22:Completed 175000 out of 1250000 steps (14%)
23:10:44:WU00:FS00:0xa8:Completed 50000 out of 2500000 steps (2%)
23:10:54:WU01:FS01:0x22:Completed 187500 out of 1250000 steps (15%)
23:12:52:WU01:FS01:0x22:Completed 200000 out of 1250000 steps (16%)
23:12:53:WU01:FS01:0x22:Checkpoint completed at step 200000
23:13:46:WU00:FS00:0xa8:Completed 75000 out of 2500000 steps (3%)
23:14:51:WU01:FS01:0x22:Completed 212500 out of 1250000 steps (17%)
23:16:43:WU00:FS00:0xa8:Completed 100000 out of 2500000 steps (4%)
23:16:50:WU01:FS01:0x22:Completed 225000 out of 1250000 steps (18%)
23:16:51:WU01:FS01:0x22:Checkpoint completed at step 225000
23:18:49:WU01:FS01:0x22:Completed 237500 out of 1250000 steps (19%)
23:19:41:WU00:FS00:0xa8:Completed 125000 out of 2500000 steps (5%)
23:20:47:WU01:FS01:0x22:Completed 250000 out of 1250000 steps (20%)
23:20:49:WU01:FS01:0x22:Checkpoint completed at step 250000
23:21:59:FS00:Finishing
23:21:59:FS01:Finishing
23:22:43:WU00:FS00:0xa8:Completed 150000 out of 2500000 steps (6%)
23:22:47:WU01:FS01:0x22:Completed 262500 out of 1250000 steps (21%)
Re: FAHcontrol not saving settings
Posted: Sun May 15, 2022 12:16 am
by hrsetrdr
So I decided to take a sledgehammer to it and edit /etc/fahclient/config.xml , took out " <slot id='0' type='CPU'>" and was done with it.
I still would want to know the "why" as in WHY editinf the FAHcontrol configuration in the GUI doesn't save the changes....
Re: FAHcontrol not saving settings
Posted: Sun May 15, 2022 6:48 am
by PaulTV
Taking out the CPU slot out of config.xml may not persist through reboots. The client is designed to look around what hardware there is at startup, so the CPU slot may reappear. You can add <pause-on-start v='True'/> to the slot, so that it won't used for folding.
When editing config.xml, be sure to have fahclient stopped, otherwise it may overwrite your changes.
Re: FAHcontrol not saving settings
Posted: Mon May 16, 2022 3:03 pm
by hrsetrdr
Thanks, the CPU slot removal survived a reboot, but if it does reappear I'll add the "<pause-on-start v='True'/>" to the config.xml .
Re: FAHcontrol not saving settings
Posted: Fri May 20, 2022 2:08 pm
by toTOW
PaulTV wrote: ↑Sun May 15, 2022 6:48 am
Taking out the CPU slot out of config.xml may not persist through reboots. The client is designed to look around what hardware there is at startup, so the CPU slot may reappear.
This is true for the GPU slots, but the client doesn't recreate CPU slot.
Re: FAHcontrol not saving settings
Posted: Mon Aug 08, 2022 8:36 am
by Sandman192
toTOW wrote: ↑Fri May 20, 2022 2:08 pm
PaulTV wrote: ↑Sun May 15, 2022 6:48 am
Taking out the CPU slot out of config.xml may not persist through reboots. The client is designed to look around what hardware there is at startup, so the CPU slot may reappear.
This is true for the GPU slots, but the client doesn't recreate CPU slot.
But I know it recreates GPU slots after shutting down and reopening F@H or rebooting the computer it starts running GPUs again that I just removed. I have 2 computers to back me up on that. I think any slot in general the client goes back to default. Can't run GPU work from an APU because I thank it's too slow or 512 MB of shared memory is not's enough, and I can't change it in the BIOS, and I don't get credit for it.
Re: FAHcontrol not saving settings
Posted: Mon Aug 08, 2022 3:13 pm
by Joe_H
Sandman192 wrote: ↑Mon Aug 08, 2022 8:36 am
toTOW wrote: ↑Fri May 20, 2022 2:08 pm
PaulTV wrote: ↑Sun May 15, 2022 6:48 am
Taking out the CPU slot out of config.xml may not persist through reboots. The client is designed to look around what hardware there is at startup, so the CPU slot may reappear.
This is true for the GPU slots, but the client doesn't recreate CPU slot.
But I know it recreates GPU slots after shutting down and reopening F@H or rebooting the computer it starts running GPUs again that I just removed. I have 2 computers to back me up on that. I think any slot in general the client goes back to default. Can't run GPU work from an APU because I thank it's too slow or 512 MB of shared memory is not's enough, and I can't change it in the BIOS, and I don't get credit for it.
This topic is about CPU slots, your observation about GPU slots is off topic. The reply by toTOW is exactly what will happen if you just remove a GPU slot, the client by default will recreate it. There are other topics that go into this and give a workaround to turn off the auto recreation of a GPU slot. That requires adding the option "gpu" set to "false" under the Expert tab of Configure.