Skip to content

osae/opm-parser

 
 

Repository files navigation

opm-parser

opm-parser is a small library for parsing ECLIPSE datafiles.

Dependencies

Build instructions

We assume boost is installed in BOOST_INCLUDE=/opt/software and that you wish to install opm-parser in INSTALL_PATH=/opt/software.

Obtaining the data:

git clone https://github.com/Statoil/libecl
git clone https://github.com/OPM/opm-parser

Configure the paths:

export INSTALL_PATH=/opt/software
export BOOST_INCLUDE=/opt/software/include
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$INSTALL_PATH/lib:$INSTALL_PATH/lib64

Build and install libecl:

cd libecl
mkdir build
cd build/
cmake -DENABLE_PYTHON=OFF -DBUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=$INSTALL_PATH ..
make install
cd ../..

Build and install opm-parser (you may omit the flag to Boost_INCLUDE_DIR if it is installed at a standardized location):

cd opm-parser/
mkdir build
cd build/
cmake -DBoost_INCLUDE_DIR=$BOOST_INCLUDE -DCMAKE_INSTALL_PREFIX=$INSTALL_PATH ..
make install

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 97.6%
  • CMake 2.3%
  • Other 0.1%