Skip to content

ADIOS2 IO Handler: Fix data structure initialization order upon createFile/openFile#1847

Merged
franzpoeschel merged 2 commits intoopenPMD:devfrom
franzpoeschel:fix-adios2-initialization-order
Feb 13, 2026
Merged

ADIOS2 IO Handler: Fix data structure initialization order upon createFile/openFile#1847
franzpoeschel merged 2 commits intoopenPMD:devfrom
franzpoeschel:fix-adios2-initialization-order

Conversation

@franzpoeschel
Copy link
Contributor

@franzpoeschel franzpoeschel commented Feb 13, 2026

Currently, if the ADIOS2 file cannot be opened for whatever reason, we have it already emplaced into the IO Handler's records. This leads to unexpected states where the IO Handler references files that do not exist, and hence to weird error messages.

TODO:

  • Check other file opening procedures for similar behavior

@franzpoeschel franzpoeschel changed the title ADIOS2 IO Handler: Fix data structure initialization order upon createFile ADIOS2 IO Handler: Fix data structure initialization order upon createFile/openFile Feb 13, 2026
@franzpoeschel franzpoeschel merged commit d52bb8a into openPMD:dev Feb 13, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant