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:
Atgeirr Flø Rasmussen 2015-04-30 14:23:28 +02:00
commit 8e95bf9996

View File

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