FAH on ubuntu 17.04

FAH provides a V7 client installer for Debian / Mint / Ubuntu / RedHat / CentOS / Fedora. Installation on other distros may or may not be easy but if you can offer help to others, they would appreciate it.

Moderators: Site Moderators, FAHC Science Team

Crazy-Logic
Posts: 13
Joined: Fri Jan 06, 2017 12:52 am
Location: London
Contact:

FAH on ubuntu 17.04

Post by Crazy-Logic »

Has anyone managed to get the client running on Ubuntu 17.04 yet? I've installed it in the same way as on previous versions 14.04 and 16.04, but it doesn't seem to work on 17.04. Any idea's on how to trouble shoot this would be great.
toTOW
Site Moderator
Posts: 6359
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France
Contact:

Re: FAH on ubuntu 17.04

Post by toTOW »

Does it complain about missing dependencies ?
Image

Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.
PS3EdOlkkola
Posts: 177
Joined: Tue Aug 26, 2014 9:48 pm
Hardware configuration: 10 SMP folding slots on Intel Phi "Knights Landing" system, configured as 24 CPUs/slot
9 AMD GPU folding slots
31 Nvidia GPU folding slots
50 total folding slots
Average PPD/slot = 459,500
Location: Dallas, TX

Re: FAH on ubuntu 17.04

Post by PS3EdOlkkola »

I'm working to move some systems from Win x64 to Ubuntu 17.04 and I'm running into issues getting it installed. Admittedly, I'm not a Linux guru, but I'm also sure I'm not unique in that regard. Is there a definitive Ubuntu 17.04 installation procedure, or is an update to the documentation and dependencies (and process for resolving those dependencies) coming soon? Ideally it would cover FAH installs for both CPU and GPU installations.
Image
Hardware config viewtopic.php?f=66&t=17997&p=277235#p277235
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: FAH on ubuntu 17.04

Post by bruce »

I think your answer is here
toTOW wrote:I think you need python 2.x packages but latest releases of Ubuntu only includes python 3.x ... I don't know how to fix it, but there's probably a manual way to do so (maybe a search on the forum will help).
SteveWillis
Posts: 389
Joined: Fri Apr 15, 2016 12:42 am
Hardware configuration: PC 1:
Linux Mint 17.3
three gtx 1080 GPUs One on a powered header
Motherboard = [MB-AM3-AS-SB-990FXR2] qty 1 Asus Sabertooth 990FX(+59.99)
CPU = [CPU-AM3-FX-8320BR] qty 1 AMD FX 8320 Eight Core 3.5GHz(+41.99)

PC2:
Linux Mint 18
Open air case
Motherboard: ASUS Crosshair V Formula-Z AM3+ AMD 990FX SATA 6Gb/s USB 3.0 ATX AMD
AMD FD6300WMHKBOX FX-6300 6-Core Processor Black Edition with Cooler Master Hyper 212 EVO - CPU Cooler with 120mm PWM Fan
three gtx 1080,
one gtx 1080 TI on a powered header

Re: FAH on ubuntu 17.04

Post by SteveWillis »

The easy fix for python that worked for me:

Code: Select all

#fah folding at home python fix
   wget http://launchpadlibrarian.net/109052632/python-support_1.0.15_all.deb
   sudo dpkg -i python-support_1.0.15_all.deb
Image

1080 and 1080TI GPUs on Linux Mint
PS3EdOlkkola
Posts: 177
Joined: Tue Aug 26, 2014 9:48 pm
Hardware configuration: 10 SMP folding slots on Intel Phi "Knights Landing" system, configured as 24 CPUs/slot
9 AMD GPU folding slots
31 Nvidia GPU folding slots
50 total folding slots
Average PPD/slot = 459,500
Location: Dallas, TX

Re: FAH on ubuntu 17.04

Post by PS3EdOlkkola »

bruce & SteveWillis, thanks for the assistance. I'll give it a try tonight.

If an FAHClient install was done first without installing the python dependencies, will the existing install work once python is added? I attempted an uninstall of FAHClient, but now run into errors when running a Ubuntu update which indicates a "failure to uninstall FAHClient". I'm assuming it's necessary to have python dependencies installed before the FAHClient is installed. Is it generally easier to simply reinstall Ubuntu to start with a clean system?

