#!/bin/bash ############################################################ ## Sample PBS Job Script for basic serial job ## ## Lines beginning with '#PBS' are PBS directives, see ## 'man qsub' for additional information. ############################################################ ### Set the job name #PBS -N XXX ### Set the queue to submit this job: ALWAYS use the default queue #PBS -q default ### Set the number of nodes that will be used, and number of ### processors per node #PBS -l nodes=1 ### Change to the working directory of the qsub command ... cd $PBS_O_WORKDIR echo echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-" echo PBS_O_WORKDIR="$PBS_O_WORKDIR" echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-" # ... and execute the command XXX