dslreports logo

    All FAQs Site FAQ DSL FAQ Cable Tech About DSL Distance DSL Hurdles »»


how-to block ads

2.13 Folding with a Mac

You can start with the Stanford FAQ for the OS X graphical, screensaver or console client software here.

by sortofageek See Profile
last modified: 2007-03-23 13:19:57

How do I install and configure F@H so that I have 2 clients folding on a dual processor Macintosh?


Go to this page and download the OS X text console at the bottom of the page.
»folding.stanford.edu/console-use ··· ide.html

Now visit this page »folding.stanford.edu/console-use ··· ide.html

Near the bottom you will see the -local tag, that explains what you need to know, but it's not too straight-forward.

Find the .dmg file you just downloaded and double click on it, and this should mount the disk image containing the client. Within that disk image you will see the file for the text client, double click on that. This will start up f@h, if it's your first time, you will be asked for your username, and team # (enter 4 for Team Helix). After selecting this info, let the client run for a minute, until it actually starts folding.

Now, on the keyboard, hold control-c to cancel the process. This is done so that files mentioned later in the instructions are created and put in the proper place (your Your-username/Library folder).

The above is suitable for running one client, to run two, keep reading.

What I did was create 2 folders inside the "Your-username' folder, I named them fah1 and fah2.

Next, take the f@h text client you downloaded, and make 2 copies, put one in each folder.

Then, go into 'Your-username' then 'library' and look for folding@home folder (created by the brief run you did in the first stage). In that you will see a file named 'client.cfg'. Make two copies of that, and put one in each folder (fah1, fah2).

Now you open a new terminal / shell window, it should have Your-username on the line with the flashing cursor.

Type in cd fah1, and then return.

You should now have 'fah1' in the terminal beside the name of your hard drive, that's because 'cd' means change directory, so now you are 'in' the fah1 folder.

Now type in ./fah5 -config which will start up the fah client in the fah1 folder, with the config option. Fill in your info as above (e-mail, team number) and choose 'yes' for the advanced options.

** The important option here is the 'machine ID #', because you will need a different number for each of the 2 clients.

Once that is set up, the application will start running. SHUT IT DOWN with 'control-c'.

Now start it up again, like this ./fah5 -local

That tells it to create the needed files, and store work units, in the fah1 folder where the application is, instead of in your library folder where it goes by default.

Now all you have to do is open another terminal window, and repeat the steps above for setting up fah2 (you have to use the command cd fah2 in place of cd fah1), give it it's own Machine ID #. That should do it.

When you start this up in the future, just open 2 terminal windows, cd into the proper directory (fah1 and then fah2), then start up by typing in ./fah5 -local

You should now have two clients running, each with their own workunits contained locally in the fah1 fah2 folders.

To check on the progress of your workunits, or to see the name of the units, try this 3rd party application. »versiontracker.com/dyn/moreinfo/ ··· sx/24286

by Spine See Profile edited by sortofageek See Profile
last modified: 2007-03-23 13:54:00

You'll find it here.

by sortofageek See Profile