Featured Worklog

Price Search



PC Apex Sponsor


PC Apex Sponsors



PC Apex RSS Feeds

RSS Feed for PC Apex Reviews & ArticlesRSS Feed for PC Apex PC Modding WorklogsRSS Feed for the PC Apex Daily DisturbanceRSS Feed for the latest PC Apex Site NewsRSS Feed for PC Apex Affiliate and Web NewsRSS Feed for PC Apex Deals and Steals

Go Back   Apex Community Forums // Other Forums // Miscellaneous Stuff // Team PimpRig (F@H and more)

Team PimpRig (F@H and more) Where PR members band together.

Reply
 
LinkBack (22) Thread Tools Display Modes
Old 18-July-07, 11:53 AM   22 links from elsewhere to this Post. Click to view. #1 (permalink)
PCApex Review Editor
drougnor's Avatar
Default Folding behind the scenes in Windows XP and Vista - the quick and dirty way.

Note from admin: If you found this guide useful, please give it a Digg.

10/10/07 Note from the author: There's an addition at the bottom. Give it a check!

In two previous posts, I’ve detailed how to perform a simple setup of and all of the options available to the Console Only version of the Folding @ Home software. This is an extension of both in a way. In this one, I specifically walk you through how to set up the Console Only version as a service in both XP and Vista, as well as teaching you about the FahMon utility that I use to monitor all of my folding cores.

