mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-12 17:02:02 -05:00
add jenkins script for running Norne case
This commit is contained in:
1 parent
9e5bc628db
commit
4bea041ec8
3 files changed
+30
-1
No files matched your search
Executable
+24
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Build flow binary
|
||||
pushd .
|
||||
cd serial/build-opm-autodiff
|
||||
cmake --build . --target flow
|
||||
popd
|
||||
|
||||
# Clone opm-data if necessary
|
||||
pushd .
|
||||
cd deps
|
||||
if ! test -d opm-data
|
||||
then
|
||||
git clone --depth 1 --single-branch -b master https://github.com/OPM/opm-data
|
||||
fi
|
||||
cd opm-data
|
||||
|
||||
# Run the norne case
|
||||
cd norne
|
||||
$WORKSPACE/serial/build-opm-autodiff/bin/flow deck_filename=NORNE_ATW2013.DATA output_dir=OPM
|
||||
test $? -eq 0 || exit 1
|
||||
PATH=$WORKSPACE/serial/install/bin:$PATH ./plotwells.sh
|
||||
|
||||
popd
|
||||
Reference in new issue
Block a user