![]() | ![]() |
|
Welcome to the HEXUS.community discussion forums forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and other features. By joining our free community you will have access to post topics, respond to polls and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! |
| |||||||
| Software and web development Databases, graphics, programming, scripting and web development. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| Spacer Join Date: Jun 2006
Posts: 770
Thanks: 34
Thanked 70 Times in 58 Posts
| Batch file to start F@H console clients I need some help writing a batch file which launches F@H console clients. I currently run a mix of GPU, SMP and Uni clients, depending on what I want running, for example: - 1x GPU 4x Uni - 1x GPU 3x Uni 1x SMP - 4x Uni Admittedly opening each client individually isn't difficult or even time consuming, but it's nice doing it in one go. I've done this so far for the first example: Code: start "C:\Users\David\F@H\GPU\Folding@home-Win32-GPU.exe" start "C:\Users\David\F@H\1Low\Folding@home-Win32-x86.exe" start "C:\Users\David\F@H\2Low\Folding@home-Win32-x86.exe" start "C:\Users\David\F@H\3Idle\Folding@home-Win32-x86.exe" start "C:\Users\David\F@H\4Idle\Folding@home-Win32-x86.exe" ![]() (it appears three uni clients are open, there are actually four, one is hidden behind the other windows) The command windows open, but nothing happens! I'm doing it wrong, help! Last edited by DDY; 27-10-2009 at 08:26 PM.. |
| | |
| | #2 (permalink) |
| Administrator Join Date: Jul 2003 Location: Internet
Posts: 15,998
Thanks: 374
Thanked 696 Times in 483 Posts
| Re: Batch file to start F@H console clients 'Start' opens a new window the the file you're running - what happens if you just call the file? Have you preconfigured the client? Not set to run as a service are they? |
| | |
| | #3 (permalink) |
| Spacer Join Date: Jun 2006
Posts: 770
Thanks: 34
Thanked 70 Times in 58 Posts
| Re: Batch file to start F@H console clients You mean like this? Code: call "C:\Users\David\F@H\GPU\Folding@home-Win32-GPU.exe" call "C:\Users\David\F@H\1Low\Folding@home-Win32-x86.exe" call "C:\Users\David\F@H\2Low\Folding@home-Win32-x86.exe" call "C:\Users\David\F@H\3Idle\Folding@home-Win32-x86.exe" call "C:\Users\David\F@H\4Idle\Folding@home-Win32-x86.exe" ![]() Oh god, what have I done?! I should add, I'm no good with batch files. Anyway, my latest attempt just executes the GPU client and asks for my folding info. I closed it there, just in case it wrote over my current config file. My clients are preconfigured and don't run as services. |
| | |
| | #4 (permalink) |
| Administrator Join Date: Jul 2003 Location: Internet
Posts: 15,998
Thanks: 374
Thanked 696 Times in 483 Posts
| Re: Batch file to start F@H console clients No sorry, I worded that badly. just try "C:\Users\David\F@H\4Idle\Folding@home-Win32-x86.exe" Nothing at the start - what happens. In your screenshot it's showing the setup screen. What happens if you fill tis in - does the data stop, or do you need to do it each time? |
| | |
| | #5 (permalink) |
| Spacer Join Date: Jun 2006
Posts: 770
Thanks: 34
Thanked 70 Times in 58 Posts
| Re: Batch file to start F@H console clients I've just done: Code: "C:\Users\David\F@H\GPU\Folding@home-Win32-GPU.exe" ![]() Ctrl + x 'ed it Doesn't even ask my for info this time, seems like it has saved a config file somewhere with anon info the last time I did the call "...." batch and quit, the config file in the GPU folder still contains my info and running "Folding...GPU.exe" from the GPU folder picks up the correct info and doesn't download a new core like it does when running the batch file I just created. EDIT: Agent, I just realised you mentioned to run 4Idle... brb. EDIT2: Holy crap, what the hell just happened...? I just ran the batch: Code: "C:\Users\David\F@H\4Idle\Folding@home-Win32-x86.exe" Code: C:\Users\David\Documents>"C:\Users\David\F@H\4Idle\Folding@home-Win32-x86.exe"
Note: Please read the license agreement (Folding@home-Win32-x86.exe -license). F
urther
use of this software requires that you have read and accepted this agreement.
--- Opening Log file [October 27 21:31:47 UTC]
# Windows CPU Console Edition #################################################
###############################################################################
Folding@Home Client Version 6.23
http://folding.stanford.edu
###############################################################################
###############################################################################
Launch directory: C:\Users\David\Documents
Executable: C:\Users\David\F@H\4Idle\Folding@home-Win32-x86.exe
[21:31:47] - Ask before connecting: No
[21:31:47] - User name: Anonymous (Team 0)
[21:31:47] - User ID: 5987B17403EA1DCE
[21:31:47] - Machine ID: 2
[21:31:47]
[21:31:47] Loaded queue successfully.
[21:31:47]
[21:31:47] + Processing work unit
[21:31:47] Core required: FahCore_11.exe
[21:31:47] Core not found.
[21:31:47] - Core is not present or corrupted.
[21:31:47] - Attempting to download new core...
[21:31:47] + Downloading new core: FahCore_11.exe
[21:31:48] + 10240 bytes downloaded
[21:31:48] + 20480 bytes downloaded
[21:31:49] + 30720 bytes downloaded
%%%Snip%%%
[21:32:02] + 1091180 bytes downloaded
[21:32:02] Verifying core Core_11.fah...
[21:32:02] Signature is VALID
[21:32:02]
[21:32:02] Trying to unzip core FahCore_11.exe
[21:32:02] Decompressed FahCore_11.exe (3203072 bytes) successfully
[21:32:07] + Core successfully engaged
[21:32:12]
[21:32:12] + Processing work unit
[21:32:12] Core required: FahCore_11.exe
[21:32:12] Core found.
[21:32:12] Working on queue slot 01 [October 27 21:32:12 UTC]
[21:32:12] + Working ...
[21:32:12]
[21:32:12] *------------------------------*
[21:32:12] Folding@Home GPU Core - Beta
[21:32:12] Version 1.24 (Mon Feb 9 11:00:12 PST 2009)
[21:32:12]
[21:32:12] Compiler : Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14
.00.50727.762 for 80x86
[21:32:12] Build host: amoeba
[21:32:12] Board Type: AMD
[21:32:12] Core :
[21:32:12] Preparing to commence simulation
[21:32:12] - Looking at optimizations...
[21:32:12] - Created dyn
[21:32:12] - Files status OK
[21:32:12] - Expanded 96683 -> 489152 (decompressed 505.9 percent)
[21:32:12] Called DecompressByteArray: compressed_data_size=96683 data_size=4891
52, decompressed_data_size=489152 diff=0
[21:32:12] - Digital signature verified
[21:32:12]
[21:32:12] Project: 5737 (Run 3, Clone 105, Gen 439)
[21:32:12]
[21:32:12] Assembly optimizations on if available.
[21:32:12] Entering M.D.
[21:32:18] Tpr hash work/wudata_01.tpr: 1049565500 1101753976 3911740193 806281
869 3648884534
[21:32:19] Working on Protein
[21:32:19] Client config found, loading data.
[21:32:19] Starting GUI Server
[21:35:20] Completed 1%
Last edited by DDY; 27-10-2009 at 09:41 PM.. |
| | |
![]() |
| Breadcrumb | ||||||
| ||||||
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows XP - Installing to SATA _WITHOUT_ a Floppy Disk | [R4A]Bigman | Operating systems & applications | 58 | 03-11-2009 03:47 AM |
| Dodgy DVD-r's ? | starside | Help - technical & advisory | 12 | 27-03-2005 05:11 PM |
| How do you backup? | Howard | HEXUS.hardware | 48 | 05-01-2005 08:05 AM |
| Batch file help | wol | Software and web development | 11 | 21-10-2004 09:09 AM |
| Batch File | mrdata2003 | Software and web development | 4 | 26-01-2004 05:25 PM |