Windows SMP client installation guide

Zero82z

Fully [H]
Joined
Jan 20, 2004
Messages
27,897
The Folding@home SMP client takes advantage of multi-core CPUs to perform folding much faster than the standard client does. Running the SMP client, especially with a passkey to take advantage of the bonus program, means that anyone folding on a multi-core CPU will get significantly more PPD out of their CPU compared to the classic client. Although the setup process is a bit more involved, using the SMP client is strongly recommended for those who can do so.

I recommend that you read the extra info section after the main guide, because if you have any other questions or concerns that weren't covered in the main guide, chances are that they are addressed there.

Once you have finished setting up the client, I recommend using HFM.NET to monitor it: http://code.google.com/p/hfm-net/

To run the Windows SMP client, your computer must have at least two cores or threads.

If you wish to run -bigadv units under Windows, your computer must meet all the normal SMP requirements and must also have at least eight cores or threads. If you are using a quad-core Core i7 CPU, it must be overclocked to 3.4GHz or higher and it must have HyperThreading enabled. At least 4GB of RAM is recommended for a system folding -bigadv units.

If you are interested in folding -bigadv units and have not yet qualified for bonus points based on the criteria listed below, it is strongly recommended that you begin with folding standard SMP units to qualify for the bonus more quickly, and then switch to -bigadv afterward.​

1. Make a folder in the root directory of your hard drive to contain the client. I recommend naming it "Folding@home SMP" or something along those lines:

directory.jpg


2. Get a passkey from this page: http://fah-web.stanford.edu/cgi-bin/getpasskey.py

You need to provide a valid e-mail address (the passkey will be sent via e-mail), as well as the name that you plan on folding under. The passkey you receive is unique to your donor name, and you must use the same passkey for all of your clients that you wish to receive bonus points from.

3. Download the Windows SMP client v6.34 beta from here: http://www.stanford.edu/group/pandegroup/folding/release/FAH6.34-win32-SMP.exe

Navigate to the directory where the downloaded file is located. Right-click on FAH6.34-win32-SMP.exe and select Rename. Either manually type in or copy and paste the following: [email protected]
The reason for this is so if you update your client in the future, your shortcuts will not reference an outdated version number.

Move the executable file into the directory you made earlier:

executable.jpg


4. Right-click on [email protected] and select Send to>Desktop (create shortcut):

shortcutq.jpg


4a) Find the shortcut on your desktop, right-click on it, and go into Properties. At the end of the Target box, add a space and then type "-smp" (without the quotation marks). It should look like this:

flagsb.jpg


4b) If you have a system with 8 or more threads and you want to run -bigadv units, enter the following flags instead:
-smp -bigadv
It should look like this:

bigadv.jpg

5. Launch the client using the shortcut. Enter in your username (case sensitive), team number (33 for [H]), passkey (VERY important if you want to receive the full amount of PPD with SMP units), and choose big for the acceptable work size. For the other options, just press enter until the configuration is complete. If you do this correctly, the window should look similar to this, but with your user name:

config33.jpg


The client will then contact the assignment servers for work and start folding.

6. If you want to set the client to run as a service, go into the advanced options during configuration. You can do this the first time you run the client, or later on by following the instructions in the tips section below. Press enter until the program asks "Launch automatically, install as a service in this directory," press "y," and press enter.

Once you've done this, go into the Start Menu and Run regedit. Navigate to the path shown in this image and add the text that is indicated (omit -bigadv if you want to run standard SMP units):

fold3.png


Once you've done this, you can start the service manually or reboot your computer to make it start automatically.

Extra tips and information:

-If the download link listed above does not work, here is a link to the page containing downloads for all the high-performance clients, with the SMP client at the bottom: http://folding.stanford.edu/English/DownloadWinOther

-SMP work units make use of an early completion bonus system which awards extra points depending on how quickly the unit is submitted to Stanford relative to the download time and the preferred deadline. This means that the faster you complete a unit, the more points you receive for it. It also means that the base points value for these units does not reflect the amount you will actually get credited. If you would like to see a detailed explanation of how the bonus system works, see SazanEyes' excellent thread here: http://hardforum.com/showthread.php?t=1542103

-Currently, the two monitoring programs that can calculate bonus points and will include them in PPD calculations are HFM.NET and FahSpy. If you are running A3 work units and you want to see the real PPD you will be getting from them including bonus points, you must use one of these programs. I personally recommend HFM.NET.

-To access the configuration menu again, make another shortcut to the F@H .exe file and add the -configonly flag to the end of the target box this time. This flag means that the shortcut will launch the configuration menu and the client will shut down once the configuration process is complete.

