#!/bin/sh

WORKDIR=$HOME/Project/Xyce__Work/

# First we do the verbose SERIAL version:
BASELINEDIR=$WORKDIR/baseline_tests_SERIAL
XYCE=$WORKDIR/Xyce_clean/BUILD/rancilio_gcc346_32_SERIAL/src/Xyce
\rm -rf $BASELINEDIR
./run_xyce_regression --output=$BASELINEDIR --saveoutput $XYCE $*

# Second we do the verbose PARALLEL version:
#XYCE="/opt/mpich-icc-10.1/bin/mpirun -np 2 $WORKDIR/CLEAN/Xyce/BUILD/rancilio_icc101_64_MPICH/src/Xyce"
#BASELINEDIR=$WORKDIR/CLEAN/baseline_tests_MPICH
##rm -rf $BASELINEDIR
#echo ./run_xyce_regression --taglist="+parallel+nightly" --output=$BASELINEDIR --saveoutput "$XYCE" $*
#./run_xyce_regression --taglist="+parallel+nightly" --output=$BASELINEDIR --saveoutput "$XYCE" $*
