dslreports logo


2.12 Folding with Linux

The FAH Wiki HowTo is here.

See also The FAH Client On Linux .

The link to the entire Linux section in the FAH Wiki is here.

by Sunny See Profile
last modified: 2008-05-15 21:54:56

The best way to get info on linux systems is to ask your folding questions in the Team Helix Forum, or go to the All Things Unix Forum for general question on the OS.

The Linux Folding client can be found here, or there is a linux based OS called Overfoldix that loads everything that you need to fold into the RAM on the system. All you do is boot from a CD such as the Overfoldix CD and it loads everything into the RAM and starts folding. For this all you need is the Overfoldix CD a CD ROM 128Mb of Ram. No HDD or floppy drive is needed.

by wafen See Profile edited by Sunny See Profile
last modified: 2007-03-23 13:16:02


This information taken from this post by Teaqm Helix Member rusdi who got it from http://folding.stanford.edu/faq.html#run.FreeBSD.

Yes. Please do the following:

Install emulators/linux_base from Freebsd CD.

Edit /compat/linux/etc/yp.conf and put the correct server in there.

Download the Linux folding console and cd to the directory.

% brandelf -t Linux FAH3Console

As of Version 3.24, all you have to do from here is specify the "-freeBSD" flag when you run the client,

% ./FAH3Console -freeBSD
and it will automatically brand the scientific cores it downloads. For clients prior 3.24, the -freeBSD flag is not supported and you have to do the following:

after starting the client, wait till it download the core than kill the fold job.

% brandelf -t Linux FahCore_65.exe

% ./FAH3Console

and you're done! (Thanks to "gotti" for the suggestion).

by nozero See Profile edited by Sunny See Profile
last modified: 2007-03-23 13:16:23

Mr. leibold See Profile gave a qualified "yes." :)

»[F@H] Can You Fold on Solaris ?

by Sunny See Profile
last modified: 2007-03-23 13:16:47

Installing FAH on FreeBSD 6.1 to run as specific user in background

ON A MACHINE ALREADY BUILT TO RUN LINUX BINARIES
(read here for some info on adding this capability if you don't have it--some of this may vary though, so consult the FreeBSD docs if you have questions on it.)


1) log in as root
2) Execute following commands (I made up my own path names--path names can vary, but keep it consistent):
#./FAH502-Linux.exe -freeBSD
 

]]>The console should be prompting for config info.  Enter your username and team number, accept defaults for the rest.

When the software comes up and says it has completed '0 out of xxxx steps', hit ctrl+c.  Execute the following commands:
#chown -R RegUser:RegUser FAH
 

]]>(where RegUser is a non-root user whom you wish to run the console as)
#vi FAH.sh
 

]]>Write the following two lines:
 
quote:
#!/bin/sh su RegUser -c "cd /usr/nonports/FAH; ./FAH502-Linux.exe -freeBSD >/dev/null 2>&1 &"
(where RegUser is the same non-root user whom you wish to run the console as) Quit VI and execute the following commands:
#./FAH.sh
 

]]>
FAH Console should now be running in the background as the user you want it to run as, and should do so at boot from now on.

Info compiled from my own experiences and data in the following links:
»fahwiki.net/index.php/Co ··· us_codes
»forum.folding-community. ··· hp?t=835
»/faq/6031

by JAAulde See Profile edited by Sunny See Profile
last modified: 2007-03-23 13:17:05

Running the Folding @Home client on OpenBSD requires that you first install redhat port from /usr/port/emulators/redhat/base. In order to do this type the following command:

cd /usr/ports/emulators/redhat/base/
sudo make install clean

This command will elevate you to root user, compile the port, and install it. Optionally if you have a package path variable set you can type the following:

sudo pkg_add -iv redhat_base

This method will elevate you to the root user, and then download and install the required package.

Once redhat_base is install you must enable Linux binary compatibility. First, edit your /etc/sysctl.conf file using the editor of your choice, and uncomment the following line:

kern.emul.linux=1 # enable running Linux binaries

Once you've removed the # in front of this line Linux binary compatibility will be enabled on boot, but that doesn't take care of this session. To enable Linux Binary compatibility for this session type the following:

sudo sysctl -w kern.emul.linux=1

Now we can get around to the business of installing the FAH client. Download the FAH Linux cosnole client from the following link:

»folding.stanford.edu/dow ··· oad.html

Once downloaded run the client with the -openBSD switch. For example:

./FAH504-Linux.exe -openBSD

The client should then run normally.

by packetpusher See Profile edited by Sunny See Profile
last modified: 2007-03-23 13:18:02

Thankfully, leibold See Profile told us here. Thank you, team mate!

by Sunny See Profile
last modified: 2012-07-22 23:30:08