-If you are running multiple F@H clients on the same PC, each one will need its own Machine ID. To access this setting, launch the configuration menu and proceed to the advanced options menu by entering y when prompted. Press enter until you get to the Machine ID option, and assign a unique number to the client.

-I suggest reducing the time between checkpoints to a smaller number such as 5 minutes. You can find this setting in the advanced options menu as well.

-I recommend placing a copy of the shortcut in the Startup folder within the Start menu, so that the client will automatically launch when you log into your user account.

-TrayIt! is a program that can remove programs from the taskbar and turn them into system tray icons instead. If you're running multiple clients, it can be very handy for getting them out of your taskbar and reducing clutter.

-To receive bonus points for early unit completion with SMP work units, you must be using your passkey, and you need to first successfully complete 10 SMP units and submit them before the preferred deadline with at least an 80% success rate. If you are new to the SMP client, it will take some time before you start getting the bonus, but be patient and once you meet the criteria it will start showing up.
 
Last edited:
- You may want to clarify for step 4 that this is the Windows user account name and password.
- For the first step 5, how about show what the end result looks like?
- The second step 5 shoul be 6.. :)

Otherwise, I like it.
 
Would this run on an atom @ 2ghz? (just for shits and giggles lol)

Also, If I get bored tomorrow when I set this up on my rig I'll grab some screen's
 
May want to edit 4b - it isn't necessary, you can run the cmd prompt as admin and not need to logout/login as admin or disable UAC. Easiest way to do this - click the start menu, type cmd in the search box, right click on cmd.exe at the top under programs and choose run as administrator. :)

You may want to also add in somewhere that using mpich requires your Windows login account to have a password set.
Then I would even branch off of that and say you can then (after setting the pw) make your account auto-login instead of prompting you every time (if you're the only user account on the computer) by going to the start menu, type netplwiz and hit enter (or type control userpasswords2 from a command prompt).

Otherwise good work. ;)
 
Last edited:
May want to edit 4b - it isn't necessary, you can run the cmd prompt as admin and not need to logout/login as admin or disable UAC. Easiest way to do this - click the start menu, type cmd in the search box, right click on cmd.exe at the top under programs and choose run as administrator. :)

Otherwise good work. ;)
4b is just general troubleshooting tips in case it doesn't work. Sometimes things work and sometimes they don't, but it's better to have a bunch of things you can try.
 
I'm gonna bust out my lappy right now and try this lol, I'll let ya know what I find

And Roger that on the screen shots, glad we've got an easier and more to the point guide
Posted via [H] Mobile Device
 
Nice guide Zero82z.

This would be a good candidate for a sticky along with a direct link to the GPU client given the recent GenMay announcement and associated repsonse.

I know they are referenced Xilicon's awesome Guide but they are a bit tough to find.
 
Hmm... Mine has been acting up again lately.. Taking hours to complete a single step, so I haven't even bothered keeping it open :( But I'm determined to try and get it working again!! So I think I'll completely uninstall it and then follow the guide to reinstall it step by step again.. hope it works!
 
I right clicked the install.bat to run as administrator, but the console instantly closes as soon as it opens. Opening it normally stays open.

Any ideas?
 
I right clicked the install.bat to run as administrator, but the console instantly closes as soon as it opens. Opening it normally stays open.

Any ideas?

I would try running it from a command prompt instead, that way you might be able to see better what's going on, then troubleshoot from there. I'm guessing it's erroring out then just closing the window.
 
I would try running it from a command prompt instead, that way you might be able to see better what's going on, then troubleshoot from there. I'm guessing it's erroring out then just closing the window.

I had the exact same problem as the poster above you when I tried to run the install.bat file that way. Just make sure to open the command prompt as an administrator and it will work perfectly.
 
Oops. It was even in the guide. My bad.

Another question- I'm running a xeon x3440 at 2.9.. I wanted to take a crack at some -bigadv units but I only have 4 gigs ram. Possible or no?
 
Oops. It was even in the guide. My bad.

Another question- I'm running a xeon x3440 at 2.9.. I wanted to take a crack at some -bigadv units but I only have 4 gigs ram. Possible or no?

My understanding is that you need a minimum of 6 gigs if this will be a dedicated 24/7 folding rig, and 8 gigs otherwise.

The other thing is that at 2.9ghz, you will be cutting things awefully close as I keep hearing that a 2.8ghz Core i7 or equivalent is the bare minimum speed you need to make the deadline. If this is not dedicated 24/7 to folding, then even with additional memory you may not make the deadline if what i've been reading is correct about these figures.

I am new and someone much more experienced will have to chime in about speeds.
 
