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