#!/bin/sh

#----------------------------------------------------------------------
# directives to allow this to run as a batch jobs under PBS.
#PBS -N ctest
#PBS -r n
#PBS -e c.err
#PBS -o c.log
#PBS -q small
#PBS -l nodes=2
#----------------------------------------------------------------------


echo ""
MPI_HOME=/usr/local/mpich-1.2.6-pgi-hpf-cc-5.2-4
echo setting MPI_HOME to $MPI_HOME

cd $HOME/dart/DART/doc/mpi
$MPI_HOME/bin/mpirun ./ctest_mpi

echo ""
echo 'done with script'
