Skip to content

ogs6py: Support OMP_NUM_THREADS on Windows

Max Jäschke requested to merge Max_Jaeschke/ogstools:OMP_NUM_THREADS into main

Support the setting of OMP_NUM_THREADS via ogs.Project(OMP_NUM_THREADS=xx) for Windows

The linux command export did not work on windows --> use the argument env from subprocess.run()to support the setting of environment variables for all platforms

Added a test, which uses the wrapper command of ogs6py.Project.run_model() to test the value of OMP_NUM_THREADS and OGS_ASM_THREADS inside of the same subprocess call.

  1. Feature description was added to the changelog
  2. Tests covering your feature were added?
  3. Any new feature or behaviour change was documented?
  4. API-breaking changes documented here, No change
Edited by Max Jäschke

Merge request reports

Loading