Page 1 of 1

running on CLI only

Posted: Wed Mar 11, 2020 4:45 pm
by ThomasEonpass
Hello,

I'd like to run the software but on a remote Ubuntu machine, I've looked for it but didn't find instructions about it.

Thanks
T.

Re: running on CLI only

Posted: Wed Mar 11, 2020 5:49 pm
by bruce
FAHClient can be run from the CLI but it's really not designed for that nor is it the easiest choice. If you happen to have a Windows machine that can be networked to it, the Windows FAHControl application can manage the remote machine once you get past all the security settings blocking that type of connection.

Linux FAHCLient runs as a daemon and listens on port 36330 for a telnet-like connection. All options are available through that interface.

Re: running on CLI only

Posted: Wed Mar 11, 2020 5:57 pm
by Joe_H
Welcome to the folding support forum.

Running from the command line has been considered an expert only option, so there is not much documentation. Most is provided by the Help information available by entering fahclient --help on the command line.

There is the option of setting up FAHControl on another Windows, OS X or Linux system on your network and controlling FAHClient running on a headless system remotely. The client configuration just needs to be set up for this access on both systems.

You may find some useful information in the description of the API for connecting with the client - https://github.com/FoldingAtHome/fah-co ... Client-API. Or you can telnet directly into the running FAHClient process over local address 127.0.0.1 over port 36330.

Re: running on CLI only

Posted: Wed Mar 11, 2020 6:56 pm
by ThomasEonpass
Thanks for the input! Then I'll head into it and see if I come out alive

Re: running on CLI only

Posted: Wed Mar 11, 2020 7:33 pm
by andreassen51
Hello,

I'm back. I ran FAH for a couple of years, I'm now a Gentoo user (I've been in Linux for many years).

My old settings are gone for good and I don't know how to properly set up. I can't get into 127.0.0.1:36330

My machine is a nice Fractal R6, Intel 8700, 64Gb RAM, Asus RTX 2070 and it's silent.

When I run FAHClient normally it has picked up the GPU, the card stays at an alarming 72C but it's not started to throttle, I think it's fine.

I know there's a daemon service I can start but I would know if I could manually select the Covid 19 project, or the client has to select projects itself?

The output,


  • 19:03:13:WU00:FS00:0xa7:Project: 14300 (Run 21, Clone 50, Gen 11)
    19:03:13:WU00:FS00:0xa7:Unit: 0x0000000d0002894b5e56c0029c6d9650
    19:03:13:WU00:FS00:0xa7:Digital signatures verified
    19:03:13:WU00:FS00:0xa7:Calling: mdrun -s frame11.tpr -o frame11.trr -cpi state.cpt -cpt 15 -nt 10
    19:03:13:WU00:FS00:0xa7:Steps: first=5500000 total=500000
    19:03:14:WU01:FS01:0x22:Completed 1150000 out of 2000000 steps (57%)
    19:03:14:WU01:FS01:0x22:Temperature control disabled. Requirements: single Nvidia GPU, tmax must be < 110 and twait >= 900
    19:03:15:WU00:FS00:0xa7:Completed 105152 out of 500000 steps (21%)
    19:03:42:WU01:FS01:0x22:Completed 1160000 out of 2000000 steps (58%)
Regards.

Re: running on CLI only

Posted: Wed Mar 11, 2020 8:08 pm
by bruce
Project 14300 is running on your CPU. There are currently no COVAID projects for CPUs but if/when there are I'm sure you'll hear about it, the default project for your GPU are COVAID by default. If you FINISH the CPU project, it will pause after uploading the result and not download a new project. That will reduce the heat/power if that matters to you ... but it shouldn't interfere with your GPU project so it's your choice.

Re: running on CLI only

Posted: Wed Mar 11, 2020 10:06 pm
by andreassen51
I think the GPU is running project 11714. I'll try to look it up later but what's the number for Covid 19? I've read five posts but I don't have the graphic interface.

21:08:12:WU01:FS01:0x21:*********************** Log Started 2020-03-11T21:08:11Z ***********************
21:08:12:WU01:FS01:0x21:Project: 11714 (Run 0, Clone 12100, Gen 134)
21:08:12:WU01:FS01:0x21:Unit: 0x000000c78ca304f15de0497a4813b555
21:08:12:WU01:FS01:0x21:CPU: 0x00000000000000000000000000000000
21:08:12:WU01:FS01:0x21:Machine: 1
21:08:12:WU01:FS01:0x21:Reading tar file core.xml
21:08:12:WU01:FS01:0x21:Reading tar file integrator.xml
21:08:12:WU01:FS01:0x21:Reading tar file state.xml
21:08:12:WU01:FS01:0x21:Reading tar file system.xml
21:08:12:WU01:FS01:0x21:Digital signatures verified
21:08:12:WU01:FS01:0x21:Folding@home GPU Core21 Folding@home Core
21:08:12:WU01:FS01:0x21:Version 0.0.20
21:08:18:WU02:FS01:Upload 5.99%
21:08:19:WU01:FS01:0x21:Completed 0 out of 7500000 steps (0%)
21:08:19:WU01:FS01:0x21:Temperature control disabled. Requirements: single Nvidia GPU, tmax must be < 110 and twait >= 900

Re: running on CLI only

Posted: Thu Mar 12, 2020 5:17 pm
by bruce
As of a few days ago, the Coronavirus projects for GPUs were 11741-11746. New projects are being released frequently.

Re: running on CLI only

Posted: Thu Mar 26, 2020 8:14 pm
by andreassen51
I tend to shut off the electric heating to let the machine run its folding. It's rather chilly here.

When I didn't see any work done for THREE DAYS I decided to turn the heater back on and given ten minutes or so the GPU started to run folding, full steam ahead. How on earth can it tell I've touched the heater, I don't have a smart house. It's outsmarted me for three days.

The heater was off because the cold air at the floor makes the fans run a little slower (that is, if there was any project).

Re: running on CLI only

Posted: Fri Mar 27, 2020 12:31 am
by BJMcGee
I actually just did a write up on how to run FAHClient on Ubuntu Server. You can even use your GPUs if you have one (or more).

viewtopic.php?f=106&t=33090

Re: running on CLI only

Posted: Fri Mar 27, 2020 6:38 am
by bruce
It's cold in my house, too. It must be time to climb into bed and snuggle up under the blankets.