jorgensd / adios4dolfinx

Extending DOLFINx with checkpointing functionality
http://jsdokken.com/adios4dolfinx/
MIT License
20 stars 7 forks source link

adios2<2.10 Python bindings are a direct dependency #132

Closed jhale closed 3 months ago

jhale commented 3 months ago

adios4dolfinx interacts directly with adios2's Python bindings, and only works with the <2.10 API.

jorgensd commented 3 months ago

There is handling of the 2.10 API as well, and it is tested against 2.10 at: https://github.com/jorgensd/adios4dolfinx/actions/runs/9953010172/job/27495778733 See: https://github.com/jorgensd/adios4dolfinx/blob/main/src/adios4dolfinx/adios2_helpers.py#L18

jhale commented 3 months ago

My mistake - I had built ADIOS2 without MPI which leads to this error.

jorgensd commented 3 months ago

My mistake - I had built ADIOS2 without MPI which leads to this error.

it would be nice if instead of changing the API, one would have a dummy MPI implementation that does no communication, such as https://github.com/scivision/mpi_stubs