My understanding is that you need a minimum of 6 gigs if this will be a dedicated 24/7 folding rig, and 8 gigs otherwise.

The other thing is that at 2.9ghz, you will be cutting things awefully close as I keep hearing that a 2.8ghz Core i7 or equivalent is the bare minimum speed you need to make the deadline. If this is not dedicated 24/7 to folding, then even with additional memory you may not make the deadline if what i've been reading is correct about these figures.

I am new and someone much more experienced will have to chime in about speeds.
A stock i7 920 is fast enough to finish -bigadv units before the deadline. His CPU would be fine. However, 4GB of RAM is not enough.
 
Mighty fine guide.

Send a PM to Xil and get the sticky updated.
 
It may also be worthwhile to show how to install the SMP client as a service; that way, it's not dependant on users remembering to start the client every time they log on.
 
I have never actually been able to get the SMP client to work as a service, and that functionality is not even officially supported. I included instructions on how to place a shortcut to the client in the Startup folder to make it run automatically upon login, and I suggested the use of TrayIt! to remove it from the taskbar. That in effect accomplishes the same thing as running the client in service mode, and also gives you more control over it.
 
Ok, with this great guide I am ready to swich one boxen over to try out SMP.

Right now I have two normal clients running on my 3Ghz Core2Duo with 4G RAM. Both standard CPU clients are running as a service. Each core has turned in over 600 WUs, so they are used to folding old fashion!

How do I set them to complete their current WU and stop?

Fold on mighty [H]orde...
 
Screenshots added.

thanks for the pictures.. i might give the smp client a try tonight since i finally got my phenom II 940 working on my m2n-sli deluxe board.. was getting sick of that pos x2 6400+..
 
Thanks for the guide, I had just set up folding again and needed a refresher on how to set up the console client.

Question: I'm running 4 console clients for my quad core processor. Do I need to add the -SMP flag to each client, or just the first one?
 
Thanks for the guide, I had just set up folding again and needed a refresher on how to set up the console client.

Question: I'm running 4 console clients for my quad core processor. Do I need to add the -SMP flag to each client, or just the first one?

You don't want to run the single thread client on a quad. You will do much more science of you follow the guide in this thread and runt eh SMP client.
 
Question: I'm running 4 console clients for my quad core processor. Do I need to add the -SMP flag to each client, or just the first one?
You need to remove all four of your current clients and install the SMP client as per the instructions in this guide.
 
You need to remove all four of your current clients and install the SMP client as per the instructions in this guide.

Hmm OK thanks, I was a bit confused about this. I just removed 3 of the 4 clients now, leaving the first one running, as I originally set it up properly as an SMP client. (All four were set up as SMP clients in fact...)
 
k followed the guide but im getting this
[20:15:28] + 2340489 bytes downloaded
[20:15:28] Verifying core Core_a3.fah...
[20:15:28] Signature is VALID
[20:15:28]
[20:15:28] Trying to unzip core FahCore_a3.exe
[20:15:29] - Couldn't open file FahCore_a3.exe
[20:15:29] + Error: Could not extract core
[20:15:29] + Core download error (#6), waiting before retry...
 
Try a reinstall. I think the core download got messed up.
 
k followed the guide but im getting this
[20:15:28] + 2340489 bytes downloaded
[20:15:28] Verifying core Core_a3.fah...
[20:15:28] Signature is VALID
[20:15:28]
[20:15:28] Trying to unzip core FahCore_a3.exe
[20:15:29] - Couldn't open file FahCore_a3.exe
[20:15:29] + Error: Could not extract core
[20:15:29] + Core download error (#6), waiting before retry...

if you're on Vista or 7, run as admin
 
k followed the guide but im getting this
[20:15:28] + 2340489 bytes downloaded
[20:15:28] Verifying core Core_a3.fah...
[20:15:28] Signature is VALID
[20:15:28]
[20:15:28] Trying to unzip core FahCore_a3.exe
[20:15:29] - Couldn't open file FahCore_a3.exe
[20:15:29] + Error: Could not extract core
[20:15:29] + Core download error (#6), waiting before retry...
That error is caused by inadequate privileges. If you are running Windows Vista or 7, disable UAC, reboot, and try again. If it still doesn't work or if you don't want to disable UAC, uninstall F@H and reinstall it in the root directory of your drive (ie: C:\Folding@home Windows SMP Client V1.01\ instead of C:\Program Files\...).
 
thanks for the guide Zero.. took me a whole 3 minutes to get the SMP client up and running..
 
Finally got around to it! Once I figured out that I had never assigned a password to my account, it when smooth as silk. Seems to be crunching away on both cores.

Thanks to all
 
Back
Top