mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-08 23:43:02 -06:00
5ec806c4d8
this way we get curves for both the serial and parallel runs in the well plots
21 lines
606 B
Bash
Executable File
21 lines
606 B
Bash
Executable File
#!/bin/bash
|
|
|
|
pushd .
|
|
cd deps/opm-tests
|
|
test -z $SIM && SIM=flow
|
|
|
|
# Run the norne case
|
|
cd norne
|
|
mkdir $SIM
|
|
if test -n "$1"
|
|
then
|
|
mpirun -np $1 $WORKSPACE/$configuration/build-opm-simulators/bin/$SIM --output-dir=${SIM}_${1}_proc 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
|
|
|
|
popd
|