Reconfiguring installation to MANUALLY start?

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
YosiMor
Posts: 15
Joined: Wed Jul 08, 2020 9:32 am
Hardware configuration: Once-fairly-powerful 10-year-old (non-gaming) desktop PC: 1st-gen Core i7-860 #CPU + 8 GB RAM + GeForce GT 240.
Dual-boot configuration running Windows 10 + (lately, mostly) Ubuntu LTS 20.04 .
Location: Kiryat Ata, Israel

Reconfiguring installation to MANUALLY start?

Post by YosiMor »

What is the best/easiest way to reconfigure my Folding@Home installations so that they do not automatically start upon booting, and instead allow me to manually start them? I need these instructions for both Windows and Linux.

For the record:
  • I have installed Folding@Home in the default/recommended manner in both OS environments of my dual-boot desktop machine: both Windows 10 and Ubuntu.
  • Although I do my best to minimize switching between my Windows and Linux environments, I want to avoid a situation whereby a brief visit to one OS will result in a WU assignment that will stall and maybe expire once I switch to my other OS. I have tried pressing "Finish" in FAHControl and waiting for the current WU to complete and then for all folding slots to pause before switching to the other OS. But I see that this "pause" state is not persisted after booting back into the previous OS.
  • On my Windows 10, I tried looking at the "Startup" settings, but did not see anything FAH-related. I assume that I can simply reinstall Folding@Home (and then choose "Start manually. (Expert)"), but I prefer to avoid doing so. Likewise for Linux, although I do not recall if I saw similar startup choices there.
ajm
Posts: 750
Joined: Sat Mar 21, 2020 5:22 am
Location: Lucerne, Switzerland

Re: Reconfiguring installation to MANUALLY start?

Post by ajm »

In Windows, there simply is a shortcut in C:\Users\USERNAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
To delete it should do the trick. You also can reach that folder by typing shell:startup in the Run box (Windows-R).
For Linux, I don't know if there is such a workaround.
But for both systems, you can add an option "pause-on-start" = 'true' in the slots (in FAHControl) and they will always be in a paused state when FAH starts.
Joe_H
Site Admin
Posts: 7937
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: Reconfiguring installation to MANUALLY start?

Post by Joe_H »

The 'pause-on-start' parameter can be added to each slot, and that only affects that slot. The parameter can also be added as a "Extra Client Option" under the Expert tab and that will apply to all slots running on that client installation. This works for all OS's - Windows, Linux and OS X.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
YosiMor
Posts: 15
Joined: Wed Jul 08, 2020 9:32 am
Hardware configuration: Once-fairly-powerful 10-year-old (non-gaming) desktop PC: 1st-gen Core i7-860 #CPU + 8 GB RAM + GeForce GT 240.
Dual-boot configuration running Windows 10 + (lately, mostly) Ubuntu LTS 20.04 .
Location: Kiryat Ata, Israel

Re: Reconfiguring installation to MANUALLY start?

Post by YosiMor »

Thank you so much, ajm and Joe_H!

Yes, I see now that switches, flags, options are documented (in general) inside the Configuration Guide FAQ, and 'pause-on-start' (specifically) also here.
bikeaddict
Posts: 210
Joined: Sun May 03, 2020 1:20 am

Re: Reconfiguring installation to MANUALLY start?

Post by bikeaddict »

On Linux, you can run systemctl disable FAHClient as root user or with sudo. The systemctl command can also be used with enable, stop, start, restart, reload or status.
silverpulser
Posts: 107
Joined: Sat Nov 10, 2012 9:06 am

Re: Reconfiguring installation to MANUALLY start?

Post by silverpulser »

Another easy option is in Task Manager/Start-up set HideConsole to Disabled. This works for me on both of my folding desktops running Windows 10
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Reconfiguring installation to MANUALLY start?

Post by bruce »

You're focusing on the wrong aspect of FAH. Use FAHControl. That's how you manage FAH's workload.

You can pause any WU or all WUs. You can FINISH one WU or all WUs. Allowing FAHClient to start automatically means absolutely nothing if FAH has been told not to process the active WUs or download new assignments.
Post Reply