Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • O ogs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 98
    • Issues 98
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 40
    • Merge requests 40
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ogsogs
  • ogs
  • Merge requests
  • !4049

Very first version of an python - OGS interface.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Tom Fischer requested to merge TomFischer/ogs:ogs_as_python_module into master Mar 16, 2022
  • Overview 7
  • Commits 13
  • Pipelines 28
  • Changes 12

The MR provides an OpenGeoSys python module. At present the module has an initialize(), an executeSimulation(), and a finalize() function. In the future the executeSimulation() function should be substituted by other functions, like

  • update
  • status
  • time
  • validate
  • inputs
  • outputs

to allow for better control of OGS execution and coupling to other simulation software.

As a side-effect this also bumps required CMake version to 3.22. I (@bilke) would have done the bump anyway in the next two weeks (as I plan to use some recent CMake features to improve our CMake logic).

  1. Feature description was added to the changelog
  2. Tests covering your feature were added?

Next steps:

  • Revert 5ff907f4 (due to CMake bump)
  • Make ogs with this Python interface available as a pip or conda module
  • Enable functionality on Windows Release
  • Iterate on this interface
Edited Apr 12, 2022 by Lars Bilke
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: ogs_as_python_module