Skip to content
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

Include check for paged allocation #1133

Merged
merged 2 commits into from
Oct 29, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Include check for paged allocation
  • Loading branch information
jeanbez committed Oct 29, 2021
commit 0a2de54f1a6f466284f0cedd57be5ca52bc5665a
2 changes: 2 additions & 0 deletions src/IO/HDF5/ParallelHDF5IOHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ ParallelHDF5IOHandlerImpl::ParallelHDF5IOHandlerImpl(
hsize_t page_size;
tstream >> page_size;

#if H5_VERSION_GE(1,10,1)
ax3l marked this conversation as resolved.
Show resolved Hide resolved
H5Pset_file_space_strategy(m_fileCreateProperty, H5F_FSPACE_STRATEGY_PAGE, 0, (hsize_t)0);
H5Pset_file_space_page_size(m_fileCreateProperty, page_size);
#endif
}

auto const hdf5_defer_metadata = auxiliary::getEnvString( "OPENPMD_HDF5_DEFER_METADATA", "ON" );
Expand Down