mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-24 18:20:22 -06:00
596561b4ce
- The user can supply OPM_DATA_ROOT directly and this is used. - The user can supply OPM_DATA_ROOT_PREDEFINED and this is used unless there is a PR against opm-data specified in the trigger. This is used to minimize the network traffic on the jenkins resource. opm-data is updated nightly, and this nightly updated copy is used unless otherwise instructed. This commit also enables the opm-data integration tests on all runs.
17 lines
513 B
Bash
Executable File
17 lines
513 B
Bash
Executable File
#!/bin/bash
|
|
|
|
pushd .
|
|
cd deps/opm-data
|
|
|
|
# Run the simple2D polymer case
|
|
cd polymer_test_suite/simple2D
|
|
$WORKSPACE/serial/build-opm-simulators/bin/flow_polymer run.param
|
|
test $? -eq 0 || exit 1
|
|
cd ../..
|
|
|
|
# Compare OPM with eclipse reference
|
|
PYTHONPATH=$WORKSPACE/serial/install/lib/python2.7/dist-packages/ python output_comparator/src/compare_eclipse.py polymer_test_suite/simple2D/eclipse-simulation/ polymer_test_suite/simple2D/opm-simulation/ 2D_THREEPHASE_POLY_HETER 0.0006 0.004
|
|
test $? -eq 0 || exit 1
|
|
|
|
popd
|