Skip to main content

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

Installing the Python code

* pip install .
* check with: source python/check_python

Release files for dhan16opm-libecl 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dhan16opm-libecl 0.1.5
File Size Uploaded
dhan16opm_libecl-0.1.5.tar.gz 804.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dhan16opm-libecl 0.1.5
File Interpreter ABI Platform
dhan16opm_libecl-0.1.5-cp36-cp36m-macosx_10_13_x86_64.whl CPython 3.6 CPython 3.6 pymalloc macOS 10.13+ x86-64 Details

Total release size: 2.0 MB

Release files / dhan16opm_libecl-0.1.5.tar.gz

Download URL dhan16opm_libecl-0.1.5.tar.gz
Size 804.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f925b5e8aa85b097e5a5c6eeadbc776f2b01b574b9078b7994b0050076b3fe72
BLAKE2b-256 checksum
How to use checksums
d05fc7c97991b57d6937bcce35f6b9d685d24f0a936f5f520a7027dd24b5a73b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

Release files / dhan16opm_libecl-0.1.5-cp36-cp36m-macosx_10_13_x86_64.whl

Download URL dhan16opm_libecl-0.1.5-cp36-cp36m-macosx_10_13_x86_64.whl
Size 1.2 MB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
d8f99dc6ea20415185394957b44e35f3f27c9736bc399a9e105047b48ad9daaa
BLAKE2b-256 checksum
How to use checksums
f574573cc74cd5a98b9f8be0f8833048a4c7522efbaf94c84d29287abeb69498
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

1 release file

0.1.3

1 release file

0.1.2

2 release files

0.1.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page