Skip to content

Conversation

@ax3l
Copy link
Member

@ax3l ax3l commented Jul 8, 2021

In parallel HDF5, attribute writes are all collective.
Also document another PHDF5 constrain with chunking from #916, which is now default-on.

Document for a question in #1021 (comment)

Close #1021

In parallel HDF5, attribute writes are all collective.
@ax3l ax3l force-pushed the doc-makeConstantHDF5Collective branch from 2e0807b to 025e241 Compare July 8, 2021 22:46

E_x.resetDataset( { Datatype::DOUBLE, { mpi_size * 2, 10, 6, 8 } } );

// HDF5 Attribute writes are unfortunately collective
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!
This PR makes it very clear and I think it will prevent other users (like myself in the future) from doing the mistake I was doing (mentioned in #1021 - as part of the replies).

Copy link
Member Author

@ax3l ax3l Jul 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Glad this helps. Yes, the HDF5 attribute limitations are unfortunate, definitely forgot to document the implications on constant record components more clearly :)

@ax3l ax3l merged commit d276b05 into openPMD:dev Jul 9, 2021
@ax3l ax3l deleted the doc-makeConstantHDF5Collective branch July 9, 2021 17:05
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.

H5Tset_size(): size must be positive

2 participants