Recommended Linux Installation & Configuration

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

Recommended Linux Installation & Configuration

Postby Burlingtonian » Sun May 24, 2020 7:14 pm

New to F@H and even newer to Linux. I would like to set up one of our computers to run F@H on Linux. I have tried running it on Ubuntu 20.04 and have run into the "unmet dependencies" issue. Have found bits and pieces on the forum regarding Python2 installation but theses have failed to solve the problem. Where on the forum can I find information on recommended distros and/or resolution of the unmet dependencies issue? Alternatively can I access and configure the FahClient in Ubuntu without FahControl installed?
Image
User avatar
Burlingtonian
 
Posts: 42
Joined: Sun Apr 05, 2020 1:36 pm
Location: Burlington, Ontario. Canada

Re: Recommended Linux Installation & Configuration

Postby NRT_AntiKytherA » Sun May 24, 2020 7:28 pm

there's a f@h snap for linux but it uses the older version of the client still. i guess that wouldn't matter too much. you can certainly access and configure the fahclient without fahcontrol, when you first run it you will be asked for configuration basics like username, team number, folding priority.
NRT_AntiKytherA
 
Posts: 111
Joined: Mon May 11, 2020 12:50 am

Re: Recommended Linux Installation & Configuration

Postby cfhdev » Sun May 24, 2020 11:22 pm

Burlingtonian wrote: Alternatively can I access and configure the FahClient in Ubuntu without FahControl installed?


FahControl does not need to be installed on the machine in order to configure it. You can edit
Code: Select all
/etc/fahclient/config.xml
locally.

You could also use FahControl on another PC to configure it.
cfhdev
 
Posts: 41
Joined: Tue Mar 17, 2020 2:10 am

Re: Recommended Linux Installation & Configuration

Postby NRT_AntiKytherA » Sun May 24, 2020 11:24 pm

also to answer where you can find instructions to get fahcontrol working:

viewtopic.php?f=106&p=334869#p334869

if you have any missing dependencies flagged still, list them here on the forum please but the above method should work
NRT_AntiKytherA
 
Posts: 111
Joined: Mon May 11, 2020 12:50 am

Re: Recommended Linux Installation & Configuration

Postby psaam0001 » Mon May 25, 2020 12:45 am

If you use Fedora, there is a fix that I found when I was going through other threads that will work for patching the FAHControl so it will work.

1) You will need to open Terminal, and at the prompts enter the following:

su [enter key]
<your super user password> [enter key]
gedit /usr/bin/FAHControl [enter key]

2) Just add the number 2 at the end of the very first line, so that it reads as follows:

#!/usr/bin/python2

3) Click on save.

4) Exit the Terminal. From here you should be able to use FAHControl

Unfortunately, I was not able to get my GPU's to start doing tasks, as my older legacy ATI Mobility HD3870's may not be supported by the current drivers. Though, in time I will be saving money to buy new hardware to fold on.

Paul
psaam0001
 
Posts: 107
Joined: Mon May 18, 2020 3:02 am

Re: Recommended Linux Installation & Configuration

Postby bruce » Mon May 25, 2020 4:57 am

cfhdev wrote:FahControl does not need to be installed on the machine in order to configure it. You can edit
Code: Select all
/etc/fahclient/config.xml
locally.

You could also use FahControl on another PC to configure it.

A word of caution: if you do decide to edit config.xml manually, be very careful to maintain the necessary xml formatting, While it's man-readable, it still has to be machine-readable. FAHClient is totally intolerant of files containing syntax errors. If you do edit it with FAHControl, the editor will not let you store a file with a syntax error.
bruce
 
Posts: 19970
Joined: Thu Nov 29, 2007 11:13 pm
Location: So. Cal.

Re: Recommended Linux Installation & Configuration

Postby MeeLee » Tue May 26, 2020 12:09 am

Seeing you're a beginner,
Ubuntu/Debian derived Linux versions are much more beginner focused.
If you're just starting out, and want a GUI, Ubuntu (mac-like interface), Xubuntu (Windows-like interface), Lubuntu (Windows XP/Vista-looks interface), Kubuntu (older interface), or Mint (Windows-7-like interface) are the easiest to start out with. You will want to stay with 18.04 for FAHControl to be working correctly; or, run 20.04 through some hoops.

For Fedora, I believe version 28 should be equal to 18.04. But I read that real LTS (Long Term Support) versions aren't available for Fedora.
You'll be limited to RedHat RHEL 8; support of it will disappear, and not sure if Control is still compatible with an upgrade to 8.1 (support until 2024)
MeeLee
 
Posts: 1073
Joined: Tue Feb 19, 2019 11:16 pm

Re: Recommended Linux Installation & Configuration

Postby Burlingtonian » Tue May 26, 2020 12:40 pm

Thank you MeeLee. I spend most of my time on a Mac so will go with Ubuntu or now. I have not yet found a concise set of instructions on the 20.04 hoops required to get FAHControl working so will go with v18.04 for now.
User avatar
Burlingtonian
 
Posts: 42
Joined: Sun Apr 05, 2020 1:36 pm
Location: Burlington, Ontario. Canada

