# Sample script to run a PBS job (referrer: ./pbs.html) # You could use the "save as" feature of your browser to save this file, # and then edit it for your needs (removing most comments). # Specify the shell for PBS -- required, otherwise it will be # /usr/math/bin/uinit :-( You can also use /bin/csh. #PBS -S /bin/sh # Merge stderr to stdout (optional, otherwise they're in separate files) #PBS -j oe # Specify the output filename explicitly (optional; the default is named # from the job ID, in the directory where qsub was run.) #PBS -o ./testjob.out # Specify the queue explicitly. The default isn't working yet. #PBS -q sixpac@bud # Specify the CPU time limit in seconds. Required; the default is # 30 secs, for testing, then the job is killed. This example job is # limited to one hour. #PBS -l cput=3600 # Request mail when job ends, or is aborted (optional, default is "a" only) #PBS -m ea # You start in your home directory; you probably need to change. cd $HOME/pbstest # These are the actual commands to be executed. echo "Test job starting at `date`" ./ackermann.pl echo "Test job finished at `date`" # You don't need anything special at the end of the script.