# SV1 Example Verbose Batch Script #QSUB -r n2opt # Batch job name #QSUB -eo # This combines stderr & stdout #QSUB -J m # Append job log to stdout #QSUB -me # Email when job is finished #QSUB -s /bin/sh # Execute this script with indicated shell #QSUB -lT 0:51:00 # Request cpu time limit hr:min:sec #QSUB -lM 64Mw # Request memory limit set -vx # Print shell command lines set # Print shell variables ja # Start job accounting echo $QSUB_WORKDIR # Print working directory cd $TMPDIR # Change to temporary directory pwd # Print temporary directory df # Print disk information INPUT=n2opt.com # Define input file name cp $QSUB_WORKDIR/$INPUT . # Copy input file module load g98a.9 # Load gaussian module g98 < ./$INPUT # Execute gaussian ls -al # Print directory listing cp * $QSUB_WORKDIR # Copy all files ja -chlflselt # Print job accounting information