From 52abfc04956c05e048e5ce4e4ee57f6abd00c909 Mon Sep 17 00:00:00 2001 From: Gamelin Alexis <alexis.gamelin@synchrotron-soleil.fr> Date: Fri, 7 Jan 2022 15:20:08 +0100 Subject: [PATCH] Change HDF5 setting in Monitor class libver='earliest' allow for better backward compatibility when switching HDF5 versions. --- tracking/monitors/monitors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tracking/monitors/monitors.py b/tracking/monitors/monitors.py index a543fdf..5aa58a3 100644 --- a/tracking/monitors/monitors.py +++ b/tracking/monitors/monitors.py @@ -125,10 +125,10 @@ class Monitor(Element, metaclass=ABCMeta): if len(self._file_storage) == 0: if mpi_mode == True: from mpi4py import MPI - f = hp.File(self.file_name, "w", libver='latest', + f = hp.File(self.file_name, "w", libver='earliest', driver='mpio', comm=MPI.COMM_WORLD) else: - f = hp.File(self.file_name, "w", libver='latest') + f = hp.File(self.file_name, "w", libver='earliest') self._file_storage.append(f) else: raise ValueError("File is already open.") -- GitLab