Notices

Overclockers Forums > Overclockers.com Teams > Folding Team
Folding Team Join the Overclockers.com Protein-Folding Team and support medical research!
Forum Jump

How do i get it to work on dual proc

Post Reply New Thread Subscribe Search this Thread
 
 
Thread Tools
Old 02-11-03, 06:13 AM Thread Starter   #1
ToiletDuck
Member



Join Date: Aug 2002

 
How do i get it to work on dual proc


I have a dual system but I can only manage to get the program to run on one processor at a time. What else should I do so I could have two of them running?
Duck

__________________
"90% of my salary I'll spend on good times, women and Irish whiskey; the other 10% I'll probably waste." - Tug McGraw
ToiletDuck is offline   QUOTE Thanks
Old 02-11-03, 06:32 AM   #2
Gnerma
Senior Member

 
Gnerma's Avatar 

Join Date: Aug 2002
Location: Simi Valley, CA - USA

10 Year Badge
 
It is quite simple ToiletDuck.

Put a copy of the console client into two different directories. When you configure them say you want to change the advanced options. Set both clients to have different machine IDs. 1 and 2 works fine. You should then be using 100% of both CPUs.
Gnerma is offline   QUOTE Thanks
Old 02-11-03, 09:14 AM   #3
Tweaked!
Xtreme refugee

 
Tweaked!'s Avatar 

Join Date: Feb 2002
Location: Cincinnati, Oh.

 
Here ya go, I've copied and pasted from a post in another forum that I originally posted this in:

Go into "My Computer", C: drive, Program Files, and create two new seperate folders named "F@H1" and "F@H2". Then go to Stanfords download page and download two seperate instances of the Text Only version, one in each of the two new F@H directories. Then go back into the directory and go to each of the new downloaded clients and right click on them and choose to create a shortcut. Leave that shortcut in the same folder with the exe. Then go to Start, program files, accessories, system tools, Scheduled tasks. Double click "add a new task". then click next on the shed. task screen. Click browse and go into the new F@H folders you just created. choose the new shortcut you just created. Choose "When my computer starts" and hit next. Then in the run command, Add a 1 or 2 at the end of the run command for each appropriate one. If asked, confirm your password. Then choose to go into advanced properties. hit finish. The adv. props will open, go to settings and uncheck "stop task if runs for more than 72 hours". Hit apply and close. Before you go in and do the next one, go ahead and restart your computer. The initial F@H screen should appear where you can designate your user name and team. After you set up your preferences, close that screen and give that one a minute to connect to stanford and download its first wu. Once your sure it's done, go ahead and repeat the process for the second set up. Once You've restarted for the second time, Both instances should be running in the background, untectable without ctrl, alt, deleting once and checking processes for the amount each instance is using, which should read 50% each. Or checking Performance and seeing both cpu windows at 100%. You can go into the directory and into each F@H folder and checking each ones progress by going into each F@H log file.
Hope this helps

__________________
E8400@3.4 w/ Apogee w/c
Asus P5B Deluxe
8gb pc2-6400 @ 475mhz 1:1 5,5,5,15
Asus GTX570 DCII
PC P&C 610w Silencer
2 WD sata 3.0 raid array 0



My Heat
Tweaked! is offline   QUOTE Thanks
Old 02-12-03, 09:37 AM   #4
jrdobbs
Registered

 
jrdobbs's Avatar 

Join Date: Dec 2002
Location: DFW, Texas

 
just what I need to know... thanks.

M
jrdobbs is offline   QUOTE Thanks
Old 02-12-03, 12:13 PM   #5
dagamore
Member

 
dagamore's Avatar 

Join Date: Dec 2002

 
i dont remeber where i got this from, but if you know let me know and i will give proper credit, but here are some steps/guidlines that should give you a good idea on how to do this i hope this helps some one.

This assumes you are NOT currently running F@H. IF you are, skip to step 9.
First install the Folding at home clients.
1) Make two separate directories (i.e. C:\F@H1 and C:\F@H2
2) Run the program with the -local switch. This makes it put the work directory it creates in each separate folder. By default, without the -local switch, each instance will SHARE protein work data, and re-do the data the other has already done. You do NOT want that.
ex) "C:\F@H1\FAH3Console.exe" -local
and
"C:\F@H2\FAH3Console.exe" -local
3) When configuring, make sure you go use team number 3074 when it asks for it. Also, it will ask to change advanced options - choose YES.
4) For core type choose fah
5) For core priority choose either, but of course idle is suggested.
6) For CPU usage requested, if you chose idle, go ahead and choose 100. If you chose low, you might want to throttle it back a bit, but even low is pretty low priority (only higher than other idle priority apps)
7) For Machine ID choose 1 for the FIRST instance of F@H and 2 for the SECOND. You must identify the two programs as different "machines" for it to be logged correctly.
8) It will then say "Benchmarking" and download the work necessary to get started. Once it does that, go on to the other program and set it up. Remember to go into advanced options and choose machine # 2 (or 3 or 4)
9) Once both instances are all configured and have downloaded all the files and are actually working...shut them down.
You now have a dual-cpu setup of F@H. If you want to install them as services, continue on.
10) First save the following as the file "folding.reg"

quote:
REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\F@H_CPU_0\parameters]
"Application"="C:\\F@H1\\FAH3Console.exe"
"AppDirectory"="C:\\F@H1"
"AppParameters"="-local"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\F@H_CPU_1\parameters]
"Application"="C:\\F@H2\\FAH3Console.exe"
"AppDirectory"="C:\\F@H2"
"AppParameters"="-local"


