Allow Python bindings to setup MPI

Allows the Python bindings to control whether MPI_Init() and
MPI_Finalize() will be called when creating an OPM::Main object.
This commit is contained in:
Håkon Hægland
2024-05-01 11:04:36 +02:00
parent 9529c18235
commit a1b7d4b5dd
9 changed files with 85 additions and 10 deletions

View File

@@ -20,3 +20,4 @@ class TestBasic(unittest.TestCase):
# has not been initialized
with self.assertRaises(RuntimeError):
sim.get_dt()