From 0b6f7e25017d5ae404704c58f455538ee37168e1 Mon Sep 17 00:00:00 2001 From: Matthieu Schaller Date: Sun, 30 May 2021 00:20:52 +0200 Subject: [PATCH] Add md5sum filter to the outputs of the SWIFT plugin --- include/HDF_IO.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/HDF_IO.hh b/include/HDF_IO.hh index 16946d8..4537571 100755 --- a/include/HDF_IO.hh +++ b/include/HDF_IO.hh @@ -943,8 +943,8 @@ inline void HDFCreateEmptyDatasetVector( const std::string Filename, const std:: if (filter) { - // 1MB chunking - hsize_t HDF_Dims[2] = {1024 * 1024 / sizeof(T), 3}; + // ~1MB chunking + hsize_t HDF_Dims[2] = {256 * 1024 / sizeof(T), 3}; H5Pset_chunk(HDF_Prop, 2, HDF_Dims); // md5 checksum