Skip to content
Snippets Groups Projects
Commit a95ff29a authored by Lars Bilke's avatar Lars Bilke Committed by Dmitri Naumov
Browse files

[py] Added requirements.txt and example usage for BHE benchmark.

parent 3946e51f
No related branches found
No related tags found
No related merge requests found
...@@ -17,6 +17,7 @@ conaninfo.txt ...@@ -17,6 +17,7 @@ conaninfo.txt
CMakeLists.txt.user* CMakeLists.txt.user*
*.pyc *.pyc
.venv
Tests/**/*.md5 Tests/**/*.md5
Tests/Data/Parabolic/HT/InvalidProjectFiles/*.prj Tests/Data/Parabolic/HT/InvalidProjectFiles/*.prj
# How to run
You need to build OGS with `OGS_USE_PYTHON=ON` and have the Python modules
listed in `requirements.txt` installed, e.g.:
- In this directory:
- `virtualenv .venv` Make sure you use the same Python interpreter which was
embedded into OGS (look for `Found PythonInterp: ..` in the CMake output)
- `source .venv/bin/activate`
- `pip install -r requirements.txt`
- `PYTHONPATH=.venv/lib/python3.7/site-packages ~/code/ogs6/build/bin/ogs -o ~/tmp 3bhes_1U.prj`
TESPy==0.1.3
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment