opm-core/README

126 lines
3.3 KiB
Plaintext
Raw Normal View History

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.
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
------------------------------------------
(only necessary if you want to use opm-core as a dune module)
# 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
2012-08-24 06:46:16 -05:00
DOWNLOADING
-----------
2012-08-23 06:58:41 -05:00
For a read-only download:
2012-08-23 06:58:41 -05:00
git clone git://github.com/OPM/opm-core.git
If you want to contribute, fork OPM/opm-core on github.
2012-08-24 06:46:16 -05:00
BUILDING
--------
(standalone opm-core:)
2012-08-23 06:58:41 -05:00
2012-08-24 06:46:16 -05:00
cd ../opm-core
autoreconf -i
2012-08-23 06:58:41 -05:00
./configure
make
sudo make install
(using opm-core as a dune module:)
2012-08-23 06:58:41 -05:00
# 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
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
$ doxygen
in the topmost directory.