#! /bin/ksh # this is the file you call to submit a (number of) job(s) script="./jobscript"; # enter the filename of your jobscript walltime="115:00:00"; # hours:minutes:seconds for each run mem="900kb"; # memory requirement for each run # you can define parameters here and forward them into the job script below for temp in 0.390 0.375 do JOBNAME="CODE.T.$temp"; # a name just to identify my job in queue EXE="myexecutable.ex"; # the executable should be in the same directory PARAMETERS="EXE=$EXE,temp=$temp" # a comma separated list of variables you # want to use in jobscript ###################################### # do never change the following lines rm -f .doit; cat << EOF > .doit; # .doit is a temporary file needed qsub -v $PARAMETERS -N $JOBNAME -l walltime=$walltime,mem=$mem $script >> jobout.txt; EOF cat .doit; # show script ksh .doit; rm .doit # execute script ###################################### done; qstatall | grep `whoami`; # show queue, grep for your own jobs