mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #1003 from blattms/merge-only-created-parallel-files
Only try to merge files from a parallel run if ouptput requested.
This commit is contained in:
@@ -465,7 +465,7 @@ namespace Opm
|
|||||||
// force closing of all log files.
|
// force closing of all log files.
|
||||||
OpmLog::removeAllBackends();
|
OpmLog::removeAllBackends();
|
||||||
|
|
||||||
if( mpi_rank_ != 0 || !must_distribute_ )
|
if( mpi_rank_ != 0 || !must_distribute_ || !output_to_files_ )
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -317,7 +317,7 @@ namespace Opm
|
|||||||
// force closing of all log files.
|
// force closing of all log files.
|
||||||
OpmLog::removeAllBackends();
|
OpmLog::removeAllBackends();
|
||||||
|
|
||||||
if( mpi_rank_ != 0 || !must_distribute_ )
|
if( mpi_rank_ != 0 || !must_distribute_ || !output_to_files_ )
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user