How to install Folding@Home with finstall.



The easiest way to install Folding@Home on linux is with finstall. Here are some instructions on how to use the finstall script. Everything in bold are the things you need to type. Everything in italics is a comment that I have added.


gtg4@TheBrain:~> wget http://www.vendomar.ee/~ivo/finstall
gtg4@TheBrain:~> chmod +x finstall You have to make sure the script is executable.
gtg4@TheBrain~> ./finstall If your shell is not bash, then use bash -c "./finstall" instead.
Do You want to read finstall FAQ (y/n)?: y
Do You want to continue with the install (y/n)?: y
Is this the correct MD5SUM value of FAH504-Linux.exe (y/n)?: y Check http://folding.stanford.edu/download.html for the MD5SUM and make sure it matches for the right executable

For now say no to this option unless you feel like you can tackle it on your own. I haven't used this as of yet, so I can't be certain how it will work. I will write a page on it eventually and link it in for those who want to use it
Some 3rd party FAH utilities can be used by folding script:
1. Dick Howell's 'qd' and 'fpd' (http://linuxminded.xs4all.nl/?target=software-qd-tools.plc)
Do You want to use any of these 3rd party FAH utilities (y/n)?: n

Do You want to use automatic MachineID changing (y/n)?: y Say yes to this, especially if you have a multi core/processor box.

[16:08:46] Configuring Folding@Home...

User name [Anonymous]? Thespis377 Go to http://folding.stanford.edu/download.html and check to see if the username you want is available and then put it here, or you can put Thespis377 I won't mind. 9-)
Team Number [0]? 11675 This is Team MSU's Team Number, remember well.

Ask before fetching/sending work (no/yes) [no]? Just hit enter

Use proxy (yes/no) [no]? no Unless you use a proxy, then say yes and enter the information requested
Allow receipt of work assignments and return of work results greater than
5MB in size (such work units may have large memory demands) (no/yes) [no]? yes
Say yes only if you have a processor over 2Ghz
Change advanced options (yes/no) [no]? yes
Core Priority (idle/low) [idle]? Just hit enter
Disable highly optimized assembly code (no/yes) [no]? no Only say yes if you are having stability issues
Interval, in minutes, between checkpoints (3-30) [15]? 30
Memory, in MB, to indicate (2026 available) [2026]? Just hit enter

Request work units without deadlines (no/yes) [no]? Just hit enter

Set -advmethods flag always, requesting new advanced
scientific cores and/or work units if available (no/yes) [no]? yes
This will allow you to download bigger WU's for more points
Ignore any deadline information (mainly useful if system clock frequently has errors) (no/yes) [no]? Just hit enter
Machine ID (1-8) [1]? Just hit enter

If you have more than one cpu or core then the install script will ask you if you want to use the same client.cfg for both cpus/cores. I would say of course.

Do You want to use it for this client and for all remaining configureless clients as well (y/n)?: y

The below explains how to start Folding and will also tell you how to start the client(s) as a service

You can start the FAH client(s) by running
'~/foldingathome/folding start'
or start ./FaH scripts directly inside CPU directories.

Note: If You would like to set some FAH flags, take a look inside ./FaH and/or read the finstall documentation.

There are couple of ways how to run FAH client(s) at system bootup as a service:
a) You should copy

~/foldingathome/folding

to your system service directory (ie: /etc/init.d/ (*)) and then start it with

'/etc/init.d/folding start'.

Also, You may have to run 'chkconfig --add folding' (**).


If you have any questions, please contact me, or add a comment to the page.

Thanks,
Greg