[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GU: How can I submit a lot of jobs at the same time



What I do is create a script such as:
batch_meta which consists simply of 

batch_g LiAq5_321g
batch_g LiAq6_321g
batch_g LiAq6_631gstar


batch_g is another, 'standard' script which sets environment variables, etc.
i.e.
#!/bin/csh
#
set SCR = /disk11/cory
#set echo
stty -tostop
set path = ( $path /users/people/cory/gamessfiles )
#
set JOB = $1
#
cp $JOB.inp $SCR/$JOB.F05
#
setenv  IRCDATA     $SCR/$JOB.irc
...etc

The syntax you give wouldn't work because
gms JOB1 > & JOB1.out

doesn't set any environment variables. 
The space between > and & should be removed as well.
-Cory
.,
   *************
 *****************  !  Cory C. Pye
***   **    **  **  !  Graduate Student and Unpaid Sys Admin
**   *  ****        !  Theoretical and Computational Chemistry
**      *  *        !  cory@bohr.chem.mun.ca
**      *  *        !  http://www.ucs.mun.ca/~cory/index.html
***     *  *    **  !
 *****************  !  Les Hartree-Focks
   *************    !  (Apologies to Montreal Canadien Fans)