|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Chop Chop
|
Folding on Linux
There have probably been a few questions about this, so here is some on how to get started Folding with Linux. I orginally found it on Overclockers.co.uk Forum and it worked fairly well. I modified it a bit to accomodate the newer Folding version and such. I also changed some of this guys writting, he seemed a bit to happy about this program.
--------------------------------- A little bit about what this beasty can does do first: This script will do most everything for you, just fill out the required info and you will be on your way. All this is based on the distribution you have. It auto detects your system to the hilt!! --> Auto-Detects the number od CPU's!! --> Creates the folders for each CPU!! --> Steps you though each CPU client setup --> Allows for easy editing of the flags < -forceasm -verbosity 9 etc etc > though a pill file called --> Installs 3rd Party Monitoring applications for you. --> Creates the service scripts for running at boot time. --> Creates the Start, Stop, Reload, Pause Scripts for you. --> Work for RH, DSL < Denian Distro's > Slackware, Gentoo, FreeBSB, Mac OS, it even will allow you to run it through WINE < you can use the windows client > is you state it such on the command line --> Tells you havw to run it manually or run the service scripts. --> Has a "Backup-Utility" --> 3rd party apps include data.que repair and all sorts of stuff. This is how I got it to work. You need to do this first: --> With a Normal User Login, "not root", open an exterm window and go to your home directory: catacon@computer:~$ --> Create a sub-folder in your /home directory called foldingathome like so: mkdir foldingathome --> cd to that directory: catacon@computer:~$ cd foldingathome --> Then download the script like so: catacon@computer:~/foldingathome$ wget http://www.vendomar.ee/~ivo/finstall --> Make the file exectuable: catacon@computer:~/foldingathome$ chmod +x finstall --> Then Download the Linux FAH502-Linux.exe client < all one line here >: catacon@computer:~/foldingathome$ wget http://www.stanford.edu/group/pandeg...H504-Linux.exe --> Make the file exectuable: catacon@computer: catacon@computer:~/foldingathome$ chmod +x FAH504-Linux.exe --> Run the script: catacon@computer:~/foldingathome$ bash finstall < and any options u may want > --> Follow the instrustions ...< configure clients etc >: --> Edit a file called < fah_config > that is in the foldingathome directory: catacon@computer:~/foldingathome$ vi ./fah_config FAH_flags="-forceasm advmethods -vernosity 9" NOTE: I wouldn't change the FAHLog.txt stuff or rediret it's output, as the 3rd part software queue's off the original file name name FAHLog.txt --> Now all you have to do ist that the client called folding: catacon@computer:~/foldingathome$./folding {start|stop|restart|status|DoNothing} --> That can easily be added to any rc.local or boot cron or /etc/init.d location etc etc .. --> To use the installService script just do this: -->Navigate to foldingathome catacon@computer:~$ cd foldingathome -->Run the script catacon@computer:~/foldingathome ./installService I could be doing something wrong here, but in order to get the Folding to start, you have to do one other thing. --> Navigate to foldingathome/CPU1 catacon@computer:~/foldingathome$ cd foldingathome/CPU1 -->Run the configure script catacon@computer:~/foldingathome/CPU1$ ./FaH -config Then you should be on your way to folding. Hope that helps some people.
__________________
Main Computer: Intel Core i5 2500K | AsRock Extreme3 Z68 | Corsair Vengeance 2 x 4GB DDR3 1600 | EVGA GTX460 768MB | Western Digital Caviar 750GB 7200RPM SATAII | Mushkin 60GB SSD w/ SRT enabled | Asus 20X DVD Burner | Antec 550W Modular | Cooler Master HAF 912 w/ 4 fans | NXZT Sentry Mesh fan controller | W7 | 2 x 23" LG IPS Monitors Laptop: Asus EEE 1000HE | 2GB RAM | Ubuntu Laptop: Lenovo Thinkpad T60p | 4GB RAM | W7 Last edited by catacon; 01-02-2006 at 03:06 PM. |
|
|
|
|
|
#2 |
|
Computing Professor
Staff
Premium Member
Join Date: Jun 2001
Posts: 11,941
|
Thanks catacon.
This is a nice find and a nice job. Worthy of a sticky, in fact. |
|
|
|
|
|
#3 | |
|
Member (1 bit)
Join Date: Feb 2006
Posts: 1
|
Quote:
The post only took a few minutes, so I probably should have toned it down a bit. . Glad is helped though. |
|
|
|
|
|
|
#4 |
|
Digital Jedi
Premium Member
|
I installed the Windows graphical client installed through Wine. It's running fine except for when I try to open the display window. I get this message "Can't Find A Suitable Pixel Format.", then it crashes.
|
|
|
|
|
|
#5 |
|
Chop Chop
|
I have never used WINE, so I wouldn't know. http://www.winehq.com might have info on how to configure it so that doesn't happen.
|
|
|
|
|
|
#6 | |
|
Member (3 bit)
Join Date: Apr 2006
Posts: 4
|
Quote:
I run it on a few machines. |
|
|
|
|
|
|
#7 | |
|
Digital Jedi
Premium Member
|
Quote:
|
|
|
|
|
|
|
#8 |
|
Member (4 bit)
|
Hey crash man maybe you should say something about that nice little program you got compiled for folding on your linux comps.
Oh and btw im thinking of trying to scrape together enough parts to put that old p2 (lmao) up and running with linux just to have something to do. |
|
|
|
|
|
#9 |
|
Chop Chop
|
Here is a link on folding on Ubuntu (works very well) - https://wiki.ubuntu.com/FoldingAtHom...=%28folding%29
I guess everything is installed to the /opt/foldingathome directory, so look there for the unitinfo file and that stuff. |
|
|
|
|
|
#10 |
|
Chop Chop
|
All right, here's another Folding goodie for Debian and Ubuntu. I just got it working on Debian 3.1.
---------------------------------------- Linux Distribution : Ubuntu Breezy 5.10 and Debian Sarge 3.1 Last Update : January 4th 2006 This guide explains how to install and configure Folding@Home and then run it is a service. Complete all of the folowing as root. $ mkdir -p /opt/fah $ cd /opt/fah $ wget http://www.stanford.edu/group/pandeg...H504-Linux.exe $ chmod 755 FAH504-Linux.exe $ ./FAH504-Linux.exe Once you have your options set, the first core and WU are downloaded and the client starts folding. Exit by pressing CTRL-C. Create a script in '/etc/init.d' called "fah" to specify how to handle the Folding@Home service. $ touch /etc/init.d/fah $ chmod 755 /etc/init.d/fah $ vi /etc/init.d/fah Below is the body of the script. Copy and paste this into your terminal but make sure to edit the parts shown to reflect your particular system! case "$1" in start) cd /opt/fah ./FAH504-Linux.exe 2>&1 & ;; stop) killall FAH504-Linux.exe ;; esac Run the following command, still as root, to insert symlinks into the appropriate rc.d directories automatically. $ update-rc.d fah defaults Start the F@H client with... $ /etc/init.d/fah start The F@H client will now be stopped and started automatically on boot and shutdown. You can check the progress of the client at any time by using the "tail" command. Change the number 10 in the command below to select a number of lines (from the bottom) to be displayed from the log file. $ tail -n 10 /opt/fah/FAHlog.txt ------------------------------------- Source: http://www.flexion.org/site/index.ph...ion=Page&id=29 Hope that helps. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|