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.
This commit is contained in:
Markus Blatt 2018-12-07 15:56:45 +01:00
parent d7d9a3ecd8
commit 84acf3965f

View File

@ -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