diff --git a/fluidsim/base/output/base.py b/fluidsim/base/output/base.py
index f28d9b535b392f12db5493d703687fd2eb4bdf20_Zmx1aWRzaW0vYmFzZS9vdXRwdXQvYmFzZS5weQ==..e82397808c9560881ae31d6003f6ccaee706f21f_Zmx1aWRzaW0vYmFzZS9vdXRwdXQvYmFzZS5weQ== 100644
--- a/fluidsim/base/output/base.py
+++ b/fluidsim/base/output/base.py
@@ -344,20 +344,8 @@
 
     def _save_info_solver_params_xml(self, replace=False):
         """Save files with information on the solver and on the run."""
-        comment = (
-            "This file has been created by"
-            " the Python program FluidDyn "
-            + fluiddyn.__version__
-            + " and FluidSim "
-            + fluidsim.get_local_version()
-            + ".\n\nIt should not be modified "
-            "(except for adding xml comments)."
-        )
-        info_solver_xml_path = self.path_run + "/info_solver.xml"
-        params_xml_path = self.path_run + "/params_simul.xml"
-
         if (
             mpi.rank == 0
             and self._has_to_save
             and self.sim.params.NEW_DIR_RESULTS
         ):
@@ -359,8 +347,20 @@
         if (
             mpi.rank == 0
             and self._has_to_save
             and self.sim.params.NEW_DIR_RESULTS
         ):
+            comment = (
+                "This file has been created by"
+                " the Python program FluidDyn "
+                + fluiddyn.__version__
+                + " and FluidSim "
+                + fluidsim.get_local_version()
+                + ".\n\nIt should not be modified "
+                "(except for adding xml comments)."
+            )
+            info_solver_xml_path = self.path_run + "/info_solver.xml"
+            params_xml_path = self.path_run + "/params_simul.xml"
+
             # save info on the run
             if replace:
                 os.remove(info_solver_xml_path)