No project description provided
Project description
opm-origen
Prerequisites
- Install make, cmake and g++
- Build/Install Opm-Common
- Build/Install Opm-Grid
Install opm packages
sudo apt-add-repository ppa:opm/ppa
sudo apt-get update
sudo apt-get install libopm-common-dev
sudo apt-get install libopm-grid-dev
How to build
git clone git@github.com:OriGenAI/opm-origen.git
cd opm-origen
mkdir build
cd build
cmake ..
make
How to use
- Copy the binary under
build/lib
folder - Import the binary from your Python code
- Call the library functions
Example
from origen.ai.ecl import read_transmissibility
trans = read_transmissibility("path-to-data.DATA")
print(trans)
Develop
You can use the main.cpp file to debug. Just call your function from there and compile the code. You will find the binary in build/bin/main
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
origen_ai_ecl-0.1.1.tar.gz
(189.1 kB
view details)
Built Distribution
origen_ai_ecl-0.1.1-py3-none-any.whl
(189.8 kB
view details)
File details
Details for the file origen_ai_ecl-0.1.1.tar.gz
.
File metadata
- Download URL: origen_ai_ecl-0.1.1.tar.gz
- Upload date:
- Size: 189.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.2 Linux/6.1.11-100.fc36.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6a3653c2132a43e4e076c1a81f82b8a13a8d829878c93d00cf5aad944a890ec |
|
MD5 | 6b402a0c65dc4bfc44d86aca8268a406 |
|
BLAKE2b-256 | 92e974f6949234f1da65be18254c45bfd133b348b098c7fffd51d12e6144e637 |
File details
Details for the file origen_ai_ecl-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: origen_ai_ecl-0.1.1-py3-none-any.whl
- Upload date:
- Size: 189.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.2 Linux/6.1.11-100.fc36.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2f7bb775e8ef0c5cb59a4ba7b18f69af70f7b023ad0a5a4ff4911691f9a56ed |
|
MD5 | fd880bb028853aebc275de48476c3700 |
|
BLAKE2b-256 | 5ee81cf49487892eab68521909cf7e55c37849255a974c0c3ddf0d82e70f9d60 |