Merge pull request #2089 from akva2/allow_parallel_norne_trigger

added: allow running the norne test in parallel
This commit is contained in:
Atgeirr Flø Rasmussen 2019-10-22 09:54:43 +02:00 committed by GitHub
commit f3d53e4750
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,12 @@ test -z $SIM && SIM=flow
# Run the norne case
cd norne
mkdir $SIM
$WORKSPACE/$configuration/build-opm-simulators/bin/$SIM --output-dir=$SIM NORNE_ATW2013.DATA
if test -n "$1"
then
mpirun -np $1 $WORKSPACE/$configuration/build-opm-simulators/bin/$SIM --output-dir=$SIM NORNE_ATW2013.DATA
else
$WORKSPACE/$configuration/build-opm-simulators/bin/$SIM --output-dir=$SIM NORNE_ATW2013.DATA
fi
test $? -eq 0 || exit 1
./plotwells.sh $WORKSPACE/$configuration/install/bin "ECL.2014.2 opm-simulation-reference/flow_legacy" norne-wells
./plotwells.sh $WORKSPACE/$configuration/install/bin "opm-simulation-reference/flow_legacy" norne-wells-noecl