FAH v7 SMP on Puppy Linux

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

Post Reply
Sunny
Posts: 16
Joined: Mon Mar 12, 2012 1:23 pm

FAH v7 SMP on Puppy Linux

Post by Sunny »

FatDog is a 64-bit version of Puppy Linux. I use this as a frugal install on a small USB stick to run the FAH v7 client in the SMP mode. To conserve power, I shut down the swap and turn off the hard drive when folding.

My post on Feb. 24, 2013 at the following link describes how I installed the FAH v7 client on FatDog:
http://www.murga-linux.com/puppy/viewtopic.php?t=84587

Concurrently, I run a v6 GPU client on the same machine using wine. My post on Feb. 10, 2013 on the following link describes how I installed the v6 GPU client and FAHMon on FatDog:
http://www.murga-linux.com/puppy/viewto ... 0&start=15

Configuring a 32-bit Puppy Linux installation would follow similar steps if one was interested in running a uniprocessor client. Note that in this case it may be necessary to compile python if you want to install FAHControl ... In FatDog, compiling was not necessary as the pet package for python was complete.
sc0tty8
Posts: 5
Joined: Sun Oct 28, 2012 1:17 pm

Re: FAH v7 SMP on Puppy Linux

Post by sc0tty8 »

Have you tried the v6 smp client at all? Looking at making a thumb drive image for my BA folders...

I've just started to dabble with puppy.
Image
Sunny
Posts: 16
Joined: Mon Mar 12, 2012 1:23 pm

Re: FAH v7 SMP on Puppy Linux

Post by Sunny »

Actually, I have used the v6 smp client on FatDog ... I used it for a few months before trying the v7 client.

For the v6 smp client on FatDog (version 521), I just extracted the client, went into that directory and configured it using this command: ./fah6 -configonly

After that, I just started it using the following command: ./fah6 -smp -verbosity 9

Worked great without any other setup using FatDog as a frugal install on a USB stick. I mainly wrote the guides linked to above for the v7 smp client and the v6 gpu client since they took a little more effort to get running. The v6 smp client worked right off the bat.
sc0tty8
Posts: 5
Joined: Sun Oct 28, 2012 1:17 pm

Re: FAH v7 SMP on Puppy Linux

Post by sc0tty8 »

Ok, I will have to give it a whirl. I was playing with precise puppy, thinking if based on ubutnu I could do "sudo apt-get install openssh-server" but no joy.

I'll play with it some more.
Image
Sunny
Posts: 16
Joined: Mon Mar 12, 2012 1:23 pm

Re: FAH v7 SMP on Puppy Linux

Post by Sunny »

"sudo apt-get install openssh-server" ... Puppy is not quite that compatible with ubuntu.

Precise puppy is a 32-bit linux, so you will not be able to run a smp folding client.
For an openssh-server, see the following links:
http://puppylinux.org/wikka/SshWithPuppy
http://murga-linux.com/puppy/viewtopic.php?p=234111

For questions specifically related to Puppy ... the puppy forum is very helpful.

FatDog is the 64-bit version of Puppy that I use to run the smp folding client. It does come with a ssh telnet client ... for a openssh server, you would probably need to compile it yourself. However, FatDog does come with xllvnc-server and NFS-File Sharing already installed. I use NFS-File Sharing when using FAHmon remotely.
Sunny
Posts: 16
Joined: Mon Mar 12, 2012 1:23 pm

V7 Folding on 32-Bit Puppy

Post by Sunny »

As most Puppy installations are 32-bit, I have looked further into the use of the V7 FAHClient. On a 32-bit installation, FAHClient will detect the number of processors available and it is capable of running multiple cpus using smp. The main difference between the 32-bit and 64-bit installations is in the Core_a4 that is used to do the actual folding. Different projects are assigned to each Core_a4 (32 or 64 bit).

The 32-bit version of V7 software is available on the Folding@home download site under "other platforms -- 32bit Linux". Three packages are available that will install on PuppyLinux: fahclient_7.3.6_i386.deb, fahcontrol_7.3.6-1_all.deb, & fahviewer_7.3.6_i386.deb

The following are notes from my installation on different Puppies:

Installation on Puppy Slacko 5.4

fahclient_7.3.6_i386.deb & fahiewer_7.3.6_i386.deb will install and run properly in PuppySlacko. When FAHClient is installed, edit /etc/init.d/FAHClient to change USER=root and HOME= for directory you want to use for Folding.

