#!/usr/bin/env bash

#PBS -N test_BGW
#PBS -q vulcan_batch
#PBS -l nodes=1:ppn=4:vulcan
#PBS -l walltime=1:00:00
#PBS -V

export TEMPDIRPATH=$SCRATCH/tmp

cd $PBS_O_WORKDIR
export MPIEXEC="`which mpiexec` --mca btl openib,self,sm"
make check-parallel &> test.out

echo "Exit status = $?"
