Start folding automatically at startup [8.4.9]

If you're new to FAH and need help getting started or you have very basic questions, start here.

Moderators: Site Moderators, FAHC Science Team

Post Reply
spf2001
Posts: 3
Joined: Thu Mar 06, 2025 3:26 pm

Start folding automatically at startup [8.4.9]

Post by spf2001 »

Hi there! I am using the folding@home client as an example GPU workload in a Kubernetes cluster. By leveraging the linuxserver.io image, I have successfully deployed FAH into my cluster including setting it up with an account/team via environment variables.

The issue I am looking to resolve is setting up the client to automatically begin folding at startup instead of waiting for me to goto the webui and click "Start".

Is this something I can do with an additional argument, env, or config file?
spf2001
Posts: 3
Joined: Thu Mar 06, 2025 3:26 pm

Re: Start folding automatically at startup [8.4.9]

Post by spf2001 »

Looks like I may potentially be able to set something like this?

Code: Select all

state=fold
https://github.com/FoldingAtHome/fah-cl ... ig.cpp#L79
muziqaz
Posts: 1426
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 7950x3D, 5950x, 5800x3D
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, RX 550 640SP
Location: London
Contact:

Re: Start folding automatically at startup [8.4.9]

Post by muziqaz »

This is not advisable because half of the people who install fah have systems which are not set up for folding driver wise or API wise. That results in loads of units wasted before users realise stuff is not working.
FAH Omega tester
Image
spf2001
Posts: 3
Joined: Thu Mar 06, 2025 3:26 pm

Re: Start folding automatically at startup [8.4.9]

Post by spf2001 »

That makes sense. But why not offer it as an option where the default is to not automatically start?
Joe_H
Site Admin
Posts: 8074
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Studio M1 Max 32 GB smp6
Mac Hack i7-7700K 48 GB smp4
Location: W. MA

Re: Start folding automatically at startup [8.4.9]

Post by Joe_H »

Possibly from at least a decade of complaints about the autostart in the v7 client even though it was relatively easily to configure off.
Image
calxalot
Site Moderator
Posts: 1404
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: Start folding automatically at startup [8.4.9]

Post by calxalot »

You can also send a fold command using fahctl python script, which is installed with the client on Linux.
Post Reply