View Full Version : A "How-To" on Borging
All the information on how to install FAH is located here. (http://www.ocforums.com/showthread.php?s=&threadid=231247)
SO SOMEONE KILL THIS STICKY!!!
Wedo
nikhsub1
03-23-03, 11:27 AM
Originally posted by Wedo
Your new borger has now been primed and ready to go, just restart the machine to initiate the flags and the next work unit should be a gromac if they are available.
Pull out your floppy and laugh maniacally as you move to the next machine.
Wedo
As a borger myself, there is no need in wasting time in restarting the machine after adding the flags. Go to Start>Run then type in services.msc and locate the folding service, right click it, choose stop. Then (this is optional) what I do is go to the folder with FAH in it and delete all the WORK it has downloaded, the que file etc., this is to get rid of the tinker work and get some gromacs (if gromacs are available at the time of borging). Then right click the FAH service again and say start. Thats it, it shoud download a grommie core and be good to go!
You can get the service install here: www.netbetty.com/fah.zip Just be sure to use your own config file, or no scratch that, use mine:D
Penguin4x4
03-23-03, 11:37 AM
Originally posted by nikhsub1
Or............just reboot, :D
blackhabit
03-23-03, 11:48 AM
cool, borge on lol
Damn I thought you'd tell us from where to get the extra money from :p
Arkaine23
03-23-03, 11:14 PM
Massive source of info about folding inlinux or BSD (http://www.vendomar.ee/%7Eivo/FAHLinux.txt)
Local thread about the subject (http://forum.oc-forums.com/vb/showthread.php?s=&threadid=151005&highlight=perl)
Scripts and info by OC.com folders:
For scripts to launch linux native clients-
Launch your script at startup by sticking a lauch command in one of your rc files, like rc.local. (It may vary by distro, though rc.local usually works. In gentoo, I use /etc/conf.d/local.start).
Most will want to fold in wine, but for large networks (aka linux borging) its better to use the perl script I posted in the link above. Info about folding in wine can also be found in that thread.
Here's what an example launch command might look like:
su troyw -c '/home/troyw/bin/fold > /data/emu/fold.log' &
To translate- become user troyw and launch the script at /home/troy/bin named fold, output goes to a file located at /data/emu called fold.log. Run in background.
To set up a cron job to restart once per day.
as a regular user:
crontab -e
0 12 * * * /home/troyw/bin/fold stop > /dev/null
1 12 * * * /home/troyw/bin/fold > /data/emu/fold.log
Stop the script fold at noon daily and restart it at 12:01.
There are some variances between distros. I posted a simple script to start folding in wine with gromacs flags as a one-word command, I'm pretty sure wine can't be run at bootup like the perl script can because it needs X. Instead it the launch command needs to go in /home/username/.xinitrc. But there are potential problems with this kind of thing. Under certain circumstances, the client could start to spawn multiple instances, so monitor its activity with the top command or a networked windows box running EM3.
Because linux can be so customized there are many things to consider about how best to fold, and especially if you're dealing with several machines on a network (for instance I have one client and config and core that serves about 30 CPU's!). The guys in the linux section of the forums will be glad to help out and find the best solution.
Remember that linux is free and so for dedicated folding boxes, it automatically reduces your cost. It is just as fast as windows at folding when you use wine, some distros like redhat are extrememly easy to install, and hey, maybe you'll learn something if you try it. :)
Diskless clusters (aka yatta monsters) are the most cost-efficient farms.
Perl script by overdoze:
# written by ptn on 11/04/02
# fix bug rename bad WU 11/12/02
# This program will start Folding gromacs and monitor the job. If the jobs seem
# hung up it will kill it and restart with no options i.e. tinker core and vice versa.
# If user run any program and use the cpu it will stop the job and continue on when
# user's job finish within 2 minutes. The waiting period loop between checks is
# around 2 mins, twice the sleep constant. One can also run the program with argument
# stop to kill folding process then exit the program.
# one should run the program like example below if c shell is the user's shell
# fold >& fold.log &
# if you decide to start this program automactically at boot up you could add the
# following line to the file rc.local
# su <folder user's name> -c "fold > /<fold_directory>/fold.log 2>&1"
# NOTE: user's normaly change the following constants: $FoldDir, $FAH3Console, $options
# and $sleep
# user's Folding command line options:
$options='-advmethods -forceasm';
# user's check time interval
$sleep = 30;
# user's minimum cpuload value, must be less than the set value it will start folding
$minld = 0.55;
# find hostname
$host=`hostname`;chop($host);
# user's Folding directory location , uncomment second line if dual cpus
$FoldDir="/data/$host";
$FoldDir2="/data/${host}2";
# user's maximum cpuload value, must be greater than the set value it will stop folding
if (-x $FoldDir2) {
$maxld = 2.3;
}else{
$maxld = 1.2;
}
# user's Folding program location
$FAH3Console="/home/troyw/bin/FAH3Console";
# initial value for stop flag
$stop=0;
#######################Do not edit below this line ######################################
if (! -x $FAH3Console) {
die "ERROR: can't find executable $FAH3Console\n";
}
if (defined $ARGV[0]) {
if ($ARGV[0] eq 'stop') {
system("kill `cat $FoldDir/fold.pid`");
&KillFold;
system("rm -f $FoldDir/core.*");
system("rm -f $FoldDir2/core.[0-9]*") if (-x $FoldDir2);
}else {
my $cmd = $0;
$cmd = $1 if ($cmd =~ m!/.*/([^ ]+)$!);
print "Usage:\n\t$cmd [stop]\n";
print "Example 1: To start smart folding process, type";
print "\n\t$cmd\n";
print "Example 2: To kill folding process and exit, type";
print "\n\t$cmd stop\n";
}
exit;
}
open(OUTFILE, "> $FoldDir/fold.pid") || die "ERROR: can't write to file $FoldDir/fold.pid\n";
print OUTFILE "$$";
close(OUTFILE);
$option = $options;
$killCount=0;
Begin:
$load = (&findLoad);
if ($load < $minld) {
#stop old hung up Folding jobs if exists.
&KillFold;
# check for bad Work Unit if job hung and clean the directory
if ($killCount > 1){
sleep ($sleep * 2);
my $curload = &findLoad;
if ($curload < $minld) {
&SearchBadWU($FoldDir);
&SearchBadWU($FoldDir2) if (-x $FoldDir2);
}
}
#start new Folding jobs
my $time = localtime(time);
print "Start Folding processes at: $time\n";
# print "load= $load , Invoking:\ncd ${FoldDir}; nice $FAH3Console $options\n";
system("\(cd $FoldDir; nice $FAH3Console $option\) &");
system("\(cd $FoldDir2; nice $FAH3Console $option\) &") if (-x $FoldDir2);
if ($option eq '') {
$option=$options;
}else {
$option='';
}
sleep $sleep;
}else {
my $time = localtime(time);
print "Waiting for load=$load to come down at: $time\n";
sleep $sleep;
$killCount=0;
goto Begin;
}
Inloop:
sleep $sleep;
$load = (&findLoad);
if ($load < $minld){
if ($stop) {
$stop=0;
&ContinueFold;
sleep $sleep;
}elsif ($stop==0) {
&KillFold;
goto Begin;
}
}elsif ($load > $maxld && $stop==0) {
&StopFold;
$stop=1;
sleep $sleep;
}
goto Inloop;
exit 1;
sub StopFold {
my $time = localtime(time);
print "STOP Folding processes at: $time\n";
my $ps = `ps -uxw | egrep FahCore | egrep -v grep | awk \'{print \$2}\'`;
$ps .= `ps -uxw | egrep FAH3Console | egrep -v grep | awk \'{print \$2}\'`;
@PS=split(' ',$ps);
foreach my $p (@PS) {
system("/bin/kill -s STOP $p");
}
}
sub ContinueFold {
my $time = localtime(time);
print "RESTART Folding processes at: $time\n";
foreach my $p (@PS) {
system("kill -CONT $p");
}
}
sub findLoad {
my $load;
open(INFILE,"< /proc/loadavg") || die "ERROR: Can't read file /proc/loadavg\n";
while(<INFILE>) {
$load=(split(' ',$_))[0];
last;
}
close(INFILE);
return $load;
}
sub KillFold {
my $time = localtime(time);
print "Kill Folding processes at: $time\n";
my $ps = `ps -uxw | egrep FAH3Console | egrep -v grep | awk \'{print \$2}\'`;
$ps .= `ps -uxw | egrep FahCore | egrep -v grep | awk \'{print \$2}\'`;
my @PS = split(' ',$ps);
foreach my $p (@PS) {
#print "kill $p\n";
system("kill -9 $p");
}
$killCount++;
}
sub SearchBadWU {
my $foldDir=pop(@_);
my $logFile = "$foldDir/FAHlog.txt";
my $line=`egrep 'Protein:' $logFile`;
my @protein = split(' ',$line);
$line = $protein[$#protein];
print "Last Protein in $logFile is $line\n";
if ($line eq 'Protein:') {
my $time = localtime(time);
print "Try to delete bad WUs and restart Folding at $time\n";
my $timestamp = $time; $timestamp =~ s/ /_/g;
system("mv -f $foldDir/queue.dat $foldDir/queue.dat.$timestamp; mv -f $foldDir/work $foldDir/work.$tim
estamp;mv -f $foldDir/initial.pdb $foldDir/initial.pdb.$timestamp; mv -f $foldDir/machinedependent.dat $fo
ldDir/machinedependent.dat.$timestamp");
}
}
Winefold shell script by Arkaine:
#!/bin/sh
$FoldDir=/data/folding
# go to directory where windows client resides
cd $FoldDir
# launch wine with nice level 19 and windows client with advmethods and forceasm flags and send output to file
/usr/bin/nice -19 wine FAH3Console.exe -- -advmethods -forceasm > fold.log
#Note: You may have to remove the nice -19 part. It works in gentoo, but I can't get it to work like that in redhat. Set your own $FoldDir to refelct where your windows console client resides.
Note: For both scripts, you need to place them in your PATH. For me a good spot is /home/username/bin. You also need to chmod +x the script so it will be executable.
Flashfx2
03-24-03, 12:45 AM
Does running it as a service hide the client or do you still need to use hideit or emIII?
flixotide
03-24-03, 01:34 AM
Originally posted by Wedo
Thanks to Flix I have been labeled the "Borger from Hell", a title I take great pride in and put into use this last weekend. As I moved quick and deliberate from desk to desk through my good friends CAD office, borging 18+Ghz of P4 along the way, my mind drifted to thoughts of our precious forums and the need for a "How-to" for those less experienced in borg-o-rama. So here it is:
"Zen and the art of Borging" ~ by Wedo
Wedo
Dude... yer scary.... yer real scary... with that kinda borging skills.
Can I have you addy. I have a good friend in CA who might be able to help you. You will be forced to wear a special jacket... but its for your own protetion :p
Flix
seamadan000
03-24-03, 03:36 AM
running as a service hides the tray icon, but you can still see it in the task manager
________
UrKattyLuv (http://www.girlcamfriend.com/cam/UrKattyLuv/)
Arkaine23
03-24-03, 07:15 AM
Running as a scheduled task can make it effectively invisible. Make it "run when idle" and set the delay to 1 minute more than it takes the screensaver or monitor poweroff to start. Make sure to choose to make it "stop when the computer ceases to be idle" as well. And as always uncheck the "stop task after 72 hours". You won't be able to see it in the task manager because as soon as a key is pressed or the mouse is moved, it'll quit folding and restart when enough idle time has passed.
I'm going to look into the possibility of using EM3 to launch the client in stealth mode as a scheduled task when idle, probably later tonight.
Originally posted by flixotide
Dude... yer scary.... yer real scary... with that kinda borging skills.
Flix
I thought you'd like that... :D
Dude, our team has mad skillz... thanks for adding to it nik and then giving us the Linux version Arkaine. Mad skillz I'm telling you....
Wedo
NASsoccer
03-24-03, 02:12 PM
very nice write-up Wedo, mind if i throw in some links in the FAQ pertaining to this thread?
FOLD ON
NAS
Originally posted by NASsoccer
very nice write-up Wedo, mind if i throw in some links in the FAQ pertaining to this thread?
FOLD ON
NAS
Please do, I'd by honored.
Wedo
Penguin4x4
03-24-03, 04:28 PM
Originally posted by flixotide
Dude... yer scary.... yer real scary... with that kinda borging skills.
Yes, all hail Satan! Um.........wait......
bubba gump
03-24-03, 05:38 PM
Originally posted by Penguin4x4
Yes, all hail Satan! Um.........wait......
Hes not the head of hell, just the borger..:)
Very nice write up wedo....
:clap:
'Gumpy
bubba gump
03-24-03, 06:01 PM
Oh ya...what was hte point of the client.cfg in the fah.zip file that nikhsub1 put in??
Was it just that part of the thing gnerma advised to put on a disk?
if so...wheres teh damn fahconsole3.exe! :)
nikhsub1
03-24-03, 06:56 PM
Originally posted by bubba gump
Oh ya...what was hte point of the client.cfg in the fah.zip file that nikhsub1 put in??
Was it just that part of the thing gnerma advised to put on a disk?
if so...wheres teh damn fahconsole3.exe! :)
bubba what WEDO failed to mention (hmmm, does this make me the ULTIMATE borger?) is that the BEAUTY of the service install is this: If you choose AUTOMATED install, the installer uses the CONFIG file so you don't have to set it up!!!! It does it for you and, the installer AUTOMATICALLY downloads the LATEST text console client directly from Stanford!!! How easy can that be? Just use your own config file (just make sure it is in the same directory as the installer), choose automated install and bam, one borged rig. Just follow WEDO's instruction about changing the registry entry if you want to use the -advmethods -forceasm flags....
Alright....
The reason I wrote the steps the way I did was not because I don't know or hadn't tried the other 25 ways this could be done. It was because this was the FASTEST way.
I wanted to go from machine to machine as quickly as possible and if I had the client.cfg, the console.exe, and the service set up I could do a machine in less than two minutes because it was busy downloading the WU while I changed the registry.....
Sheesh.... everyone's a critic. :)
Wedo
:edit: Furthermore, with this setup you only need "power user" or "local admin" rights so the network admin doesn't have to hand out his Domain Admin Password info.
Malpine Walis
03-24-03, 08:20 PM
Nice work Wedo. However, you made one small mistake in the [settings] secton. When borging, the user name should read Malpine Walis:D :cool: :D
DreamingWolf
03-25-03, 09:26 PM
Hey Malpine, I noticed in your response you misspelled DreamingWolf as Malpine Walis...what gives???
DWolf:cool:
*Edit - BTW Wedo, with your help I've got a setup disk ready and I'm ready to go a Borging
Oh, a'Borging we will go,
A'Borging we will go,
Hi, ho......:rolleyes:
Arkaine23
03-28-03, 11:00 AM
I've tried this on 2 machines and neither is getting gromacs. :( I'm going to give them a chance to get a few more WU's and see if its just bad luck or a if its a config problem. I edited the reg key correctly.
Could someone who's done this tell me if the fah.log file shows -advmethods and -forceasm when the machince first starts? Mine only shows -service.
Edit: I changed another reg key in the same path. This one called parameters instead of applications. It said only -service, so I added -advmethods and -forceasm to it. Now my fah.log shows those flags and I am getting gromacs. This seems critically important to me and I think borgers should check the logs on their machines to make sure the gromacs flags are working, since gromacs is generally 1.2x - 4x the point production rate of tinker.
It may have just been the timing and that the gromacs weren't available at at the time, but I don't think so since I examined the top of the fah.log file after first installing the service, changing the reg keys, and rebooting. No -advmethods or-forceasm. Then after changing the other reg key, restarting, and checking the log file they were there.
This happened in win2k and in winXP home. I think other borgers need to look into this, especially the P4 borgers!!!!
Sterculus
03-28-03, 11:21 PM
thanks for the info wedo...i now have a floppy labeled 'borg' which is going to accompany me to a lan party tomorrow :D
nikhsub1
03-29-03, 09:07 AM
Originally posted by Arkaine23
I've tried this on 2 machines and neither is getting gromacs. :( I'm going to give them a chance to get a few more WU's and see if its just bad luck or a if its a config problem. I edited the reg key correctly.
Could someone who's done this tell me if the fah.log file shows -advmethods and -forceasm when the machince first starts? Mine only shows -service.
Edit: I changed another reg key in the same path. This one called parameters instead of applications. It said only -service, so I added -advmethods and -forceasm to it. Now my fah.log shows those flags and I am getting gromacs. This seems critically important to me and I think borgers should check the logs on their machines to make sure the gromacs flags are working, since gromacs is generally 1.2x - 4x the point production rate of tinker.
It may have just been the timing and that the gromacs weren't available at at the time, but I don't think so since I examined the top of the fah.log file after first installing the service, changing the reg keys, and rebooting. No -advmethods or-forceasm. Then after changing the other reg key, restarting, and checking the log file they were there.
This happened in win2k and in winXP home. I think other borgers need to look into this, especially the P4 borgers!!!!
Arkaine - I bet you changed the wrong registry value... And you MUST put quotes around the reg value THEN add the flags!
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\FAH\Parameters
There is a String value key called ?Application? with a value of D:\Program Files\Folding\FAH3Console.exe (or C: depending on which drive you placed the \Folding directory
Change the value of the key to:
"D:\Program Files\Folding\FAH3Console.exe" -advmethods -forceasm
You must include the quotes around the original registry key value and then add the flags at the end.
Arkaine23
03-29-03, 12:48 PM
7. In the registry editor, go to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic
es\FAH\Parameters stringname Application
8. There is a String value key called “Application” with a value of D:\Program Files\Folding\FAH3Console.exe (or C: depending on which drive you placed the \Folding directory)
9. Right click the registry key and hit Modify
10. Change the value of the key to: "D:\Program Files\Folding\FAH3Console.exe" -advmethods –forceasm
11. You must include the quotes around the original registry key value and then add the flags at the end.
12. Click OK and exit the registry editor.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\FAH\Parameters stringname Application
This one looks like- D:\Program Files\Folding\FAH3Console.exe
and I made changes so it looked like- "D:\Program Files\Folding\FAH3Console.exe" -advmethods -forceasm
But that did not work.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\FAH\Parameters stringname parameters
This one looked like this- -service
And I changed it to look like this- -service -advmethods -forceasm
And that seems to have worked.
I got it working, I just hope anyone else who's tried borging is getting gromacs.
/Arkaine considers that perhaps windows will always do him this way. After all he has forsaken the spawn of Bill G. and opted to keep trying to become a linux gaawd.
DreamingWolf
03-29-03, 12:56 PM
They're all I've gotten for the last 4 days:D :D
DWolf:cool:
The Aussies, God Bless 'em, have another way to borg a whole office if you have admin rights.
This link is an immediate download and rec'd for advanced users only as you have to run a vb script, then config the client.cfg file, then run the network wide install in a batch file.
The 'read me' is pretty good though and if you have any questions, feel free to ask me.
Linkage (http://www.overclockers.com.au/folding/Files/fah%20deployer.zip)
I used the script for some other sys admin tasks I needed to do as well.... :D
Wedo
:edit:
To answer Arkaines question (late, sorry). I think Gromacs weren't available at the time as all of my rigs have it set up with the flags set in \Application "....\FAH.exe" -flags and are getting gromacs right now.
Here's the log from my last restart on this rig:
--- Opening Log file [March 28 01:28:52]
# Windows Console Edition ################################################## ###
################################################## #############################
Folding@home Client Version 3.24
http://foldingathome.stanford.edu
email:help@foldingathome.stanford.edu
################################################## #############################
################################################## #############################
Arguments: -advmethods -forceasm -service
[01:28:52] - Ask before connecting: No
[01:28:52] - User name: Wedo (Team 32)
[01:28:52] - User ID = 6606XXXXXXXXXXXX
[01:28:52] - Machine ID: 1
someone should make a borging installshield to expedite the process futher
nikhsub1
04-01-03, 04:08 PM
Originally posted by pip
someone should make a borging installshield to expedite the process futher
That's essentially what the service installer is!
bumpage for the n00bs :D
Wedo
Arkaine23
04-03-03, 12:05 PM
I've tested out those 2 reg keys on some new borged machines and both of them work. But just do one or the other.
Either HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\FAH\Parameters\ Application or Parameters will work for the command flags. At least for me (my client.cfg has the option use reg=yes).
In application, you alter the path to the client by putting it in quotes and adding the flags after it, and in parameters you just add the flags themeslves.
If you modify both regkeys, you will get the gromacs flags listed twice. :eek:
I added, edited, added, and then edited again.
TEAM! ADD THE FLAGS, YOU WILL GET MORE POINTS PER WEEK!
:D
Wedo
bumpage.... I've been getting questions on how to do this :D
Wedo
nerdlogic
04-21-03, 01:40 PM
Nice guide!
Soy
SniperXX
04-21-03, 05:29 PM
I like the guide but now I think I have confused myself. I was wanting to know if someone can make a borg disk/ or a reg. key and link it in this thread? Mostly its the registry key thing confusing me? So if anyone can make a reg. key for this guide and link it I will greatly appreciate it. Plus it would help me get all my rigs (and friends rigs) up and folding quicker. Thanks.
axlecrusher
04-21-03, 05:43 PM
There is already a link in another thread here (http://forum.oc-forums.com/vb/showthread.php?s=&postid=1674023#post1674023) .
Axle
SniperXX
04-23-03, 11:35 PM
* BuMp for a good How-To
TheMightyBuck
04-24-03, 06:10 PM
bumpage, this is a good thread...
bumpity bumpity, bump bump bump....
Originally posted by TheMightyBuck
bumpage, this is a good thread...
bumpity bumpity, bump bump bump....
Thanks....
What does a guy have to do to get a sticky around here? :D
Wedo
SniperXX
04-24-03, 10:24 PM
I say make this a sticky. You got my vote for sticky.
DreamingWolf
04-25-03, 12:30 PM
Definite sticky level material:D
DWolf:cool:
SniperXX
04-27-03, 01:18 AM
*BuMp again.
I keep seeing ppl ask what borging is so here it is peeps.
Hmmm...where'd I put that glue?? Oh..here it is.
*stuck* :D
Originally posted by Mr B
Hmmm...where'd I put that glue?? Oh..here it is.
*stuck* :D
w00-h00!!! Thanks Mr. B!
I feel important. :D
Wedo
xsquared_uk
05-01-03, 03:35 PM
Hi guys, I'm newish to folding - I get the idea of the borging but early on in this post you were saying how to make sure you get GROMACS and not TINKER - what's the reason for this?
bubba gump
05-01-03, 05:42 PM
Gromacs tend to be faster to be folded...gnerma's guide that is a must read for every folder! (p4 or no)
goatma/gnerma's guide ;) (http://forum.oc-forums.com/vb/showthread.php?s=&threadid=130328&highlight=gromacs)
It will answer a lot of your questions about gromacs, and what will fold better in different instances..good luck folding...and fold on!
'Bump
Audioaficionado
05-20-03, 10:36 PM
I just set up both machines as a service. I used the installer and used the reg key installer too.
Did I just get two reg keys?
Did the installer just change the gramacs key to the non gramacs flagged regkey if I used the installer after the reg installer?
Can I just run the reg key installer one last time to insure the SSE gromacs switches?
Edit: I just got a tinker because...
NOTE: YOU MUST INSTALL THE REGISTERY KEY INSTALLER AFTER THE SETUP.EXE OR YOU WON'T GET THE GROMACS FLAGS SET IN THE REGISTRY.
Audioaficionado
05-21-03, 04:10 AM
Originally posted by Penguin4x4
Well I got you beat on the fastest way, Wedo. Download this file:
http://pages.sbcglobal.net/adunlap/FAHServiceInstall.zip
Do Steps 1-5
Then
1.) Merge The REG File
2.) Install Setup.exe
:D
You need to switch those around Penquin4x4.
The setup installer delibertly leaves out the SSE gromacs flags so it won't screw up non SSE machines.
After the install you merge the regedit file so it will overwrite with the advanced flags.
Then go the the sevices manager and stop and then restart the FAH service so you'll have the new flags set in the client.
I just found out the hard way and ended up with a tinker.
Fixed the problem, dumped the tinker and now crunching on a gromacs.
marklar
05-24-03, 08:16 AM
2 questions:
Can I follow Wedo's instructions to do a service install on Win 98?
Do you still get the 'you need to close this program before shutting down' message?
I'm not sure if these questions make me stupid or not, I'm sure you'll let me know ;)
portorock
05-24-03, 11:02 AM
I was skimming through here and didn't see anything about multiple intances, how do you have them as a service? I'm not great at creating registry entries, heck I'm not even good at it, but if someone could hellp figure this one out, I'd be greatful
Rock
Audioaficionado
05-24-03, 11:34 AM
Create separate FAH folders like FAH1, FAH2 etc.
Put the latest FAH3Console.exe in each one.
Use the installer to set up each instance as an existing installation. Configure each one with a differant machine ID# and team 32 of course.
lastly, edit the fah.reg to include -local in addition to the other flags. Then merge it through the right click option.
There's another thread here somwhere that covers dual procesors.
portorock
05-24-03, 12:04 PM
Thnx Audio, I finally got it working for both instances. I ended up doing a little bios editing anyways. All turned out well ---so far;)
Audioaficionado
05-24-03, 12:26 PM
Did you get gromacs first try?
portorock
05-24-03, 12:46 PM
Yeah, I already had everything set up so it just continued from where I left off
DreamingWolf
05-24-03, 12:57 PM
Originally posted by marklar
2 questions:
Can I follow Wedo's instructions to do a service install on Win 98?
Do you still get the 'you need to close this program before shutting down' message?
I'm not sure if these questions make me stupid or not, I'm sure you'll let me know ;)
Unfortunately the service installer does not work on Win98.
As to the close program message, search the forums for mentions of Black Viper. He has a web page of Windows tweaks and I belive that they include settings for faster shutdowns that will keep Win from asking about shutting down individual progs first.
Asking for help shows you know your limitations, and I've never known that to make a person seem stupid, just the opposite in fact;)
DWolf:cool:
PS WELCOME TO THE BOARDS!!!
portorock
05-24-03, 02:20 PM
Progs like that simply kill all progs without giving the user a chance to save them. In fah, if it just shuts it down, you risk corruption or total wu loss. I'm speaking from experience
DreamingWolf
05-24-03, 03:25 PM
If you use HideIt doesn't that have an option that will shut the prog down as Win shuts down? Or is that in EMIII?
DWolf:cool:
portorock
05-24-03, 05:03 PM
EMIII has that option, but I'm not sure if it works as I try to leave my boxen on 24/7. But it does have that option
Audioaficionado
05-24-03, 08:01 PM
Originally posted by portorock
Yeah, I already had everything set up so it just continued from where I left off
You may want to double check your FAH logs to make sure they have all four flags set. If the -advmethods and -forceasm flags aren't set, you'll keep running the gromacs WU but when finished you'll pick up a tinker. If not just restart both through the sevice contol panel and it should set the flags -service -advmethods -forceasm -local.
marklar
05-25-03, 05:11 AM
EMIII has 2 options which CANNOT be used to close the console at stutdown:
Close EMIII at shutdown
Close console when exiting EMIII
Hideit can kill processes but not at shutdown. Besides I'm not sure that killing it is a good idea.
DreamingWolf
05-25-03, 08:15 AM
I thought there was a way to do this. Let me do some digging this afternoon and see if I/we can find/create a way to make this happen for those folders who run Win98.
DWolf:cool:
It'd be nice to get this goin for 98. My dad wont switch to 2k and I dont want him messing with it. Also I have another couple that I could do it on. Good Luck!!!
Audioaficionado
05-25-03, 08:53 PM
Originally posted by moz_21
It'd be nice to get this goin for 98. My dad wont switch to 2k and I dont want him messing with it. Also I have another couple that I could do it on. Good Luck!!!
Too bad you couldn't set up a dual boot for him. Once he got used to w2k, he'd like it a lot better than 98.
He thinks he needs to use all of these games that were before 2k's time :rolleyes: Anyhow the hard drive's too small. Best thing I ever did though.
Audioaficionado
05-26-03, 01:18 AM
Originally posted by moz_21
He thinks he needs to use all of these games that were before 2k's time :rolleyes: Anyhow the hard drive's too small. Best thing I ever did though.
It's just a matter of time until 98 self destructs. Maybe then...
DreamingWolf
05-26-03, 08:25 AM
Originally posted by Audioaficionado
It's just a matter of time until 98 self destructs. Maybe then...
I wouldn't be too sure of that:( 98SE is one of the few 'home' versions of Win that's actually stable:rolleyes:
DWolf:cool:
Audioaficionado
05-26-03, 10:46 AM
It will die after a few years depending on what you run on it. Some friends of mine are just a few days away from loosing their 98se system. I warned them to start backing up immediatly and they are. If they had a faster box than a PII 233 & 3Gb HD, I'd of suggested w2k. 98se just can't protect itself as well as w2k does as over time gets corrupted.
Found something that seems to work
here (http://forum.folding-community.org/viewtopic.php?t=2950)
Uses the graphical client but seems ok.
diggingforgold
07-06-03, 08:36 PM
Thanks! This is excellent sticky material. Very useful. I just borged my brother and added 1.4GHz to the team!!!!
RideGuy
08-24-03, 07:29 AM
What is the best way to remove the FAH Service? Kill the service and then remove the files that were installed in the F@H directory?
Thanks in advance,
RideGuy
Audioaficionado
08-24-03, 08:51 AM
You'll still have to deal with the registry too after you delete the FAH folder.
RideGuy
08-24-03, 09:43 PM
Originally posted by Audioaficionado
You'll still have to deal with the registry too after you delete the FAH folder.
Gotcha, thanks.
RideGuy
Malakai
09-09-03, 01:15 PM
Here is the deal guys, I cannot run the program as a service if I enable any flags (-advmethods –forceasm).
If I use an existing install and use the fah_service_installer to install my previous 3.25beta console app, everything works perfect.
UNTIL I add the reg settings to either "application" or "paramaters" into the registry.
Without -advmethods –forceasm in the paramaters key or "path/to/file" -advmethods –forceasm the client works fine, loads fahcore_78.exe and begins folding.
But if I modify any of the keys and add -advmethods –forceasm to them, all that the service starts up is fah3console.exe. It doesn't load the core and the program uses no cpu time. The program is on but it does nothing, and it doesn't write anything to the log file.
I've tried only used 1 key with both of them, using use_reg=on and off in the client.cfg, and pretty much tinkered with anything I can to no avail.
Whenever I delete the modifications to the reg key(s), the client starts fine and starts folding, but as soon as I add any of the keys to the reg it doesn't work.
Any idea's? This little dos window is annoying:(
Audioaficionado
09-09-03, 10:05 PM
I always have better luck setting up my clients first and then doing the service install on an existing installation.
modenaf1
10-07-03, 12:59 PM
i give this thread 5 stars for its excellence :D
btw, how does this work? sometimes when i do it it gives the stars, and sometimes it dosnet give any stars. does it need to be a "hot thread" for stars? or does it have to be stickied?
Audioaficionado
10-07-03, 02:53 PM
Must have worked because I see five stars now
That, my friends, is huge! and i will now Borg every public comp i find! (of course with permission!) Muwhaha
GigaHertzAddict
01-21-04, 12:15 AM
Does it matter where I download the program from? The one I want to use is this:
http://www.stanford.edu/group/pandegroup/folding/
Isn't this the REAL folding site?
Now if I build two computers and I want to BORG them, all I have to do is put the same user name and team? I'm a bit confused. Also, will both PC be folding the same protiens? Or will they do different ones? How does this work?
Kill This Sticky!!!!
...please....
Wedo
Just PM a mod;) I will do it for you :D
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.