ResInsight/ThirdParty/Ert
2017-08-29 11:03:45 +02:00
..
.github #1641 Update libecl to latest revision from master 2017-06-22 11:51:46 +02:00
applications #1768 Update libecl to b17c5ffbf2f82594b01037d39ca9440252a10536 2017-08-29 11:03:45 +02:00
cmake #1641 Update libecl to latest revision from master 2017-06-22 11:51:46 +02:00
debian Updated Ert to e2a5a9cc20705537d07822958d925e092a323367 to include new accesss to well rates 2017-02-07 13:44:59 +01:00
docs #1768 Update libecl to b17c5ffbf2f82594b01037d39ca9440252a10536 2017-08-29 11:03:45 +02:00
install #804 Updated ERT based on 6287acdb0d039ce13eb9956b67035280a3de9539 2016-10-13 13:40:43 +02:00
lib #1748 libecl : Add INSTALL_ERT to control install targets 2017-08-29 11:03:45 +02:00
python #1768 Update libecl to b17c5ffbf2f82594b01037d39ca9440252a10536 2017-08-29 11:03:45 +02:00
redhat Updated Ert to e2a5a9cc20705537d07822958d925e092a323367 to include new accesss to well rates 2017-02-07 13:44:59 +01:00
script #1396 Update to libert from https://github.com/Statoil/libecl 2017-04-24 21:53:45 +02:00
test-data #1641 Update libecl to latest revision from master 2017-06-22 11:51:46 +02:00
VisualStudio #804 Updated ERT based on 6287acdb0d039ce13eb9956b67035280a3de9539 2016-10-13 13:40:43 +02:00
.gitattributes ERT: Updated to nnc-export branch from Joakim b933117d4e 2013-12-12 22:17:51 +01:00
.gitignore #1396 Update libEcl to 06a39878636af0bc52582430ad0431450e51139c 2017-05-08 13:37:39 +02:00
.travis.yml #1768 Update libecl to b17c5ffbf2f82594b01037d39ca9440252a10536 2017-08-29 11:03:45 +02:00
appveyor.yml #804 Updated ERT based on 6287acdb0d039ce13eb9956b67035280a3de9539 2016-10-13 13:40:43 +02:00
CMakeLists.txt #1748 libecl : Add INSTALL_ERT to control install targets 2017-08-29 11:03:45 +02:00
COPYING Updated Ert to e2a5a9cc20705537d07822958d925e092a323367 to include new accesss to well rates 2017-02-07 13:44:59 +01:00
README.md #1768 Update libecl to b17c5ffbf2f82594b01037d39ca9440252a10536 2017-08-29 11:03:45 +02:00
release-notes.txt #1396 Update to libert from https://github.com/Statoil/libecl 2017-04-24 21:53:45 +02:00
Windows.txt #804 Updated ERT based on 6287acdb0d039ce13eb9956b67035280a3de9539 2016-10-13 13:40:43 +02:00

libecl Build Status

libecl is a package for reading and writing the result files from the Eclipse reservoir simulator. The file types covered are the restart, init, rft, summary and grid files. Both unified and non-unified and formatted and unformatted files are supported.

libecl is mainly developed on Linux and OS X, in addition there is a portability layer which ensures that most of the functionality is available on Windows. The main functionality is written in C, and should typically be linked in in other compiled programs. libecl was initially developed as part of the Ensemble Reservoir Tool, other applications using libecl are the reservoir simulator flow and Resinsight from the OPM project.

In addition to the C code there are Python wrappers which make most of the libecl functionality available from Python. For small interactive scripts, forward models e.t.c. this is recommended way to use libecl functionality.

Compiling the C code

libecl uses CMake as build system:

git clone https://github.com/Statoil/*libecl*.git
cd *libecl*
mkdir build
cd build
cmake ..
make

If you intend to develop and change libecl you should build the tests by passing -DBUILD_TESTS=ON and run the tests with ctest.

Compiling the Python code

Python is not a compiled language, but there is a basic "build system" which does a basic Python syntax check and configures some files to correctly set up the interaction between the Python classes and the shared libraries built from the C code.

You need to install some Python requirements before the Python code will work:

sudo pip install -r requirements.txt

The Python + cmake interaction is handled in a separate project called pycmake; you can either install that manually or use the git submodule functionality to fetch the correct version of pycmake into your libecl code:

git submodule update --init pycmake