11) Next save the following as "install.cmd"
quote:
@echo off
md C:\F@H1
copy "folding.reg" "C:\F@H1"
regedit /s "C:\F@H1\folding.reg"
::Copy FOLDING service files (\...\ = path)
copy "instsrv.exe" "C:\F@H1\"
copy "srvany.exe" "C:\F@H1\"
copy "netsvc.exe" "C:\F@H1\"
echo .
echo Wait till files copied
echo .
pause
::Install FOLDING executable as NT Service
"C:\F@H1\instsrv.exe" F@H_CPU_0 "C:\F@H1\srvany.exe"
pause
net start F@H_CPU_0
pause
md C:\F@H2
copy "folding.reg" "C:\F@H2\"
regedit /s "C:\F@H2\folding.reg"
::Copy FOLDING service files (\...\ = path)
copy "instsrv.exe" "C:\F@H2\"
copy "srvany.exe" "C:\F@H2\"
copy "netsvc.exe" "C:\F@H2\"
echo .
echo Wait till files copied
echo .
pause
::Install FOLDING executable as NT Service
"C:\F@H2\instsrv.exe" F@H_CPU_1 "C:\F@H2\srvany.exe"
pause
net start F@H_CPU_1
pause
goto end
:error


12) Edit the two files to use your F@H directories if you did not install the program into C:\F@H1 and C:\F@H2. Note: Make sure you use DOUBLE BACKSLASHES in the folding.reg file.
13) Download folding_dual.zip. It includes INSTSRV.EXE, NETSVC.EXE, and SRVANY.EXE a well as dummy versions of folding.reg and install.cmd. Do NOT use the folding.reg and install.cmd files that come with the .zip file - use your own that you made!!! (As seen in the next step)
14) Unzip the files into a directory, and replace the folding.reg and install.cmd files with the ones you made.
15) Copy the file NETSVC.EXE into your windows\system32 (or winnt\system32) directory.
16) MAKE SURE YOU DO # 15!!!
17) You are almost done. Just double click on the install.cmd file you made (you did replace the one in the .zip file with your own, right?!?) and watch the output. If it all goes right, you should see it install a few files and start the first service, and then the second.
18) If for some reason there are any errors when you run the .cmd file and/or the services do not start, it is probably one of four things:
a) You didn't correctly change the .reg and .cmd files to reflect your F@H directories. (Remember the double backslashes in the .reg file)
b) You didn't follow step # 16
c) You didn't put all the files into the same directory before you ran the install.cmd file
d) You aren't using FAH3Console.exe as your F@H program. Check your directories and see what version you are using (FAH3Console.exe was the latest as of this writing).
*phew*

1) To create the separate directories, simply right-click where you want the directory to be made, and click on New and then Folder. You don't need to download the copy to each directory - just download it to one, and copy it to the other.
2) A service is (in an NT-based OS such as NT 3.x-4, Win 2000, and Win XP) a "background task" that is started and stopped by parameters set in the service. I.E. when set as a service, the F@H program will run upon every boot, if desired, automatically, if desired, and in the background, so you won't see the windows.
Basically, it's good for programs that you want to run without any user intervention, or user observance. You can still see it is active by checking the Task manager's processes, or checking in services to see if the specified service is running.
dagamore is offline   QUOTE Thanks
Old 02-12-03, 01:09 PM   #6
Wedo
Senior Kitty Power!

 
Wedo's Avatar 

Join Date: Oct 2001
Location: Lost Angeles

 
Sweet mother you guys do things the hard way. Use the "install F@H as a service" twice and the program will do it for you!!!!

The first time set the machine ID to "1", and install it in "\\Program Files\Folding One." The second time, set the machine ID to "2", and install it into "\\Program Files\Folding two."

BOOM!!! DONE!!! Why make it more difficult?????

Two tips for using the proggie:

1. run the set up from a floppy, your desktop, or anywhere BUT the directory you're install the client into. It doesn't like to install the client into the same directory that the setup resides in.

2. Use "Custom Setup" to put in the values I mentioned above.

Easy as pie,

Wedo

:edit: read and find link to proggie here.

__________________
~ Folding for Sharon, Joy, Kathy, Cathy, Nancy, Peanut, and so many others ~[/size]
Wedo is offline   QUOTE Thanks
Old 02-12-03, 11:52 PM Thread Starter   #7
ToiletDuck
Member



Join Date: Aug 2002

 
May I ask what's with the nedclocker and family ribbinons

__________________
"90% of my salary I'll spend on good times, women and Irish whiskey; the other 10% I'll probably waste." - Tug McGraw
ToiletDuck is offline   QUOTE Thanks

Post Reply New Thread Subscribe


Overclockers Forums > Overclockers.com Teams > Folding Team
Folding Team Join the Overclockers.com Protein-Folding Team and support medical research!
Forum Jump

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Mobile Skin
All times are GMT -5. The time now is 04:12 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
You can add these icons by updating your profile information to include your Heatware ID, Benching Profile ID or your Folding/SETI profile ID. Edit your profile!
X

Welcome to Overclockers.com

Create your username to jump into the discussion!

New members like you have made this the best community on the Internet since 1998!


(4 digit year)

Why Join Us?

  • Share experience
  • Max out your hardware
  • Best forum members anywhere
  • Customized forum experience

Already a member?