Welcome to Tactical Gamer

+ Reply to Thread
Results 1 to 5 of 5
Discussion: General Forums / Hardware & Software Discussion - Folding@Home startup batch file - So Im running 12 console projects at a time on one of my machines and
  1. #1


    Join Date
    Jun 2008
    Location
    Victoria, TX
    Age
    26
    Posts
    453

    Folding@Home startup batch file

    So Im running 12 console projects at a time on one of my machines and I need to write something that I can start all the projects. I dont want to use a scheduled task as its too rigid. I would rather manually start the processes, but dont want to go into each of the 12 folders and run them individually.

  2.  
  3. #2

    Spyder228's Avatar

    Join Date
    Feb 2009
    Location
    Pittsburgh, PA
    Posts
    1,126

    Re: Folding@Home startup batch file

    If you give a few hours to get out of work I could probably write something for you. Of course if you want a really easy option, just copy the shortcuts into your startup folder. Not going to help you if you decide to close down the lot of them though.

  4.  
  5. #3


    Join Date
    Jun 2008
    Location
    Victoria, TX
    Age
    26
    Posts
    453

    Re: Folding@Home startup batch file

    Yea like I said I want to start it manually, so scheduled tasks and startup folder are not viable options

  6.  

     
  7. #4

    Spyder228's Avatar

    Join Date
    Feb 2009
    Location
    Pittsburgh, PA
    Posts
    1,126

    Re: Folding@Home startup batch file

    I'm fairly certain that this will work:

    @echo off
    start c:\fah\Folding@home-Win32-x86.exe

    The above is just an example. Of course fill in the correct location of your F@h exe file. You can stack all 12 of them together by doing something like this:

    @echo off
    start c:\fah\Folding@home-Win32-x86.exe
    start c:\fah1\Folding@home-Win32-x86.exe
    start c:\fah2\Folding@home-Win32-x86.exe

    etc.....

    Once you get that all typed out in notepad, save is a .BAT file and try it out.

  8.  
  9. #5

    ScratchMonkey's Avatar

    Join Date
    Aug 2005
    Location
    San Pablo, California
    Age
    51
    Posts
    8,637
    Blog Entries
    1

    Re: Folding@Home startup batch file

    I'm running on a 4-core Linux system, and have 3 copies of FAH in 3 different directories. (The 4th core is reserved for "ordinary" work.) In each directory I have a script named start_screen.sh that looks like this:

    Code:
    #!/bin/sh
    screen -dmS Folding1 ./fah6
    The "Folding1" is "Folding2" and "Folding3" for the other 2 directories, and is only used to identify the detached screen session.
    Dude, seriously, WHAT handkerchief?

    snooggums' density principal: "The more dense a population, the more dense a population."

    Iliana: "You're a great friend but if we're ever chased by zombies I'm tripping you."

  10.  

Thread Information

Users Browsing this Thread

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

Bookmarks

Posting Permissions

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


  
 

Back to top