Parallel HDF5: Try fixing strict collective requirements of HDF5 >= 2.0#1862
Draft
franzpoeschel wants to merge 91 commits intoopenPMD:devfrom
Draft
Parallel HDF5: Try fixing strict collective requirements of HDF5 >= 2.0#1862franzpoeschel wants to merge 91 commits intoopenPMD:devfrom
franzpoeschel wants to merge 91 commits intoopenPMD:devfrom
Conversation
This was referenced Mar 11, 2026
11ba7aa to
b6ea4b4
Compare
This was referenced Mar 13, 2026
Merged
a5c1985 to
bcb55ef
Compare
| { | ||
| template <typename T, typename RecordType> | ||
| PostProcessConvertedAttributeImpl<T, RecordType>:: | ||
| PostProcessConvertedAttributeImpl(RecordType record_in, handler_t reader_in) |
Check notice
Code scanning / CodeQL
Large object passed by value Note
Comment on lines
+698
to
+701
| REQUIRE(r.numAttributes() == 0); | ||
| // TODO: unitSI | ||
| // REQUIRE(r["x"].numAttributes() == 0); | ||
| // REQUIRE(r["y"].numAttributes() == 0); |
Check notice
Code scanning / CodeQL
Commented-out code Note test
This makes it easier to keep MPI processes in sync
These were unnecessary, but they snuck WRITE_ATT tasks into the skeleton flush.
not so great, but lets keep that for now
This reverts commit 6a5c9f5.
48b4c2a to
07fb558
Compare
There was a problem hiding this comment.
CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It seems that HDF5 has become quite a bit pickier about metadata definitions in parallel setups with versions 2.0 and 2.1, leading to hangups.
Earlier, it was enough to define them consistently across ranks, now we apparently have to keep the exact same order of operations.
This is bad for the Span API which runs internal flushes for structure setup.
resetDataset()flushParticlesPathandflushMeshesPathfunctions, these unnecessarily leaked attribute flushes into the structure setup