From 84acf3965f5374c620a1a7b7e57da8ac4be61972 Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Fri, 7 Dec 2018 15:56:45 +0100 Subject: [PATCH] Do not log messages during getWriteRestartFile query on all procs. Previously all processes reported Warning: Fast restart using SAVE is not supported. Standard restart file is written instead. Now this is done only on the master process where logging is activated. --- ebos/ecloutputblackoilmodule.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ebos/ecloutputblackoilmodule.hh b/ebos/ecloutputblackoilmodule.hh index eaec47880..4c1f66deb 100644 --- a/ebos/ecloutputblackoilmodule.hh +++ b/ebos/ecloutputblackoilmodule.hh @@ -217,7 +217,7 @@ public: } // Only provide restart on restart steps - if (!restartConfig.getWriteRestartFile(reportStepNum) || substep) + if (!restartConfig.getWriteRestartFile(reportStepNum, log) || substep) return; // always output saturation of active phases