I'm using a couple of new hardware builds as test environments to understand exactly what the install procedure needs to be, maintenance intervals, and 3rd party tool sets (i.e. "coolbits") to manage these systems. First build is a Xeon E5-2699-v4 processor (22 cores/44 threads, so likely dedicate 32 on one slot and 8 on another CPU slot, with 4 dedicated to a GPU). Also configuring a system with dual Xeon E5-2695-v4 (18/36 cores/threads x2) and will run Ubuntu on that system too (64 cores/threads on one CPU slot, rest for GPU). Once I'm sure of the maintenance time needed per system, and assuming it's less than Win x64, I'll begin migrating over the other dozen or so system units.

As I work through the process on these two systems, I'll work on documenting the step-by-step process and post the results here.
Image
Hardware config viewtopic.php?f=66&t=17997&p=277235#p277235
bollix47
Posts: 2959
Joined: Sun Dec 02, 2007 5:04 am
Location: Canada

Re: FAH on ubuntu 17.04

Post by bollix47 »

AFAIK installing the missing python version was a fix for FAHControl not FAHClient. So don't be surprised if that doesn't help with the problem you're seeing. It probably will help with installing FAHControl.

@PS3 when you tried to install FAHClient what exactly didn't work? Were there no messages?

Although I tend to stick with LTS versions I will try a fresh install of 17.04 on one of my systems asap.
PS3EdOlkkola
Posts: 177
Joined: Tue Aug 26, 2014 9:48 pm
Hardware configuration: 10 SMP folding slots on Intel Phi "Knights Landing" system, configured as 24 CPUs/slot
9 AMD GPU folding slots
31 Nvidia GPU folding slots
50 total folding slots
Average PPD/slot = 459,500
Location: Dallas, TX

Re: FAH on ubuntu 17.04

Post by PS3EdOlkkola »

Thanks bollix47 - to the point of LTS, would you suggest using version 16.04 instead?
Image
Hardware config viewtopic.php?f=66&t=17997&p=277235#p277235
bollix47
Posts: 2959
Joined: Sun Dec 02, 2007 5:04 am
Location: Canada

Re: FAH on ubuntu 17.04

Post by bollix47 »

I am using 16.04 on most ... some are still on 14.04 ... and yes I do advise using LTS versions whenever possible.

I will still try 17.04 to see if I have similar problems installing it.
bollix47
Posts: 2959
Joined: Sun Dec 02, 2007 5:04 am
Location: Canada

Re: FAH on ubuntu 17.04

Post by bollix47 »

Okay, I am up and folding on 17.04 but so far I'm seeing tpf's that are around 17% slower than when I was using 16.04. Part of that was caused by nv drivers. I was using 370.28 on 16.04 but they would not install on 17.04 ... lots of search results about problems installing drivers from nvidia when using kernel 4.10. The only way that I can see so far is to use the ppa. There is a 370.28 version in that repo but there's no evidence that it has been patched so I haven't tried it yet but will eventually to try and get my production on this card back up.

I actually had to install 17.04 twice before I got it to behave. The problems trying to install the drivers and a login loop pretty much hosed my first attempt. The second attempt was much more successful.

1. used the desktop installer (amd64)
2. updated
3. added ppa as explained in the above link

Code: Select all

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
4. went into software & updates > Additional Drivers
5. tried 384.59 but thought it was too slow so after removing as many compiz animations as I could I then switched to 375.82 ... helped a bit but still needs work/testing. (reboot after installing the driver)
6. installed gdebi which I like to use when installing .deb files.

Code: Select all

sudo apt-get install gdebi dkms
7. downloaded and installed folding@home software and right clicked on them so I could use gdebi to install them ... also for fahcontrol I installed the earlier version of python as explained in posts above
( at some point during the install of fahclient I copied a version of my config.xml from backup to /etc/fahclient )

Other than being a bit slower than I'm used to it appears to be working fine so far.
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: FAH on ubuntu 17.04

Post by bruce »

