Results 1 to 5 of 5

Thread: Batch file to start F@H console clients

  1. #1
    DDY
    DDY is offline
    Senior Member DDY's Avatar
    Join Date
    Jun 2006
    Posts
    2,844
    Thanks
    185
    Thanked
    631 times in 436 posts
    • DDY's system
      • Motherboard:
      • ASRock Z390M Pro 4
      • CPU:
      • i5 9600k
      • Memory:
      • 32GB (2x16GB) 3600MHz
      • Storage:
      • Adata SX8200 NVME 1TB
      • Graphics card(s):
      • RX 5700
      • PSU:
      • Seasonic Focus Gold 550W
      • Operating System:
      • Win 7 Pro
      • Monitor(s):
      • Dell U2715H

    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 does this:


    (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 09:26 PM.

  2. #2
    HEXUS.social member Agent's Avatar
    Join Date
    Jul 2003
    Location
    Internet
    Posts
    19,185
    Thanks
    738
    Thanked
    1,609 times in 1,048 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?
    Quote Originally Posted by Saracen View Post
    And by trying to force me to like small pants, they've alienated me.

  3. #3
    DDY
    DDY is offline
    Senior Member DDY's Avatar
    Join Date
    Jun 2006
    Posts
    2,844
    Thanks
    185
    Thanked
    631 times in 436 posts
    • DDY's system
      • Motherboard:
      • ASRock Z390M Pro 4
      • CPU:
      • i5 9600k
      • Memory:
      • 32GB (2x16GB) 3600MHz
      • Storage:
      • Adata SX8200 NVME 1TB
      • Graphics card(s):
      • RX 5700
      • PSU:
      • Seasonic Focus Gold 550W
      • Operating System:
      • Win 7 Pro
      • Monitor(s):
      • Dell U2715H

    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. #4
    HEXUS.social member Agent's Avatar
    Join Date
    Jul 2003
    Location
    Internet
    Posts
    19,185
    Thanks
    738
    Thanked
    1,609 times in 1,048 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?
    Quote Originally Posted by Saracen View Post
    And by trying to force me to like small pants, they've alienated me.

  5. #5
    DDY
    DDY is offline
    Senior Member DDY's Avatar
    Join Date
    Jun 2006
    Posts
    2,844
    Thanks
    185
    Thanked
    631 times in 436 posts
    • DDY's system
      • Motherboard:
      • ASRock Z390M Pro 4
      • CPU:
      • i5 9600k
      • Memory:
      • 32GB (2x16GB) 3600MHz
      • Storage:
      • Adata SX8200 NVME 1TB
      • Graphics card(s):
      • RX 5700
      • PSU:
      • Seasonic Focus Gold 550W
      • Operating System:
      • Win 7 Pro
      • Monitor(s):
      • Dell U2715H

    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"
    Now it does this:


    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"
    and then

    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%
    It runs the CPU client and downloads a GPU core?!
    Last edited by DDY; 27-10-2009 at 10:41 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 63
    Last Post: 14-11-2011, 09:17 AM
  2. Dodgy DVD-r's ?
    By starside in forum Help! Quick Relief From Tech Headaches
    Replies: 12
    Last Post: 27-03-2005, 06:11 PM
  3. How do you backup?
    By Howard in forum PC Hardware and Components
    Replies: 48
    Last Post: 05-01-2005, 09:05 AM
  4. Batch file help
    By wol in forum Software
    Replies: 11
    Last Post: 21-10-2004, 10:09 AM
  5. Batch File
    By mrdata2003 in forum Software
    Replies: 4
    Last Post: 26-01-2004, 06:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •