5.665 Example Submit Scripts

The following is an example job test script:

#!/bin/sh

#

#This is an example script example.sh

#

#These commands set up the Grid Environment for your job:

#PBS -N ExampleJob

#PBS -l nodes=1,walltime=00:01:00

#PBS -q np_workq

#PBS -M [email protected]

#PBS -m abe

 

#print the time and date

date

 

#wait 10 seconds

sleep 10

 

#print the time and date again

date

Related Topics 

© 2016 Adaptive Computing