mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-02 12:36:54 -06:00
Merge pull request #368 from blattms/fix-distribution-parallel-cpr
[bugfix] Use full set of processes to determine whether to redistribute ...
This commit is contained in:
commit
8e95bf9996
@ -266,7 +266,7 @@ try
|
||||
// At this point all properties and state variables are correctly initialized
|
||||
// If there are more than one processors involved, we now repartition the grid
|
||||
// and initilialize new properties and states for it.
|
||||
bool must_distribute = ( grid->comm().size() > 1 );
|
||||
bool must_distribute = ( mpi_helper.size() > 1 );
|
||||
if( must_distribute )
|
||||
{
|
||||
if( param.getDefault("output_matlab", false) || param.getDefault("output_ecl", true) )
|
||||
|
Loading…
Reference in New Issue
Block a user