I am trying to fold for 2 different teams (I know, I am dumb) and automate this on dedicated folding machine. Currently I just use web control and swap my teams via 'change identity' once ever few WUs. I would like to automate this process and leave it on dedicated folding machine so identity of team wil jump from TEAM_A to TEAM_B after every completed WU. My idea was to use command line and run FAHClient from batch file which would loop through 2 lines constantly (please see example of config and batch file below).
config.xml
Code: Select all
<config>
<!-- Folding Slots -->
<slot id='0' type='GPU'>
<pci-bus v='1'/>
<pci-slot v='0'/>
</slot>
</config>
Code: Select all
:start
FAHclient --user=XXXXXXXX --team=TEAM_A --passkey=XXXXXXXXXXXXXXXXXXXXXXXXXXXX --finish
FAHclient --user=XXXXXXXX --team=TEAM_B --passkey=XXXXXXXXXXXXXXXXXXXXXXXXXXXX --finish
goto start
Code: Select all
*********************** Log Started 2021-03-30T16:33:08Z ***********************
16:33:08:******************************* libFAH ********************************
16:33:08: Date: Oct 20 2020
16:33:08: Time: 13:36:55
16:33:08: Revision: 5ca109d295a6245e2a2f590b3d0085ad5e567aeb
16:33:08: Branch: master
16:33:08: Compiler: Visual C++ 2015
16:33:08: Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
16:33:08: Platform: win32 10
16:33:08: Bits: 32
16:33:08: Mode: Release
16:33:08:****************************** FAHClient ******************************
16:33:08: Version: 7.6.21
16:33:08: Author: Joseph Coffland <[email protected]>
16:33:08: Copyright: 2020 foldingathome.org
16:33:08: Homepage: https://foldingathome.org/
16:33:08: Date: Oct 20 2020
16:33:08: Time: 13:41:04
16:33:08: Revision: 6efbf0e138e22d3963e6a291f78dcb9c6422a278
16:33:08: Branch: master
16:33:08: Compiler: Visual C++ 2015
16:33:08: Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
16:33:08: Platform: win32 10
16:33:08: Bits: 32
16:33:08: Mode: Release
16:33:08: Args: --user=xxxxxxxxxxx --team=xxxxxx
16:33:08: --passkey=******************************** --finish
16:33:08: Config: D:\FAH\config.xml
16:33:08:******************************** CBang ********************************
16:33:08: Date: Oct 20 2020
16:33:08: Time: 11:36:18
16:33:08: Revision: 7e4ce85225d7eaeb775e87c31740181ca603de60
16:33:08: Branch: master
16:33:08: Compiler: Visual C++ 2015
16:33:08: Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
16:33:08: Platform: win32 10
16:33:08: Bits: 32
16:33:08: Mode: Release
16:33:08:******************************* System ********************************
16:33:08: CPU: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
16:33:08: CPU ID: GenuineIntel Family 6 Model 158 Stepping 12
16:33:08: CPUs: 16
16:33:08: Memory: 15.93GiB
16:33:08: Free Memory: 11.44GiB
16:33:08: Threads: WINDOWS_THREADS
16:33:08: OS Version: 6.2
16:33:08: Has Battery: false
16:33:08: On Battery: false
16:33:08: UTC Offset: 1
16:33:08: PID: 13196
16:33:08: CWD: D:\FAH
16:33:08: Win32 Service: false
16:33:08: OS: Windows 10 Enterprise
16:33:08: OS Arch: AMD64
16:33:08: GPUs: 1
16:33:08: GPU 0: Bus:1 Slot:0 Func:0 NVIDIA:8 TU104 [GeForce RTX 2070 SUPER]
16:33:08: 8218
16:33:08: CUDA Device 0: Platform:0 Device:0 Bus:1 Slot:0 Compute:7.5 Driver:11.1
16:33:08:OpenCL Device 0: Platform:0 Device:0 Bus:1 Slot:0 Compute:1.2 Driver:456.71
16:33:08:***********************************************************************
16:33:08:<config>
16:33:08: <!-- Folding Slots -->
16:33:08: <slot id='0' type='GPU'>
16:33:08: <pci-bus v='1'/>
16:33:08: <pci-slot v='0'/>
16:33:08: </slot>
16:33:08:</config>
16:33:08:Trying to access database...
16:33:08:Successfully acquired database lock
16:33:08:FS00:Initialized folding slot 00: gpu:1:0 TU104 [GeForce RTX 2070 SUPER] 8218
16:33:08:Unit processing completed
16:33:09:Clean exit
Is there any way to do this? I am using Win 10 but can swap to Linux if this is a deal breaker.