#!/bin/bash
### Job name
#PBS -N cwstv3
### Number of nodes
#PBS -l nodes=4:ppn=12,walltime=120:00:00
### Mail to user
#PBS -m ae
#PBS -M jcwarner@usgs.gov
### Out files
###PBS -e isabel_105.err
###PBS -o isabel_105.out
### PBS queue
###PBS -q standard

umask 0002

echo "this job is running on:"
cat $PBS_NODEFILE

NPROCS=`wc -l < $PBS_NODEFILE`

cd /home/hipub/code/COAWST

mpirun -np 48 -machinefile $PBS_NODEFILE ./coawstM Projects/Sandy_test/coupling_sandy.in > cwstv3.out
