2012-08-23 06:58:41 -05:00
|
|
|
Open Porous Media Core Library
|
2012-08-24 06:46:16 -05:00
|
|
|
==============================
|
|
|
|
|
|
|
|
These are release notes for opm-core.
|
|
|
|
|
2012-08-23 06:58:41 -05:00
|
|
|
|
|
|
|
CONTENT
|
2012-08-24 06:46:16 -05:00
|
|
|
-------
|
|
|
|
|
2012-08-23 06:58:41 -05:00
|
|
|
opm-core is the core library within OPM and contains the following
|
|
|
|
|
2012-08-24 06:46:16 -05:00
|
|
|
* Eclipse deck input and preprosessing
|
2012-08-23 06:58:41 -05:00
|
|
|
* Fluid properties (basic PVT models and rock properties)
|
2012-08-24 06:46:16 -05:00
|
|
|
* Grid handling (cornerpoint grids, unstructured grid interface)
|
|
|
|
* Linear Algebra (interface to different linear solvers)
|
|
|
|
* Pressure solvers (various discretization schemes, flow models)
|
|
|
|
* Simulators (some basic examples of simulators based on sequential splitting schemes)
|
|
|
|
* Transport solvers (various discretization schemes, flow models)
|
|
|
|
* Utilities (input and output processing, unit conversion)
|
2012-08-23 06:58:41 -05:00
|
|
|
* Wells (basic well handling)
|
|
|
|
|
|
|
|
|
2012-08-24 06:46:16 -05:00
|
|
|
LICENSE
|
|
|
|
-------
|
|
|
|
|
|
|
|
The library is distributed under the GNU General Public License,
|
|
|
|
version 3 or later (GPLv3+).
|
|
|
|
|
|
|
|
|
|
|
|
PLATFORMS
|
|
|
|
---------
|
|
|
|
|
|
|
|
The opm-core module is designed to run on Linux platforms. It is also
|
|
|
|
regularly run on Mac OS X. No efforts have been made to ensure that
|
|
|
|
the code will compile and run on windows platforms.
|
|
|
|
|
|
|
|
|
2012-08-27 04:37:45 -05:00
|
|
|
DEPENDENCIES FOR DEBIAN BASED DISTRIBUTIONS (Debian Squeeze/Ubuntu Precise)
|
2012-08-27 06:32:10 -05:00
|
|
|
---------------------------------------------------------------------------
|
2012-08-27 04:37:45 -05:00
|
|
|
|
|
|
|
# packages necessary for building
|
2013-02-11 16:42:43 -06:00
|
|
|
sudo apt-get install -y build-essential gfortran cmake cmake-data util-linux
|
2012-08-27 04:37:45 -05:00
|
|
|
|
|
|
|
# packages necessary for documentation
|
|
|
|
sudo apt-get install -y doxygen ghostscript texlive-latex-recommended pgf
|
|
|
|
|
|
|
|
# packages necessary for version control
|
2012-09-20 06:35:34 -05:00
|
|
|
sudo apt-get install -y git-core
|
2012-08-27 04:37:45 -05:00
|
|
|
|
2012-09-20 06:35:34 -05:00
|
|
|
# basic libraries necessary for both DUNE and OPM
|
2012-08-27 04:37:45 -05:00
|
|
|
sudo apt-get install -y libboost-all-dev libsuperlu3-dev libsuitesparse-dev
|
|
|
|
|
2012-10-14 05:04:57 -05:00
|
|
|
# for server edition of Ubuntu add-apt-repository depends on
|
|
|
|
sudo apt-get install python-software-properties
|
|
|
|
|
2012-09-20 06:35:34 -05:00
|
|
|
# add this repository for necessary backports (required for Ubuntu Precise)
|
|
|
|
sudo add-apt-repository -y ppa:opm/ppa
|
2012-09-27 14:41:49 -05:00
|
|
|
sudo apt-get update
|
2012-09-20 06:35:34 -05:00
|
|
|
|
|
|
|
# parts of DUNE needed
|
2012-10-11 16:47:07 -05:00
|
|
|
sudo apt-get install libdune-common-dev libdune-istl-dev libdune-grid-dev
|
2012-09-20 06:35:34 -05:00
|
|
|
|
2012-08-27 04:37:45 -05:00
|
|
|
# libraries necessary for OPM
|
2013-02-14 14:28:37 -06:00
|
|
|
sudo apt-get install -y libtinyxml-dev
|
2012-08-27 04:37:45 -05:00
|
|
|
|
2012-10-24 05:51:50 -05:00
|
|
|
Note: You should compile the OPM modules using the same toolchain that
|
|
|
|
was used to build DUNE. Otherwise, you can get strange ABI errors.
|
2012-08-27 06:32:10 -05:00
|
|
|
|
2013-02-14 14:12:27 -06:00
|
|
|
|
2012-08-27 04:37:45 -05:00
|
|
|
DEPENDENCIES FOR SUSE BASED DISTRIBUTIONS
|
2012-08-27 06:32:10 -05:00
|
|
|
-----------------------------------------
|
2012-08-27 04:37:45 -05:00
|
|
|
|
|
|
|
# libraries
|
2013-02-14 14:28:37 -06:00
|
|
|
sudo zypper in libblas3 liblapack3 libboost libtinyxml-devel libumfpack
|
2012-08-27 04:37:45 -05:00
|
|
|
|
|
|
|
# tools
|
2013-02-11 16:42:43 -06:00
|
|
|
sudo zypper in gcc cmake git doxygen
|
2012-08-27 04:37:45 -05:00
|
|
|
|
2012-09-20 06:35:34 -05:00
|
|
|
# DUNE libraries
|
|
|
|
sudo zypper ar http://download.opensuse.org/repositories/science/openSUSE_12.2/science.repo
|
|
|
|
sudo zypper in dune-common dune-istl
|
2012-08-27 04:37:45 -05:00
|
|
|
|
|
|
|
|
2013-02-14 14:12:27 -06:00
|
|
|
DEPENDENCIES FOR RHEL BASED DISTRIBUTIONS
|
|
|
|
-----------------------------------------
|
|
|
|
|
|
|
|
# packages necessary for building
|
|
|
|
sudo yum install make gcc-c++ gcc-gfortran cmake28 util-linux
|
|
|
|
|
|
|
|
# packages necessary for documentation
|
|
|
|
sudo yum install doxygen ghostscript texlive
|
|
|
|
|
|
|
|
# packages necessary for version control
|
|
|
|
sudo yum install git
|
|
|
|
|
|
|
|
# basic libraries necessary for both DUNE and OPM
|
|
|
|
sudo yum install boost-devel suitesparse-devel blas-devel lapack-devel
|
|
|
|
|
|
|
|
# libraries necessary for OPM
|
2013-02-14 14:28:37 -06:00
|
|
|
sudo yum install tinyxml-devel
|
2013-02-14 14:12:27 -06:00
|
|
|
|
|
|
|
|
2012-08-24 06:46:16 -05:00
|
|
|
DOWNLOADING
|
|
|
|
-----------
|
2012-08-23 06:58:41 -05:00
|
|
|
|
2012-08-27 06:32:10 -05:00
|
|
|
For a read-only download:
|
2012-08-23 06:58:41 -05:00
|
|
|
git clone git://github.com/OPM/opm-core.git
|
|
|
|
|
2012-08-27 06:32:10 -05:00
|
|
|
If you want to contribute, fork OPM/opm-core on github.
|
|
|
|
|
2012-08-24 06:46:16 -05:00
|
|
|
|
|
|
|
BUILDING
|
|
|
|
--------
|
|
|
|
|
2012-10-08 04:35:32 -05:00
|
|
|
There are two ways to build the opm-core library:
|
|
|
|
|
|
|
|
1. As a stand-alone library.
|
2012-09-20 06:35:34 -05:00
|
|
|
cd opm-core
|
2012-08-23 06:58:41 -05:00
|
|
|
./configure
|
2013-02-11 16:42:43 -06:00
|
|
|
make
|
|
|
|
|
2012-10-08 04:35:32 -05:00
|
|
|
If you want to install the library:
|
2013-02-11 16:42:43 -06:00
|
|
|
|
2012-10-08 04:35:32 -05:00
|
|
|
sudo make install
|
|
|
|
|
|
|
|
2. As a dune module.
|
|
|
|
- Put the opm-core directory in the same directory
|
|
|
|
as the other dune modules to be built (e.g. dune-commmon,
|
2012-10-14 05:04:57 -05:00
|
|
|
dune-grid). Note that for Ubuntu you can install Dune
|
|
|
|
from the ppa as outlined above.
|
2012-10-08 04:35:32 -05:00
|
|
|
- Run dunecontrol as normal. For more information on
|
|
|
|
the dune build system, see
|
|
|
|
http://www.dune-project.org/doc/installation-notes.html
|
2012-08-24 06:46:16 -05:00
|
|
|
|
|
|
|
|
|
|
|
DOCUMENTATION
|
|
|
|
-------------
|
|
|
|
|
|
|
|
Efforts have been made to document the code with Doxygen.
|
|
|
|
In order to build the documentation, enter the command
|
2013-02-11 16:42:43 -06:00
|
|
|
|
|
|
|
make doc
|
|
|
|
|
2012-08-24 06:46:16 -05:00
|
|
|
in the topmost directory.
|