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.2.tar.gz
(189.1 kB
view details)
Built Distribution
origen_ai_ecl-0.1.2-py3-none-any.whl
(189.8 kB
view details)
File details
Details for the file origen_ai_ecl-0.1.2.tar.gz
.
File metadata
- Download URL: origen_ai_ecl-0.1.2.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 | 998748f722a48afa5ecf128e7d3184d5f478c460a738f0b8393ca27ea1e149bd |
|
MD5 | 349a5715eadc2d9d1aa7f7e7208f7fa9 |
|
BLAKE2b-256 | a982bde0b27202862315aa568e53660214955e0c827b42a73bdc2a3bea7d8a8f |
File details
Details for the file origen_ai_ecl-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: origen_ai_ecl-0.1.2-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 | 941ed420220e5e62633b7166d3e73f4d55dd92430b43fd8c38efc2a57b28233f |
|
MD5 | ac46a5f545d387e9b27380f1917d5ca0 |
|
BLAKE2b-256 | ebf54624a10b08e64c6cf99f707ffe651fb90580166ff2617611401f07bf3b48 |