-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added env option OPENPMD_HDF5_ALIGNMENT #830
Conversation
Let's also document this in the table in Do you think we can add a reasonable default for this? [1]
On Cori [2] the recommendation seems to be to align to Lustre stripes. |
I saw. that you changed the documentation. My suggestion is that by default this option shall not be setup, and let HDF5 deal with its default behavior. The two known cases to spell out this option are: Does it sound clear? I can make the change in the doc, or you can do it. |
Thanks for taking a look!
Agreed:
The logic does not set it up by default now either (see Feel free to push to the PR once more to change it though. |
I meant no need for openPMD-api to set it again. It would make sense to set a default if this function will always to called by openPMD-api with a specific value (other than 1).
OK, will update doc |
I think we can also safely increase the alignment sizes to at least 4MB, I used quite large numbers in the past to match the filesystem block size and also increase the collective buffer sizes to few 100MB: ComputationalRadiationPhysics/libSplash#108 |
Added env option
OPENPMD_HDF5_ALIGNMENT
, when assigned to a positive<bytes>
,the
H5Pset_alignment(m_fileAccessProperty, 0, bytes)
will be called for Parallel HDF5 calls.