Para Cluster example script

#!/bin/bash

# set name of job
#PBS -N example name

# set the error log file location
#PBS -e /net/para33/data2/yourname/logs 

# set the output log file location
#PBS -o /net/para33/data2/yourname/logs

# set the number of nodes and processes per node
#PBS -l nodes=1:ppn=1
# alternatively, send something to a specific node
#PBS -l nodes=1:para33:ppn=1

# set max wallclock time (100 hours)
#PBS -l walltime=100:00:00

# mail alert at start, end and abortion of execution
#PBS -m bea

# send mail to this address
#PBS -M yourname@strw.leidenuniv.nl

# set up an array for multiple jobs, will use variable PBS_ARRAY_ID
#PBS -t 1-7

# start job from the directory it was submitted
cd $PBS_O_WORKDIR  
# an example of what you can submit. all scripts should use bash syntax, unless you use the #PBS -S option
# the ${PBS_ARRAY_ID} values come from the header above. 
touch test${PBS_ARRAY_ID}.txt