#! /usr/local/bin/tcsh -f set jobname=$1 echo put $jobname on queue set homedir=`echo $cwd` echo running in $homedir set qswitches='-j y -o queueout/pawout -l PAW' echo queue switches are: $qswitches set miniscript="cd $homedir; ~program/paw/scripts/paw_run $jobname > $jobname.echo" echo submitted script is: $miniscript echo $miniscript > $jobname.scr qsub $qswitches $jobname.scr echo DONE