From fe68741a68f51065f4ec87933707bda46919d9eb Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Wed, 8 Feb 2023 09:22:55 +0100 Subject: [PATCH] ParallelRestart: use variadic broadcast micro optimization, there is no reason to do this in two operations --- opm/simulators/utils/ParallelRestart.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/opm/simulators/utils/ParallelRestart.cpp b/opm/simulators/utils/ParallelRestart.cpp index bc83c7015..5f2bb88bb 100644 --- a/opm/simulators/utils/ParallelRestart.cpp +++ b/opm/simulators/utils/ParallelRestart.cpp @@ -52,8 +52,7 @@ RestartValue loadParallelRestart(const EclipseIO* eclIO, } EclMpiSerializer ser(comm); - ser.broadcast(restartValues); - ser.broadcast(summaryState); + ser.broadcast(0, restartValues, summaryState); return restartValues; #else (void) comm;