script:Submit-example
From Dgiref
This submit script specifies the name of the job (localBlast), what environment to use (/bin/sh), that it need both processors on a single node (nodes=1:ppn=2), will run for at most 10 days, and that TORQUE should email user@my.organization.com when the job exits or aborts. Additionally, the user specified where and what to execute.
# example of submit file PBS -N localBlast PBS -S /bin/sh PBS -l nodes=1:ppn=2,walltime=240:00:00 PBS -M user@my.organization.com PBS -m ea source ~/.bashrc cd $HOME/work/dir sh myBlast.sh -i -v # end example of submit file