In some tests over the last couple of days and some searching of the official Folding @ Home forums, I’ve discovered that anyone who’s wanting to fold on Windows Vista may have some issues with the current versions of the software (the 5.03 Standard Graphical version won’t run through the setup process on most installations of Vista, and you need to adjust some settings to get the 5.04 Console Only version to run fully). Sn0wMan asked some questions which got me really digging, and the end result is this post.
  • The first thing you need to do is to go to the Official Stanford F@H site and download the latest current version of the Console Only program (As of the writing of this post, it is version 5.04 (edit::now it's version 6 beta 1 - Am reinstalling vista to see if it makes a difference in how the setup works)).
  • You need to decide where you want the program to live. On one machine (My dual core computer) I have a folder called ‘FAH’ in the root of the D: drive. My other folding desktop has a folder on the C: drive. You can put them anywhere, but I do suggest leaving them someplace simple to get to in the command line. This is also when you decide if you are sharing the folder over your network so you can track the work progress on another machine.
  • Once you have created the folder, copy the .exe file into that folder.
    • For Vista, you need to now right-click on the .exe and go to properties. In the Compatibility tab, make sure you put a check mark in the ‘Run this program as an administrator’ option under ‘Privilege Level’. You will also have to click OK a couple of times when Windows asks for permission to run the .exe in later steps.
  • Go to your start menu, to the run option and type in ‘cmd’ and hit enter.
  • Navigate in the dos window to the directory where you copied the .exe
  • Once here, type the name of the .exe followed by ‘-configonly’ (fah504-console –configonly)
    • In Vista, you will notice that at this point a second command window opens. This is because Windows is actually opening a second copy of the program SPECIFICALLY under full administrative privileges now. There’s nothing to worry about.
  • Enter your information as I have detailed in the first post above, and make sure that when you get to the third question (Launch automatically at machine startup, installing this as a service (yes/no) [no]?) that you type ‘yes’ without the quotes. You will get a message that says ‘the next time the computer is starts up(yes, that’s how they typed it) you should see work automatically continue there. Note that when this service is running, you should not try to manually run F@H from the directory at the same time.’
  • Adjust the rest of the settings to fit your needs, making sure to go into the advanced settings.
  • When you reach the end of the choices, it should kick back out to a plain command prompt.
  • Close the command window.
  • To start the service without rebooting your computer, please do the following:
    • Go back to your run menu (Start button, Run) and type in ‘Services.msc’ without the quotes. This works for both XP and Vista.
    • When the services window opens up, find the FAH@whatever service. With it highlighted, just click where it says “Start the service”. That’s it. Your computer is now folding in the background.
  • If you haven’t downloaded FahMon yet, now is the time to go grab a copy. It is a zipped folder, so just unzip it into its own folder and keep the FahMon folder intact.
  • On your first run of FahMon, you will be presented with a window asking for you to download the current projects. This is so the program can show you the correct points each project you are working on is worth.
  • When you click ok on that screen, the main window shows up. There is a large white area in the middle where your folding cores will be displayed once you set them up. To do so, right-click that spot and choose ‘Add a new client’. From there a window pops up where you navigate to the folder that you are working from. Once you have that chosen properly, hit Ok and it should show you the percentage done on that current work unit, the name you chose for that core, and approx. how long it’s going to take to finish.
  • Repeat that for however many cores you are tracking.

::Edit::
As an extra note of interest, if you dual boot between XP and Vista, you can set up the same folding core as a service in both. Just make sure that you only change the 'Start as a service' option when running the .exe with the -configonly flag. As long as your system is stable in both versions of Windows, you can switch back and forth and your folding happens uninterrupted. How's that for cool?
::End Edit::

::Extra Edit 10/10/07::
Well, after some time poking and prodding, I've added Mac OSX(or OSx86, if you prefer) to my multi boot and fold laptop.

I'm still working out automating the startup of a folding console at boot in OSx86 (it depends on if my NTFS drive is able to mount properly (aka, I haven't locked it by only hibernating Windows) and if it's mounted, getting Automator to pass the right commands.). And since you have multiple options to get it running (I'm using Darwine, but there are other emu's too) I'm not going to get into a specified how to just yet. This means that you can access the same unit under Wine in Linux, BSD or Unix too!

Just thought you'd like to know that it IS possible to have the same WU worked on by all four of the major OS's now.
::End update edit::

::additional 10/10/07 edit::
Alright, so for the systems that have Wine implementations, here's the base skeletal walkthru to get the same WU to fold using the basic windows console.

First, here are some assumptions that I have made:
  1. You either have your Windows partition on a FAT32 partition that all the major OS's can read and mount, and have mounted that partition OR you have Windows on an NTFS partition and know how to mount that partition as a read/write partition, and have done so.
  2. You already have Wine downloaded and installed.
  3. You are running the 5.04 version of the Folding @ Home Console
The key to get F@H to work as if it were still running under your copy of windows is the 'nice' command.

In a terminal, you navigate to where your folding@home console.exe program is stored (for me, it is /Volumes/WinXP/folding) and would execute the following command 'nice -n 20 /path/to/wine/executable/wine /path/to/folding/executable/fah504-console.exe' (without the quotes, of course)

And voila, you are folding on the same WU you were in windows. Automating that process at boot should be a scripting cinch. Enjoy!
::End update edit::

This is a fairly simple process that I’m certain ANYONE can use to get folding.

Thanks for your time and attention. Now, get folding!!

d

Note from admin: If you found this guide useful, please give it a Digg.

Last edited by drougnor; 26-December-07 at 01:09 PM..
drougnor is offline     Reply With Quote
Old 18-July-07, 12:45 PM   #2 (permalink)
Apex Tech Demi-God
Sn0wMan's Avatar
Default Re: Folding behind the scenes in Windows XP and Vista - the quick and dirty way.

Awesome guide bro! I vote for a sticky

I will give this a shot later and let you know how it goes.

EDIT: Well I got it working on my Vista machine. Thanks again bro.

Last edited by Sn0wMan; 18-July-07 at 01:49 PM..
Sn0wMan is offline     Reply With Quote
Old 18-July-07, 07:09 PM   #3 (permalink)
PCApex Corr-Hoe-spondent
BeetleMan's Avatar
Default Re: Folding behind the scenes in Windows XP and Vista - the quick and dirty way.

+rep for awesome tutorial....
Second on making this a Sticky, we all need this one...
I think it can help alot of inactive users to get back to F@H, it could jump team 596 up few steps...
BeetleMan is offline     Reply With Quote
Old 18-July-07, 07:51 PM   #4 (permalink)
Pimp-of-all-Pimps
GlitterKill's Avatar
Default Re: Folding behind the scenes in Windows XP and Vista - the quick and dirty way.

Great guide! I will be sending new out about this! Great work... I stuck the thread and soon as I saw it.

Edit: I posted this guide over at Digg and have added a link to the post so you can Digg the article if you found it useful.

Last edited by GlitterKill; 18-July-07 at 08:06 PM..
GlitterKill is offline     Reply With Quote
Old 18-July-07, 08:19 PM   #5 (permalink)
PCApex Review Editor
drougnor's Avatar
Default Re: Folding behind the scenes in Windows XP and Vista - the quick and dirty way.

Quote:
Originally Posted by GlitterKill
Great guide! I will be sending new out about this! Great work... I stuck the thread and soon as I saw it.

Edit: I posted this guide over at Digg and have added a link to the post so you can Digg the article if you found it useful.

AND he submitted it to Digg. That's Pimp, my man! Thanks for spreading the word!
drougnor is offline     Reply With Quote
Old 19-July-07, 10:37 AM   #6 (permalink)
PCApex's Mom
lokies_mom's Avatar
Default Re: Folding behind the scenes in Windows XP and Vista - the quick and dirty way.

The last time Lokie rebuilt my computer and I got it back, from what I could see I wasn't folding. So I called him and said WTF. He told me OH, YOUR FOLDING MOM. Ya just can't see it. So I'm guessing that's what he did. He said I was STILL in his folding farm.
lokies_mom is offline     Reply With Quote
Old 08-August-07, 07:07 PM   #7 (permalink)
Apex Tech Fanatic
Mr. Fiddles's Avatar
Default Re: Folding behind the scenes in Windows XP and Vista - the quick and dirty way.

cmd won't let me navigate to anything it just says bad batch file whenever I try to move around anywhere. Am I being dumb and not knowing how to use DOS?
Mr. Fiddles is offline     Reply With Quote
Old 11-August-07, 10:07 PM   #8 (permalink)
PCApex Review Editor
drougnor's Avatar
Default Re: Folding behind the scenes in Windows XP and Vista - the quick and dirty way.

Quote:
Originally Posted by Mr. Fiddles
cmd won't let me navigate to anything it just says bad batch file whenever I try to move around anywhere. Am I being dumb and not knowing how to use DOS?

I have no idea what your experience level is with the command prompt, so I found a decent site to give you a good breakdown of the commands. If you need anything more basic, please don't feel embarrassed and do let me know. I'd much rather help someone out fully than just give enough information to confuse. I've been doing command prompt work since I first touched a computer back in the 80's, so it's second nature and I often forget that there are a great deal of people who've never actually used it.

d
drougnor is offline     Reply With Quote
Old 10-October-07, 01:41 PM   #9 (permalink)
PCApex Review Editor
drougnor's Avatar
Default Re: Folding behind the scenes in Windows XP and Vista - the quick and dirty way.

Just a bump as I've added some new info at the bottom of the first post. Pretty cool stuff as far as I'm concerned!

d
drougnor is offline     Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Affilliate Review:Windows Vista: Flawed Just Like Windows Me ranger1033 PC Apex Web News 0 12-March-07 11:03 AM
Need a Vista ready Soundcard Quick! HemiCuda1970 Other PC Problem / Help 4 03-March-07 10:31 AM
Windows Vista: How-To Beat The Windows Hackers ranger1033 PC Apex Member Posted News 4 27-November-06 10:18 PM
Windows+RC1 Vista DVD and Express Vista Upgrade Wordbiker Deals and Steals 10 02-November-06 07:42 PM
"Quick and Dirty" Athlon XP OC guide and tips! $SOLID$ Necro AMD CPU/Motherboard OC 1 25-October-06 03:07 PM

LinkBacks (?)
LinkBack to this Thread: http://www.forumapex.com/team_pimprig_f_h_and_more/110663-folding_behind_the_scenes_in_windows_xp_and_vista_the_quick_and_dirty_way.html
Posted By For Type Date
3dGameMan.com - Folding@Home on Windows Vista This thread Refback 27-August-07 04:43 PM
The Mother Board :: View topic - Running Folding@Home on Windows Vista @ PC Apex This thread Refback 21-August-07 03:29 PM
Tekbunker - Make it your own! 8800 GTX ATi 2900XT x1950 This thread Refback 04-August-07 02:45 PM
digg / TWEAK / news / dugg This thread Refback 31-July-07 04:17 PM
PC Apex Guide // Quick and Dirty Guide to Running Folding@Home on Windows Vista - HardwareHell Forums This thread Refback 30-July-07 03:22 AM
digg / drougnor / news / dugg This thread Refback 27-July-07 09:07 AM
Tech ARP - Where The Best In Technology Gather This thread Refback 23-July-07 11:34 AM
Tech ARP - Where The Best In Technology Gather This thread Refback 22-July-07 08:33 PM
3dGameMan.com This thread Refback 22-July-07 01:23 AM
Quick and Dirty Guide for Running Folding@Home on Windows Vista This thread Refback 21-July-07 11:09 AM
PC Perspective - The #1 Choice for PC Hardware Reviews and Information This thread Refback 21-July-07 06:26 AM
The Mother Board :: View topic - Running Folding@Home on Windows Vista @ PC Apex This thread Refback 21-July-07 04:16 AM
[TweakNews.net] - TWEAK IT LIKE YOU MEAN IT! This thread Refback 21-July-07 01:12 AM
Welcome to ProClockers! PC Review - One MegaHertz at a Time This thread Refback 20-July-07 10:51 PM
Viper Lair: Computer Hardware Reviews, Articles and Guides This thread Refback 20-July-07 07:40 PM
Bjorn3d.com - Satisfying Your Daily Tech Cravings Since 1996 This thread Refback 20-July-07 02:43 PM
Welcome to ProClockers! PC Review - One MegaHertz at a Time This thread Refback 20-July-07 02:29 PM
Hardware reviews, Overclocking, Tech News and Enthusiast Community Homepage - Overclockers Club This thread Refback 20-July-07 10:54 AM
Tekbunker - Make it your own! 8800 GTX ATi 2900XT x1950 This thread Refback 20-July-07 10:50 AM
3dGameMan.com - Folding@Home on Windows Vista This thread Refback 20-July-07 09:11 AM
Digg / Software / Upcoming This thread Refback 19-July-07 11:30 AM
Digg - A quick and dirty guide to get Folding@Home to run correctly in Vista! This thread Refback 18-July-07 08:35 PM


All times are GMT -5. The time now is 11:33 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
Copyright PCApex.com, GameApex.com, ForumApex.com 2001 - 2008
Advertisements

Page generated in 0.25166 seconds with 9 queries