Collection of utilities, solvers and other components.
Go to file
Roland Kaufmann 53130fec18 Add dependencies on Debian and build instructions for Dune
On Debian Squeeze/Ubuntu Precise, the DUNE libraries does not come
pre-compiled, so the instructions should show how to download the
DUNE prerequisite library and how to compile it, using its special
system.
2012-08-27 11:37:45 +02:00
examples Fix pressure renormalization conditions. Some formatting fixes. 2012-08-21 14:52:43 +02:00
m4 Tighten grammar of "HAVE_AGMG" symbol description. 2012-08-14 12:55:57 +02:00
opm/core Corrected typing pointed out by atgeirr in respose to pullrequest 2012-08-24 12:52:41 +02:00
tests Constructors of *FromDeck classes now take an UnstructuredGrid. 2012-08-10 10:12:45 +02:00
tutorials Don't clobber LDFLAGS user variable 2012-07-10 13:46:30 +02:00
.gitignore Ignore editor temporary files 2012-06-28 21:09:07 +02:00
CMakeLists.txt Added -ldunecommon to link flags. 2012-02-21 22:13:24 +01:00
configure.ac Make configure.ac compatible with automake 1.12 2012-08-23 14:20:41 +02:00
Doxyfile Added skeleton doxygen_main.hpp for overview documentation. 2012-06-05 15:20:13 +02:00
DoxygenLayout.xml Added doxygen configuration files (remove Doxyfile from .hgignore). 2012-04-10 17:22:14 +02:00
dune.module opm-core: make it a usable in conjunction wit dunecontrol 2012-07-02 19:17:25 +02:00
generate_doc_figures.py Added generation of tutorial4 pngs. 2012-06-11 10:10:53 +02:00
Makefile.am Preserve sorting order. 2012-08-21 14:09:44 +02:00
README Add dependencies on Debian and build instructions for Dune 2012-08-27 11:37:45 +02:00
style.css Added css file, change font and size of formulas. 2012-04-12 18:10:18 +02:00

These are the release notes for opm-core

Open Porous Media Core Library

CONTENT
opm-core is the core library within OPM and contains the following 

* Eclipse preprosessing
* Fluid properties (basic PVT models and rock properties)
* Grid (generates different grids)
* Linear Algerbra (interface to different linear solvers)
* Pressure solvers (different discretization schemes, different flow models)
* Simulator (some basic examples of simulators based on sequential schemes)
* Transport solvers (different discretization schemes, different flow models)
* Utility (input and output processing, unit conversion)
* Wells (basic well handling)

ON WHAT PLATFORMS DOES IT RUN?
The opm-core module is designed to run on linux platforms. No efforts have
been made to ensure that the code will compile and run on windows platforms.

DOCUMENTATION
Efforts have been made to document the code with Doxygen.

DEPENDENCIES FOR DEBIAN BASED DISTRIBUTIONS (Debian Squeeze/Ubuntu Precise)

# packages necessary for building
sudo apt-get install -y build-essential gfortran pkg-config libtool \
                        automake autoconf

# packages necessary for documentation
sudo apt-get install -y doxygen ghostscript texlive-latex-recommended pgf

# packages necessary for version control
sudo apt-get install -y git-core git-svn subversion

# libraries necessary for DUNE
sudo apt-get install -y libboost-all-dev libsuperlu3-dev libsuitesparse-dev

# libraries necessary for OPM
sudo apt-get install -y libxml0-dev

DEPENDENCIES FOR SUSE BASED DISTRIBUTIONS

# libraries
sudo zypper install blas libblas3 lapack liblapack3 libboost libxml2 umfpack

# tools
sudo zypper install gcc automake autoconf git doxygen

RETRIEVING AND BUILDING DUNE PREREQUISITES

# trust DUNE certificate (sic)
echo p | svn list https://svn.dune-project.org/svn/dune-common

# checkout DUNE libraries
for module in common istl geometry grid localfunctions; do
  git svn clone -s \
    https://svn.dune-project.org/svn/dune-$module/branches/release-2.2/ \
	dune-$module
done

# building DUNE libraries
for module in common istl geometry grid localfunctions; do
  env CCACHE_DISABLE=1 dune-common/bin/dunecontrol --only=dune-$module \
    --configure-opts="--enable-fieldvector-size-is-method" \
	--make-opts="-j -l 0.8" autogen : configure : make
done

DOWNLOAD opm-core

git clone git://github.com/OPM/opm-core.git

BUILDING opm-core

# note: this is done from the parent directory of opm-core
env CCACHE_DISABLE=1 dune-common/bin/dunecontrol --only=opm-core \
  --configure-opts="" --make-opts="-j -l 0.8" autogen : configure : make

or, without using dunecontrol:

pushd opm-core
autoreconf -i
./configure
make
sudo make install