mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Only collect to globalData for mpi
This commit is contained in:
parent
1969c3711d
commit
abd3271f1c
@ -148,7 +148,8 @@ public:
|
|||||||
// collect all data to I/O rank and assign to sol
|
// collect all data to I/O rank and assign to sol
|
||||||
Opm::data::Solution localCellData = fip;
|
Opm::data::Solution localCellData = fip;
|
||||||
eclOutputModule_.assignToSolution(localCellData);
|
eclOutputModule_.assignToSolution(localCellData);
|
||||||
collectToIORank_.collect(localCellData);
|
if (collectToIORank_.isParallel())
|
||||||
|
collectToIORank_.collect(localCellData);
|
||||||
|
|
||||||
// write output on I/O rank
|
// write output on I/O rank
|
||||||
if (collectToIORank_.isIORank()) {
|
if (collectToIORank_.isIORank()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user