So is there a good reason not to install either 14.04 or 16.04 along with the back-version of the drivers? (Unless you happen to have a GPU that wasn't supported on the earlier driver version) ?
bollix47
Posts: 2959
Joined: Sun Dec 02, 2007 5:04 am
Location: Canada

Re: FAH on ubuntu 17.04

Post by bollix47 »

I don't think 14.04 is a problem. It's EOL is 2019 and I'm fairly certain it will never see the 4.10 kernel.

16.04's EOL is 2021 and very likely will see 4.10 so those running it may be forced to upgrade their drivers at some point to a version that works. I have a number of setups using 16.04 and they are up-to-date ... none have seen 4.10 ... I suspect installing from 16.04.3 or later installation media might result in running 4.10 but if it was installed with the original 16.04 media it may not end up with 4.10.

17.04 comes with the 4.10 kernel and unless the drivers are patched they won't work. Patches are available but I doubt they will create a patched version for older drivers like 370.28, although I'd be quite happy to be wrong on that one. The ppa I referred to above has 4 versions that have been patched (assumption on my part). I've tried two of them and they both worked.

I'm hoping that nvidia and/or ubuntu will come up with a more elegant solution.
QuintLeo
Posts: 51
Joined: Sat Jun 17, 2017 5:43 am

Re: FAH on ubuntu 17.04

Post by QuintLeo »

Almost all of my folding systems were set up on XUbuntu 14.04 with just the normal "client gets slots confused" type issues.
I have not tried it on 16.04 LTS or 17.04 and at this point I'm not inclined to do so as I am pulling OUT of Folding over the continuing issues from Stanfard and their "don't care" attitude about most of those issues.
v00d00
Posts: 390
Joined: Sun Dec 02, 2007 4:53 am
Hardware configuration: FX8320e (6 cores enabled) @ stock,
- 16GB DDR3,
- Zotac GTX 1050Ti @ Stock.
- Gigabyte GTX 970 @ Stock
Debian 9.

Running GPU since it came out, CPU since client version 3.
Folding since Folding began (~2000) and ran Genome@Home for a while too.
Ran Seti@Home prior to that.
Location: UK
Contact:

Re: FAH on ubuntu 17.04

Post by v00d00 »

This may be a slightly dumb question. But do you actually have any need for a 4.x kernel?

If you dont have hardware that specifically needs it then downgrade to 3.x either by trying an earlier release or compiling it yourself.

As for your clients get slots confused issue, QuintLeo. Their is a simple solution. Don't use one client with multiple slots. Use one client per slot and use taskset to assign each client to its own cpu/core. It requires a little configuration on the backend, but it's by no means hard. I've run FAH this way for years and never had any slots confused issues, because each client only handles one slot. It's also useful when the client crashes, since it only takes out one gpu/smp instance, as opposed to dropping everything. If you want a rundown on how to do it, shoot me a PM.
Image
SteveWillis
Posts: 389
Joined: Fri Apr 15, 2016 12:42 am
Hardware configuration: PC 1:
Linux Mint 17.3
three gtx 1080 GPUs One on a powered header
Motherboard = [MB-AM3-AS-SB-990FXR2] qty 1 Asus Sabertooth 990FX(+59.99)
CPU = [CPU-AM3-FX-8320BR] qty 1 AMD FX 8320 Eight Core 3.5GHz(+41.99)

PC2:
Linux Mint 18
Open air case
Motherboard: ASUS Crosshair V Formula-Z AM3+ AMD 990FX SATA 6Gb/s USB 3.0 ATX AMD
AMD FD6300WMHKBOX FX-6300 6-Core Processor Black Edition with Cooler Master Hyper 212 EVO - CPU Cooler with 120mm PWM Fan
three gtx 1080,
one gtx 1080 TI on a powered header

Re: FAH on ubuntu 17.04

Post by SteveWillis »

Just a suggestion: Linux Mint. The only issues I've ever had were the Python dependency and I had to manually download the current GPUs.txt file. Since I don't even know what you mean by the client going down I assume it has never happened to me. Mint is very user friendly.
Image

1080 and 1080TI GPUs on Linux Mint
Post Reply