Re: Recommended Linux Installation & Configuration

Postby Burlingtonian » Tue May 26, 2020 8:06 pm

Follow up question. Have now tried Ubuntu 18 & 20 but don't see any GPU folding in either - CPU only (8). Is there a procedure or requirement to enable GPU folding in Ubuntu?
User avatar
Burlingtonian
 
Posts: 42
Joined: Sun Apr 05, 2020 1:36 pm
Location: Burlington, Ontario. Canada

Re: Recommended Linux Installation & Configuration

Postby cfhdev » Tue May 26, 2020 11:37 pm

At a minimum install
OpenCL and the Graphics driver.
Then configure a GPU slot.
cfhdev
 
Posts: 41
Joined: Tue Mar 17, 2020 2:10 am

Re: Recommended Linux Installation & Configuration

Postby MeeLee » Wed May 27, 2020 12:18 am

On Ubuntu 20.04 you need to force install some dependencies, because FAHControl doesn't work out of the box.
Those dependencies may work for FAH, but could, break the full operation of Ubuntu with other programs.
No one has fully tested if they worked without issues.

18.04 also allows you to overclock and adjust fan curves, while running multiple Nvidia GPUs. On 20.04 you can run them stock, but your GUI desktop will crash.
Not sure about AMD in this matter. I can advise about NVidia.

Before you can fold on any (Nvidia) GPUs, you'll need to download and install the Nvidia drivers.
For 1 GPU, you can install them from the .deb files.
For multiple GPUs, you'll need to go into recovery mode, and install the .run files from Nvidia.

Ubuntu (and their variants), have the best documentation online.
Plus, most end users run their PCs on them.
MeeLee
 
Posts: 1073
Joined: Tue Feb 19, 2019 11:16 pm

Re: Recommended Linux Installation & Configuration

Postby NRT_AntiKytherA » Wed May 27, 2020 12:46 am

MeeLee wrote:On Ubuntu 20.04 you need to force install some dependencies, because FAHControl doesn't work out of the box.
Those dependencies may work for FAH, but could, break the full operation of Ubuntu with other programs.
No one has fully tested if they worked without issues.

I guess I'm nobody then. As I replied to you before none of my installed programs have stopped working, updates are still coming in normally and being applied without the package manager apt wanting to remove the libraries installed from the temporarily enabled bionic repositories rather than focal. But I guess/hope you mean nobody official from the F@H project rather than being sniffy about who reports what behaviour from their systems here. They are not flagged for autoremove in synaptic either.
NRT_AntiKytherA
 
Posts: 111
Joined: Mon May 11, 2020 12:50 am

Re: Recommended Linux Installation & Configuration

Postby MeeLee » Wed May 27, 2020 2:10 am

NRT_AntiKytherA wrote:
MeeLee wrote:On Ubuntu 20.04 you need to force install some dependencies, because FAHControl doesn't work out of the box.
Those dependencies may work for FAH, but could, break the full operation of Ubuntu with other programs.
No one has fully tested if they worked without issues.

I guess I'm nobody then. As I replied to you before none of my installed programs have stopped working, updates are still coming in normally and being applied without the package manager apt wanting to remove the libraries installed from the temporarily enabled bionic repositories rather than focal. But I guess/hope you mean nobody official from the F@H project rather than being sniffy about who reports what behaviour from their systems here. They are not flagged for autoremove in synaptic either.

Have you tried every program, and every case scenario?
If not, then don't consider yourself 'nobody'.
Nobody means nobody.
Not a single person did extensive testing to see if force installing these packages breaks compatibility somewhere down to the software level.
It may work for you, and your applications, but it may bring issues that call dependencies related to the dependencies you force installed.
MeeLee
 
Posts: 1073
Joined: Tue Feb 19, 2019 11:16 pm

Re: Recommended Linux Installation & Configuration

Postby NRT_AntiKytherA » Wed May 27, 2020 8:31 am

Of course I have not tried every single package available for Ubuntu 20.04. I have however tried every single package installed by the Ubuntu 20.04 LTS ISO plus the ones I added on top. Here's a list of installed packages on pastebin, too many characters for this forum. It will not be there for ever but long enough for the purposes of this reply.

You cannot expect any end user to install every package and test for compatibility just like no linux distributor expects them to either. That is why multiple QA, alpha and beta testers are required and not just one. The full responsibility is on the individual user concerned to see whether anything they use breaks or not. It is always prudent to take a backup prior to installing these extra libraries (heck make that any apt transaction because that is just plain common sense). That way should something break they can easily reverse the changes.
NRT_AntiKytherA
 
Posts: 111
Joined: Mon May 11, 2020 12:50 am

Re: Recommended Linux Installation & Configuration

Postby Burlingtonian » Thu May 28, 2020 1:49 pm

Thanks to all for your replies. After exploring both Ubuntu and Mint I have decided to jump into the deep end of the pool and go with Arch. My new hobby.
User avatar
Burlingtonian
 
Posts: 42
Joined: Sun Apr 05, 2020 1:36 pm
Location: Burlington, Ontario. Canada

Next

Return to New Donors start here

Who is online

Users browsing this forum: No registered users and 2 guests

cron