Ubuntu 18.04.4 LTS Installation

Moderators: Site Moderators, FAHC Science Team

Post Reply
totlium
Posts: 4
Joined: Sat Mar 14, 2020 10:38 am

Ubuntu 18.04.4 LTS Installation

Post 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!!
Last edited by totlium on Sun Mar 15, 2020 8:03 pm, edited 2 times in total.
ChrisKFoldingAtHome
Posts: 3
Joined: Sun Mar 15, 2020 10:08 am

Re: Ubuntu 18.04.4 LTS Installation

Post by ChrisKFoldingAtHome »

Same here - please fix this
igygi
Posts: 1
Joined: Sun Mar 15, 2020 1:38 pm

Re: Ubuntu 18.04.4 LTS Installation

Post 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?
toTOW
Site Moderator
Posts: 6359
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France
Contact:

Re: Ubuntu 18.04.4 LTS Installation

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

Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.
Nathan_P
Posts: 1164
Joined: Wed Apr 01, 2009 9:22 pm
Hardware configuration: Asus Z8NA D6C, 2 [email protected] Ghz, , 12gb Ram, GTX 980ti, AX650 PSU, win 10 (daily use)

Asus Z87 WS, Xeon E3-1230L v3, 8gb ram, KFA GTX 1080, EVGA 750ti , AX760 PSU, Mint 18.2 OS

Not currently folding
Asus Z9PE- D8 WS, 2 [email protected] Ghz, 16Gb 1.35v Ram, Ubuntu (Fold only)
Asus Z9PA, 2 Ivy 12 core, 16gb Ram, H folding appliance (fold only)
Location: Jersey, Channel islands

Re: Ubuntu 18.04.4 LTS Installation

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