Skip to content

rolk/opm-benchmarks

Repository files navigation

These are the release notes for opm-benchmarks

Opm-benchmarks currently consists of one benchmark with three included data sets.
It is the mpi version of the upscale_relperm code from opm-upscaling, and can
distribute to a maximum of twenty cpus in it's current form. The benhcmark is
copyrighted by Statoil, and licensed under GPL 3+. See COPYING for details.

ON WHAT PLATFORMS DOES IT RUN?
It is only developed for GNU/Linux. All the larger distributions are
usually tested.

HOW MUCH MEMORY DO I NEED?
The benchmark itself uses just over 100MB per process on the smallest data set.
Compiling the benchmark is quite memory intensive. Plan for at least one gigabyte
of available memory for each thread when compiling. Number of threads is given
with the -j option in the opm-benchmarks/config.opts file.

BUILDING AND RUNNING THE BENCHMARK
#!/bin/bash
# This script downloads all necessary source code, build the DUNE and OPM modules
# and finally run the benchmark

######################################################
# Obtain source code
######################################################

# Make new directory to store all source code and module libraries mkdir OPM cd OPM

# Checkout DUNE core modules from SVN (stable 2.2 release)
svn co https://svn.dune-project.org/svn/dune-common/branches/release-2.2 dune-common
svn co https://svn.dune-project.org/svn/dune-geometry/branches/release-2.2 dune-geometry
svn co https://svn.dune-project.org/svn/dune-grid/branches/release-2.2 dune-grid
svn co https://svn.dune-project.org/svn/dune-istl/branches/release-2.2 dune-istl

# Clone OPM modules
git clone https://github.com/OPM/opm-core.git
git clone https://github.com/OPM/opm-porsol.git
git clone https://github.com/OPM/opm-upscaling.git
git clone https://github.com/OPM/dune-cornerpoint.git
git clone https://github.com/OPM/opm-benchmarks.git


######################################################
# Build from source
######################################################

nice dune-common/bin/dunecontrol --opts=opm-benchmarks/config.opts all # You may want to edit the config.opts file


######################################################
# Run benchmark
######################################################

nice mpirun -np 4 ./opm-benchmarks/benchmarks/upscale_relperm_benchmark
# You may want to change the number of processors

About

DUNE module containing benchmarks for the OPM project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages