From 12f4499502cdc9021cb8c5bbb11383f6a51d31a8 Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Tue, 27 Nov 2018 19:09:50 +0000 Subject: [PATCH] HDF5 serialiser fix --- Grid/serialisation/Hdf5IO.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Grid/serialisation/Hdf5IO.h b/Grid/serialisation/Hdf5IO.h index 4b783a73..59804240 100644 --- a/Grid/serialisation/Hdf5IO.h +++ b/Grid/serialisation/Hdf5IO.h @@ -126,6 +126,7 @@ namespace Grid H5NS::DataSet dataSet; H5NS::DSetCreatPropList plist; + plist.setChunk(dim.size(), dim.data()); plist.setFletcher32(); dataSet = group_.createDataSet(s, Hdf5Type::type(), dataSpace, plist); dataSet.write(flatx.data(), Hdf5Type::type());