2016-04-05 09:14:39 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
2016-04-06 10:15:54 +02:00
|
|
|
pushd .
|
2018-04-03 08:26:18 +02:00
|
|
|
cd deps/opm-tests
|
2017-11-10 15:32:08 +01:00
|
|
|
test -z $SIM && SIM=flow
|
2016-04-05 09:14:39 +02:00
|
|
|
|
|
|
|
|
# Run the norne case
|
|
|
|
|
cd norne
|
2019-10-21 13:25:38 +02:00
|
|
|
if test -n "$1"
|
|
|
|
|
then
|
2019-11-26 12:54:32 +01:00
|
|
|
mpirun -np $1 $WORKSPACE/$configuration/build-opm-simulators/bin/$SIM --output-dir=${SIM}_${1}_proc NORNE_ATW2013.DATA
|
2019-10-21 13:25:38 +02:00
|
|
|
else
|
|
|
|
|
$WORKSPACE/$configuration/build-opm-simulators/bin/$SIM --output-dir=$SIM NORNE_ATW2013.DATA
|
|
|
|
|
fi
|
2016-04-05 09:14:39 +02:00
|
|
|
test $? -eq 0 || exit 1
|
2017-04-07 19:23:00 +02:00
|
|
|
./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
|
2016-04-05 09:14:39 +02:00
|
|
|
|
|
|
|
|
popd
|