Page 1 of 1

Ubuntu 18.04.4 LTS Installation

Posted: Sat Mar 14, 2020 11:01 am
by totlium
I had some problems installing v7.5.1 on my Ubuntu 18.04.4 LTS, so I thought I could tell you what worked for me:

0. Install GPU related drivers and OpenCL libraries, if you want to use your GPU (essential for Covid-19).

I had my Nvidia drivers already installed, so I only had to do:

Code: Select all

sudo apt install ocl-icd-* opencl-headers
1. Download all packages from the website: fahclient_7.5.1_amd64.deb, fahviewer_7.5.1_amd64.deb, fahcontrol_7.5.1-1_all.deb

2. Try installing fahclient_7.5.1_amd64.deb first:

Code: Select all

sudo dpkg -i fahclient_7.5.1_amd64.deb
This is will fail with the following error:

Code: Select all

(Reading database ... 374643 files and directories currently installed.)
Preparing to unpack fahclient_7.5.1_amd64.deb ...
usermod: no changes
Unpacking fahclient (7.5.1) over (7.5.1) ...
Setting up fahclient (7.5.1) ...
update-rc.d: error: no runlevel symlinks to modify, aborting!
dpkg: error processing package fahclient (--install):
 installed fahclient package post-installation script subprocess returned error exit status 1
Processing triggers for systemd (237-3ubuntu10.39) ...
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.60ubuntu1) ...
Errors were encountered while processing:
 fahclient
3. Run the following command to fix the above error:

Code: Select all

sudo update-rc.d FAHClient defaults
4. Try installing fahclient_7.5.1_amd64.deb again:

Code: Select all

sudo dpkg -i fahclient_7.5.1_amd64.deb 
5. Try installing fahcontrol_7.5.1-1_all.deb:

Code: Select all

sudo dpkg -i fahcontrol_7.5.1-1_all.deb 
This will fail because python-gnome2 is missing.

Code: Select all

Selecting previously unselected package fahcontrol.
(Reading database ... 374131 files and directories currently installed.)
Preparing to unpack fahcontrol_7.5.1-1_all.deb ...
Unpacking fahcontrol (7.5.1-1) ...
dpkg: dependency problems prevent configuration of fahcontrol:
 fahcontrol depends on python-gnome2; however:
  Package python-gnome2 is not installed.

dpkg: error processing package fahcontrol (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.60ubuntu1) ...
Errors were encountered while processing:
 fahcontrol
6. Install python-gnome2 dependency

Code: Select all

sudo apt-get install python-gnome2
7. Install fahviewer_7.5.1_amd64.deb

Code: Select all

sudo dpkg -i fahviewer_7.5.1_amd64.deb 
8. And you should be ready to go.

The executable is in:

Code: Select all

/usr/bin/FAHClient
To start the application, issue the following command:

Code: Select all

systemctl start FAHClient


The web control is at:

Code: Select all

https://client.foldingathome.org/
Choose 'Any disease' at the drop down menu in particular if you want to contribute to Covid-19.

Apparently there are no WUs currently. My GTX970 is idle for some time now due to:

Code: Select all

10:48:37:WARNING:WU01:FS01:Failed to get assignment from '65.254.110.245:8080': No WUs available for this configuration
10:48:37:WU01:FS01:Connecting to 18.218.241.186:80
10:48:38:WARNING:WU01:FS01:Failed to get assignment from '18.218.241.186:80': No WUs available for this configuration
10:48:38:ERROR:WU01:FS01:Exception: Could not get an assignment
EDIT: Now, I'm picking jobs for my GPU without any delays.

I hope somebody finds this information useful.

Go science!!

Re: Ubuntu 18.04.4 LTS Installation

Posted: Sun Mar 15, 2020 10:09 am
by ChrisKFoldingAtHome
Same here - please fix this

Re: Ubuntu 18.04.4 LTS Installation

Posted: Sun Mar 15, 2020 1:41 pm
by igygi
Hello, I think I have been able to install everything successfully. But when I run /usr/bin/FAHClient, I encounter the following error: 13:36:16:ERROR:Exception: Failed to open 'log.txt': Failed to open 'log.txt': Permission denied: iostream error: Permission denied

Could you please help?

Re: Ubuntu 18.04.4 LTS Installation

Posted: Sun Mar 15, 2020 2:26 pm
by toTOW
Don't try to run from /usr/bin/FAHClient executable, use the service command that has been set up by installer : "systemctl start FAHClient".

Re: Ubuntu 18.04.4 LTS Installation

Posted: Sun Mar 15, 2020 2:44 pm
by Nathan_P
excellent quick guide for setting up on ubuntu are its variants.

Teh servers are struggling to keep up with demand for work units, please be patient as the science team are working hard to spin up additional servers and work, neither of which are trivial exercises.