FAH Control Client "Folding Power"

Moderators: Site Moderators, FAHC Science Team

Post Reply
Aelneri
Posts: 4
Joined: Fri May 16, 2014 7:00 am

FAH Control Client "Folding Power"

Post by Aelneri »

Hi.
Im wondering if ther is a way to define the "Folding Power" in the FAH-Client via Commandline?
As I want to use the FAH-Client om all my work computers, but usealy forget to increase the "Folding Power" when I leave.

Would love an option to send "FAHClient.exe/FAHControl.exe" and the switch "/OFF /IL /I /L /M /FULL" indicating the "Folding Power".

Thanks for your responce!
P5-133XL
Posts: 2948
Joined: Sun Dec 02, 2007 4:36 am
Hardware configuration: Machine #1:

Intel Q9450; 2x2GB=8GB Ram; Gigabyte GA-X48-DS4 Motherboard; PC Power and Cooling Q750 PS; 2x GTX 460; Windows Server 2008 X64 (SP1).

Machine #2:

Intel Q6600; 2x2GB=4GB Ram; Gigabyte GA-X48-DS4 Motherboard; PC Power and Cooling Q750 PS; 2x GTX 460 video card; Windows 7 X64.

Machine 3:

Dell Dimension 8400, 3.2GHz P4 4x512GB Ram, Video card GTX 460, Windows 7 X32

I am currently folding just on the 5x GTX 460's for aprox. 70K PPD
Location: Salem. OR USA

Re: FAH Control Client "Folding Power"

Post by P5-133XL »

You can remotely access the client using telnet or you can configure the client for remote access and control it from another client. Of course you would need to poke appropriate holes into your firewall and router.

See: https://fah-web.stanford.edu/projects/F ... eInterface
Image
PantherX
Site Moderator
Posts: 6986
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: FAH Control Client "Folding Power"

Post by PantherX »

Welcome to the F@H Forum Aelneri,

Please note that if you don't own the work systems, you will need written permission from the system owner to run F@H on it as per the EULA (http://folding.stanford.edu/home/License/).
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
Aelneri
Posts: 4
Joined: Fri May 16, 2014 7:00 am

Re: FAH Control Client "Folding Power"

Post by Aelneri »

P5-133XL wrote:You can remotely access the client using telnet or you can configure the client for remote access and control it from another client. Of course you would need to poke appropriate holes into your firewall and router.

See: https://fah-web.stanford.edu/projects/F ... eInterface
No problem in making remote connections via Telnet through FW.
However, I was thinking of making it a sceduled task stopping the client at work start (08:00) and starting it at work end (16:00).
I dont know telnet that well, but can I use a command like:
telnet localhost 36330 pause
telnet localhost 36330 unpause
?
P5-133XL
Posts: 2948
Joined: Sun Dec 02, 2007 4:36 am
Hardware configuration: Machine #1:

Intel Q9450; 2x2GB=8GB Ram; Gigabyte GA-X48-DS4 Motherboard; PC Power and Cooling Q750 PS; 2x GTX 460; Windows Server 2008 X64 (SP1).

Machine #2:

Intel Q6600; 2x2GB=4GB Ram; Gigabyte GA-X48-DS4 Motherboard; PC Power and Cooling Q750 PS; 2x GTX 460 video card; Windows 7 X64.

Machine 3:

Dell Dimension 8400, 3.2GHz P4 4x512GB Ram, Video card GTX 460, Windows 7 X32

I am currently folding just on the 5x GTX 460's for aprox. 70K PPD
Location: Salem. OR USA

Re: FAH Control Client "Folding Power"

Post by P5-133XL »

I, having never used telnet to interface with the client do not know. However, I have no doubt, someone here will.
Image
Aelneri
Posts: 4
Joined: Fri May 16, 2014 7:00 am

Re: FAH Control Client "Folding Power"

Post by Aelneri »

I tried using: "tlntadmn.exe localhost pause"
after reading a few telnet-guides, but it did nothing :P
PantherX
Site Moderator
Posts: 6986
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: FAH Control Client "Folding Power"

Post by PantherX »

Assuming that your computer runs Linux, this might be of use to you (viewtopic.php?p=260074#p260074).
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: FAH Control Client "Folding Power"

Post by bruce »

I have used the equivalent of telnet localhost 36330 to establish a connection with an active client. That command is equivalent to a logon command, establishing a connection (assuming passwords are provided or they are not required). A command line parameter such as your "pause" will not be sent nor will data be received until after the connection is established. That conversation is expected to begin on the next line.
Kurtis200200
Posts: 80
Joined: Sat Jul 06, 2013 4:37 pm

Re: FAH Control Client "Folding Power"

Post by Kurtis200200 »

iirc, you'll need to "save" as well prior to exiting, so that the whole string looks a lot like this:

Code: Select all

telnet localhost 36330
pause
save
quit
Edit: too British
Kurtis200200
Posts: 80
Joined: Sat Jul 06, 2013 4:37 pm

Re: FAH Control Client "Folding Power"

Post by Kurtis200200 »

Oh, but to the original post, your command would look like

Code: Select all

telnet localhost 36330
options power=full
save
quit
Where full could also be light or medium.
calxalot
Site Moderator
Posts: 1094
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: FAH Control Client "Folding Power"

Post by calxalot »

Or just use commands like these:
FAHClient --send-pause
FAHClient --send-unpause
FAHClient --send-command 'option power full'
Kurtis200200
Posts: 80
Joined: Sat Jul 06, 2013 4:37 pm

Re: FAH Control Client "Folding Power"

Post by Kurtis200200 »

calxalot wrote:Or just use commands like these:
FAHClient --send-pause
FAHClient --send-unpause
FAHClient --send-command 'option power full'
These may not work if you're running the FAHClient as, for example, a systemd process, and issuing the commands as a user
Edit: that scenario seems unlikely, given OP mentioned a .exe file, suggesting windows
calxalot
Site Moderator
Posts: 1094
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: FAH Control Client "Folding Power"

Post by calxalot »

Does work, as long as client is configured to allow localhost connections. The --send commands connect to a running client. It's the same as using telnet to send one command followed by the quit command to properly close the connection.
Aelneri
Posts: 4
Joined: Fri May 16, 2014 7:00 am

Re: FAH Control Client "Folding Power"

Post by Aelneri »

Hi.
I probably should have mentioned that I do work on Windows 7x64 computers, not Linux, but I thought the ".exe" extention would give me away. :lol:

Anyways, Thank you Calxalot for giving me these commands!
They did work just as you said and does what I wanted.
calxalot wrote:Or just use commands like these:
FAHClient --send-pause
FAHClient --send-unpause
FAHClient --send-command 'option power full'
With these I can pause the load via a sceduled task in windows. (since I forget to do this manualy)
TY!
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: FAH Control Client "Folding Power"

Post by bruce »

Aelneri wrote:I probably should have mentioned that I do work on Windows 7x64 computers, not Linux, but I thought the ".exe" extention would give me away.
It's a good idea to mention Windows/Linux/MacOS to avoid confusion, but the same client is actually ported to all three, so almost everything within the realm of the client works the same way. Obviously terms like a systemd process or a scheduled task or a service or even an .exe are within the realm of the OS, not the client (and we do try to use the words that pertain to your installation).
Post Reply