mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-12 17:02:02 -05:00
Only collect to globalData for mpi
This commit is contained in:
1 parent
1969c3711d
commit
abd3271f1c
1 file changed
+2
-1
+2
-1
@@ -148,7 +148,8 @@ public:
|
||||
// collect all data to I/O rank and assign to sol
|
||||
Opm::data::Solution localCellData = fip;
|
||||
eclOutputModule_.assignToSolution(localCellData);
|
||||
collectToIORank_.collect(localCellData);
|
||||
if (collectToIORank_.isParallel())
|
||||
collectToIORank_.collect(localCellData);
|
||||
|
||||
// write output on I/O rank
|
||||
if (collectToIORank_.isIORank()) {
|
||||
|
||||
Reference in new issue
Block a user