Uniprocessor (classic, CPU single core) client: How to install as a service

Started by Whitey, February 06, 2006, 06:55:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Whitey

First of all you need to create a directory on your PC to run F@H from, in my case "W:\Program Files\Folding@Home".  If you have a dual core or Hyperthreading system then create a second directory e.g. "W:\Program Files\Folding@Home2".

Download the latest F@H console from Here and save it to the directory you created.  If running dual core then copy the file to the second directory as well.

Now you need to configure Folding@Home to run as a service:
W:\Program Files\Folding@Home>FAH504-Console.exe -configonlyNote: Please read the license agreement (FAH504-Console.exe -license). Further
use of this software requires that you have read and accepted this agreement.

Folding@Home User Configuration

--- Opening Log file [February 6 18:05:10]

# Windows Console Edition #####################################################
###############################################################################
                       Folding@Home Client Version 5.04beta
                          http://folding.stanford.edu
###############################################################################
###############################################################################
Launch directory: W:\Program Files\Folding@Home
Executable: FAH504-Console.exe
Arguments: -configonly

[18:05:10] - Ask before connecting: No
[18:05:10] - User name: [dMw]Whitey (Team 33597)
[18:05:10] - User ID: 1B0F8464010F0297
[18:05:10] - Machine ID: 1
[18:05:10]
[18:05:10] Configuring Folding@Home...

User name [[dMw]Whitey]?
[dMw]Whitey
Team Number [33597]? 33597
Launch automatically at machine startup, installing this as a
 service (yes/no) [no]?
yes

The program will continue in non-service mode now, working in W:\Program Files\Folding@Home.
The next time the computer is starts up, you should see work automatically
continue there. Note that when this service is running, you should not try
to manually run F@H from that directory at the same time.

Ask before fetching/sending work (no/yes) [no]?
Use Internet Explorer Settings (no/yes) [no]?
Use proxy (yes/no) [no]?
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   (Only if you have 512MB or more)
Change advanced options (yes/no) [no]? yes  (This will allow you to specify machine ID for dual core machines)
Core Priority (idle/low) [idle]?
CPU usage requested (5-100) [95]?
Disable highly optimized assembly code (no/yes) [no]?
Pause if battery power is being used (useful for laptops) (no/yes) [no]?
Interval, in minutes, between checkpoints (3-30) [15]?
Memory, in MB, to indicate (1022 available) [1022]?
Request work units without deadlines (no/yes) [no]?
Set -advmethods flag always, requesting new advanced
  scientific cores and/or work units if available (no/yes) [no]?
yes          (This could cause stability issues but you get more points for them)
Ignore any deadline information (mainly useful if
 system clock frequently has errors) (no/yes) [no]?
Machine ID (1-8) [1]?
1    (for dual core this would be set to 2 when run from second directory)

[18:27:07] - Ask before connecting: No
[18:27:07] - User name: [dMw]Whitey (Team 33597)
[18:27:07] - User ID: 1B0F8464010F0297
[18:27:07] - Machine ID: 1
[18:27:07]
[18:27:07] -configonly flag given, so exiting.

W:\Program Files\Folding@Home>

For dual core you would now change to the socond directory and run configonly again from there.  If you have the need to uninstall at any point simply run W:\Program Files\Folding@Home>FAH504-Console.exe -configonly again and select to remove the service when prompted.

Now reboot or start the services manually.

For more information on stopping/starting the service, see BluBalls thread here

I hope this helps.  :)

Penfold

What does running it as a service mean compared to just installing the program?

Thanks

PEN

Whitey

If your running Windows 2k or XP then you will have a number of jobs that are setup as services.  They run in the background without any Graphical User Interface.  You can see them by right clicking on My Computer -> Manage and then at the bottom of the list click Services and Applications -> Services.  The good thing about services are that they have a low system overhead compared to normal interactive programs and they can startup/shutdown automatically with Windows.  So you can set it up and then forget about it.  
I have a shortcut to the FAHlog.txt file on my desktop so that I can check everythings still running OK from time to time.

GhostMjr

A while back i installed folding @ home display edition and now want to migrate to folding @ home console variant. I have a few questions however. I want the client to be visible on start up so i can look at how the folding processes r doing :) I remember when i migrated to the console version before it did this but since i haven't been able to after resetting my computer to get it to do so once again .
I know the console version is faster than the graphic variant and this is my sole purpose for the migration. Thanks i appreciate your help ;)

-=[dMw]=-GhostMjr

Whitey

If you install the console version from the same directory your graphic version is in then you won't lose any work already processed.  If you do install the console version and run it as a service, then don't run the graphic version to check progress, as this means you have two clients running against the same data and you could have problems. Instead create a shortcut to the FAHlog.txt file on the desktop and you can then look at it to check everything is working ok.

GhostMjr

Thanks whitey for your help. I have uninstalled the graphic version :) and replaced it with just the console version. Thanks again for the guide. Can it be made a sticky?  I am sure you took alot of time to make the guide :D

-=[dMw]=-GhostMjr

TeaLeaf

Just make sure you instal it 'twice' with different machine IDs.  Otherwise your duallie won't be dualling.

TL.
TL.
Wisdom doesn\'t necessarily come with age. Sometimes age just shows up all by itself.  (Tom Wilson)
Talent wins games, but teamwork and intelligence wins championships. (Michael Jordan)

KKND

Installing F@H as a service. i have installed this yesterday but where can i see if it works and how far it is.?

if i look at proces ore service it use 100 mb...but thats the only thing i can find bout this :blink:

Whitey

Check the FAHlog.txt file in the directory you run the program from.

Anonymous

There should also be a file called MyFolding.html in that directory. Open it up and you'll get info you need

KKND

Date of last work unit None  
Total score 0  
Overall rank (if points are combined) 532074 of 532074  
Active processors (within 50 days) 0  
Active processors (within 7 days) 0  


seems like it dont work right.?

KKND

QuoteOriginally posted by BlueBall@Feb 12 2006, 10:41 PM
There should also be a file called MyFolding.html in that directory. Open it up and you'll get info you need
[post=112208]Quoted post[/post]
[/b]

cheers BB  ;)

target

Folding@Home added to both cores of my new Athlon 64 X2 4200+ PC :devil:

Roll-on the points
-=[dMw]=-target

I write down everything I want to remember. That way, instead of spending a lot of time trying to remember what it is I wrote down, I spend the time looking for the paper I wrote it down on.

Jamoe

I've installed this on my work laptop so hopefully get folding again.

Will try and remember to install this onmy home machies again :)

Lee

Is there anyway to get the config settings at the start to reappear, maybe by deleting the client.cfg file or something? I didn't set the advanced parts etc.
[imglink]http://77.108.129.49/fahtags/ms2.jpg[/imglink]  

Do some Folding today! Click the above link. :)