running on CLI only

Moderators: Site Moderators, FAHC Science Team

Post Reply
ThomasEonpass
Posts: 2
Joined: Tue Mar 10, 2020 12:00 pm

running on CLI only

Post 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.
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: running on CLI only

Post 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.
Joe_H
Site Admin
Posts: 7939
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: running on CLI only

Post 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.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
ThomasEonpass
Posts: 2
Joined: Tue Mar 10, 2020 12:00 pm

Re: running on CLI only

Post by ThomasEonpass »

Thanks for the input! Then I'll head into it and see if I come out alive
andreassen51
Posts: 13
Joined: Wed Mar 11, 2020 7:06 pm
Hardware configuration: Intel 8700, 64Gb RAM, Asus RTX 2070, Noctua cooler
Location: Norway

Re: running on CLI only

Post 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.
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: running on CLI only

Post 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.
andreassen51
Posts: 13
Joined: Wed Mar 11, 2020 7:06 pm
Hardware configuration: Intel 8700, 64Gb RAM, Asus RTX 2070, Noctua cooler
Location: Norway

Re: running on CLI only

Post 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
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: running on CLI only

Post by bruce »

As of a few days ago, the Coronavirus projects for GPUs were 11741-11746. New projects are being released frequently.
andreassen51
Posts: 13
Joined: Wed Mar 11, 2020 7:06 pm
Hardware configuration: Intel 8700, 64Gb RAM, Asus RTX 2070, Noctua cooler
Location: Norway

Re: running on CLI only

Post 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).
BJMcGee
Posts: 5
Joined: Sun Mar 22, 2020 6:31 pm

Re: running on CLI only

Post 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
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: running on CLI only

Post by bruce »

It's cold in my house, too. It must be time to climb into bed and snuggle up under the blankets.
Post Reply