Example script for running MOFIA using DQS

USAGE: qsub anal.csh ybos file (submit the job)

qstat (check status)

(Loop on files)

foreach i (*.ybs)

qsub anal.csh $i

echo $i

end


anal.csh

#! /bin/csh

source $HOME/e614soft/triumf/setup.com

setup mofia 2.1

setenv MTIN $1

setenv MHIST /twist/data2/olin/half

cd work

$MOFIA_USER/mofia21

@initslow

anal

func 5

exit