pretty good news for the team
Riddick
Malaysia Icrontian
Ok as promised i have just moved it to my new secondary school, which is new and just established 1 year ago. I came back from the orientation today, and there are roughly 100++ pcs around the whole school, equipped with at least a P4 running windows xp.
my term starts on monday.. and im itching to get my hands on them (to install folding of course) . i have to contact the IT teacher first though, and ask him for permission about this thing.. if any of you guys come up with a greaaat way of convincing him let me know yeah.. hopefully i wont have to resort to finding my own way to h4x and getting the admin logins illegally
also is there a way to run console hidden from normal view... like as service WITHOUT any 3rd party programs.. i would like to do that so that other students wouldnt mess up the progress
thanks in advance,
riddick
my term starts on monday.. and im itching to get my hands on them (to install folding of course) . i have to contact the IT teacher first though, and ask him for permission about this thing.. if any of you guys come up with a greaaat way of convincing him let me know yeah.. hopefully i wont have to resort to finding my own way to h4x and getting the admin logins illegally
also is there a way to run console hidden from normal view... like as service WITHOUT any 3rd party programs.. i would like to do that so that other students wouldnt mess up the progress
thanks in advance,
riddick
0
Comments
I hope you will have better luck than me.
thanks
I run a routine that sets f@h as a service ...you can make a floppy or cd w/ the following files and custominze your own .bat file.
you'll need the following files (they must be in the same folder when you run the .bat file):
NETSVC.EXE
INSTSRV.EXE
service.exe
SRVANY.EXE
FAH3Console.exe
service files.zip
make a batch file (I call mine setup.bat) to install the client as a service simular to this:
md c:\windows\f@h
service -cpu=1 -dir=c:\windows\f@h -params="-advmethods -forcesse"
all I do is take my disk with me and whenever I want to install I pop it in and I'm done in under a minute.
any questions?
//edit oh wait.. i went to the root folder.. they are there, my mistake
hmm i have to figure out how to use that batch file first... im not too familiar with it.. how exactly do i use it? i just launched it and nothing seems to happen.. hmmm :banghead:
also do the services continue running if there is no one logged in? (windows in the user choosing screen etc)
But, core services are still running and running with a priority that is essentially admin plus system, even while the screen is blanked unless the system goes to sleep state or suspend state with BIOS control of that instead of Windows controlling that. Essentially they are handled as if the box were serving up work, acting like a software server-- for the purpose of folding in this case. Only admin on a box can control most (like 90%) services, "ordinary" users cannot do this without being in admin group also (in which cae, NOT ordinary, really).
John.
batch files are easy to use but in this case remember one thing ...all of the above files should be in the same folder at the same time for it work.
I can make the batch file for you if you tell me where you want the f@h folder located (ie like in c:\f@h\f@h1). The c:\ designates the drive it will go to as I'm sure you probably know. The f@h is the folder you will create to store the files and the routine will automatically create subfolder f@h1 inside of it where the files are actually housed. If you were to install more than one instance then the next folder would be c:\f@h\f@h2 and so on up to ...c:\f@h\f@h8. So the actual folder you specify can be anything including an existing folder for example c:\windows\f@h\f@h"1-8".
I'll write the batch if you tell me where you want it to be placed on the hard drives. Also, are any of these machines hyperthreaded? This would change things also.
I'll explain a little ...the first line creates the folder to house the client(s) f@h"1-8"
md c:\f@h
the second line sets up the service itself ...
-cpu="1-8" sets up from a single to 8 clients and this is specific to FAH4Console.exe. If you use hyperthreading change this to -cpu=2 and if you use dual procs w/ hyperthreading change it to -cpu=4.
-dir="path" designates the path where the routine will place the client folder(s) and files necessary to run f@h.
-params="-parameters" designates the parameters you want to use with your clients and will be placed in the registry ...I recommend the two in the string below although "-forcesse" is not necessary with P4's. The "quotes" below are however necessary.
service -cpu=1 -dir=c:\f@h -params="-advmethods -forcesse"
and there you have it in a nutshell:
md c:\f@h
service -cpu=1 -dir=c:\f@h -params="-advmethods -forcesse"
No one needs to be logged on for it to be working ...it works as long as windows sits at the "log in" screen or better ...and no matter who logs in it will continue to run. To stop it simply "run" services.msc and right click on the client and choose stop. The client will stop until either restarted or until the system is rebooted.
edit/ sorry it was 3:45 am when I posted that and I've fixed the links for you now!
I edited the post above so that you can d'load the files from a single zip file.
I should have mentioned that this method only works with the FAH3Console version ...I simply renamed my FAH4Console to FAH3Console and it worked fine ...sorry for any confusion I'm working on it.
edit// anyone have access to arstechnica forums to ask when PK's Service installer will be updated to install FAH4Console?
1. i have to rename FAH4Console to FAH3Console to get it to work, but it will still be as functional and the same as the fah4.
2. i have to set the directory after C:\windows\f@h (e.g. c:\windows\f@h\f@h1) manually by editing the .bat file myself.. and reedit it if its a hyperthreading proc?
3. if i have put F@h in c:\windows\f@h\f@h1, then i would have to set my dir in the second line to the exact same thing?
oh yea i dont recall seeing any hyperthreading pcs.. so i think its going to be a little simpler for me heehee
Command line switches:
-cpu=n : number of client installs (max of 4) defaults to 1 if undefined
-dir="path" : location to install clients defaults to c:\fah[1..n] if undefined
-sn="service name" : name of service defaults to F@H[1..n] if undefined
-params="parameters" : client startup parameters (do not include "-service") defaults to just "-service" if undefined
-noconfig : use existing config file place config file in same dir as this exe
yes ...so if I understand you correctly it should look like this
md c:\windows\f@h
service -cpu=1 -dir=c:\windows\f@h -params="-advmethods"
f@h1 will be set up automatically.
John.
nice avatar john.
Thanks! WAY, WAY back when I ran this BBS that was first named The Owl's Nest.... Someone who I will only refer to as TB (not TD) started dialling in to it, virtually hanging out, and we ended up morphing the name a few times over three years-- he became in essence a power mod, a co-sysop. I am still a kinda owlie dude, wear glasses, and will not show a real pic of /me until after the eye surgery to straighten right eye. One of the admins might recognize this description....
Essentially, I "daylightized" a digital photo of a Grey Owl taken at night, did a fast resize for height, and added a rollup corner,in about 5 min of work in Paint Shop Pro 8, and my first handle on what was then a BBS network and Usenet, WAS Grey Owl. I wrote .bats way back when myself, in several kinds of DOS....
thanks guys
great ...the only thing you may want to check taskmanager after you install to be sure fahcore_78.exe is using 99-100% ...if only using 50% then that machine is probably hyperthreaded which means you should change -cpu=1 to -cpu=2 ...then you will have two clients folding and 2 x fahcore_78.exe's running 50% which is good. Use taskmanager.
Keep in mind at first it takes a few minutes to d'load the core.
I don't remember having to configure each station or not with the service installer but I have copied the client.cfg from station to station as well.
The service installer automatically creates all the necessary client.cfg files when you either supply answers to questions (same as when you run the F@H client the first time) or if you use the noconfig switch which uses the settings in a provided client.cfg file. The machineID is also automatically set when installing multiple clients.
Hope that clears up any questions people had . I'll be updating the documentation and the client switch information when the end of semester are over in a couple of weeks time.
Cheers
pk
Thanks for that clarification
the computer labs are not left on 24/7 unfortunately.. only powered when students are using them, maybe 3-5 hours a day. i havent had a chance of looking into the server room but i heard its on all the time
wishhhh mee luckk!
You might have to set them us using genomes then since they arent on very often.
thanks pk
csimon
So if you run the command
service.exe -clientexe="FAH4Console.exe"
then the service will be installed using the default name for the f@h v4 client.
pk
BTW, while we're uploading 1st party service installers, here are the two that I use. They're both based on the one linked from the Team Icrontic page (gone now) which use srvany like csimon's pack. My additions are cleaned up service descriptions for the Services panel, cleaner names, expects v4 client. Single is the single-instance version, dual is the two-instances version. If you compare the two, it's easy to see how you can add more instances if necessary (I hate you if you're in that position ).
Folding_Single.zip expects FAH4Console.exe to be located and preconfigured in C:\Program Files\Folding@Home.
Folding_Dual.zip expects FAH4Console.exe to be located and preconfigured in C:\Program Files\Folding@Home\Thread_0 and another FAH4Console.exe to be located and preconfigured in C:\Program Files\Folding@Home\Thread_1.
Both default with the tags -local -forceasm -forceSSE -advmethods -service. To modify this behavior, edit the AppParameter lines in folding.reg PRIOR to using install.cmd. If you want to change it after the fact, you'll need to open regedit and change the AppParameter values in HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Folding@Home\Parameters\ for single and HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Folding@Home_Thread_X\Parameters\ for dual where X is the number of the Folding instance you want to change).
It's really not that complicated, I swear!
-drasnor
Note:
As far as FAH4 is concerned I think that ...
-forceasm is totally unnecessary
-ForceSSE is not case sensitive so -forcesse will work as well
hope that helps!