fahcontrol_7.3.6-1_all.deb requires Python. I load devx_slacko_5.4.sfs at boot as it contains Python2.7 I then used the Puppy package manager to install pygtk-2.24.0 (along with it's dependencies pycairo-1.8.10 & pygobject-2-28.6). After installing fahcontrol, I had to copy/move folders (fah & FAHControl-7.3.8.egg-info) from /usr/share/pyshared to /usr/lib/python2.7/site-packages

Installation on Puppy Precise 5.4

fahclient_7.3.6_i386.deb & fahiewer_7.3.6_i386.deb will install and run in PuppyPrecise. When FAHClient is installed, I could not get the script /etc/init.d/FAHClient to start (I got a command "start" not found), so it would not run as a service. I ended up running FAHClient in the terminal mode for PuppyPrecise.

fahcontrol_7.3.6-1_all.deb requires Python. I load devx_precise_5.4.sfs at boot as it contains Python2.7 I then used the Puppy package manager to install from Repository: ubuntu-precise-main
python-gtk2_2.24.0.3 with Dependencies python-cairo_1.8.8 & python-gobject-2_2.28.6
After installing fahcontrol, I had to copy/move folders (fah & FAHControl-7.3.8.egg-info) from /usr/share/pyshared to /usr/lib/python2.7/dist-packages

Installation on Puppy Lucid

The main problem I ran into on PuppyLucid was problems with dependencies. To run fahclient_7.3.6_i386.deb & fahiewer_7.3.6_i386.deb a newer version of libstdc++ is required. PuppyLucid comes with /usr/lib/libstdc++.so.6.0.13 ... to run fahclient/fahviewer, then replace this with libstdc++.so.6.0.16 (and create symbolic link libstdc++.so.6 for the newer version). libstdc++.so.6.0.16 can be obtained from the debian repositories or you can just grab a copy from Slacko or Precise.

I never could get fahcontrol_7.3.6-1_all.deb to run in PuppyLucid. This requires Python, and I could not get a good Python environment set up. I tried the development sfs, various Python pet packages and I even tried compiling Python for PuppyLucid ... too many dependency issues. As an alternative, you can always use FAHControl from a remote computer to control/monitor the Lucid client.
kaoh08
Posts: 1
Joined: Wed Sep 04, 2013 9:10 pm

Re: FAH v7 SMP on Puppy Linux

Post by kaoh08 »

Have you run GPU slot natively on it?
Joe_H
Site Admin
Posts: 7854
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: FAH v7 SMP on Puppy Linux

Post by Joe_H »

A requirement for the GPU folding core that can be used on Linux is a 64-bit Linux installation. So, no, GPU folding can not be run natively.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
Sunny
Posts: 16
Joined: Mon Mar 12, 2012 1:23 pm

GPU Folding natively on Puppy Linux

Post by Sunny »

You can natively run GPU Folding on Puppy Linux if you use FatDog which is the 64-bit version of Puppy.

Like in any 64-bit linux distribution, currently you have to use FAHcore 0x17 and you have to meet the system requirements described in the FAH v7 installation instructions.

In my first post of this thread, I provided a link which describes how I installed FAH v7 on FatDog (version 521). I was using the v6 GPU client on this machine, but I recently configured it to run the v7 GPU client with a nvidia Fermi board (560TI)

The FAHcore 0x17 requires at least version 15 of glibc. This is newer than the one provided in FatDog, so I compiled and installed glibc-2.18.0 in FatDog (version 521). I then configured a gpu client using "client-type=advanced". This installation runs without any problems and it is easier to set up since you do not need wine or the cuda toolkit installation.

I also noticed that my GPU runs about 10° C cooler on the v7 client and it gets more PPD (compared to my v6 installation using this same nvidia board). The v7 client uses OpenCl , so it does use one CPU core at 100%. This decreases the PPD's from the smp folding, but the GPU PPD increase more than makes up for this.
PantherX
Site Moderator
Posts: 7020
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: FAH v7 SMP on Puppy Linux

Post by PantherX »

The difference in temperature could very well be due to the difference between CUDA (FahCore_15) and OpenCL (FahCore_17). I had a 10 °C - 15 °C difference on my GTX 675M between the two FahCores and prefer FahCore_17 due to the lower temperature.
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
Post Reply