Commit 54d8fc8d authored by Chris Cantwell's avatar Chris Cantwell Committed by Douglas Serson
Browse files

Added missing GetRowComm in AllReduce call.

(cherry picked from commit 832f1200)
parent 791835b4
...@@ -136,7 +136,8 @@ namespace Nektar ...@@ -136,7 +136,8 @@ namespace Nektar
int nGlobDofs = pLocToGloMap->GetNumGlobalCoeffs(); int nGlobDofs = pLocToGloMap->GetNumGlobalCoeffs();
int nDirTotal = nDirDofs; int nDirTotal = nDirDofs;
expList->GetComm()->AllReduce(nDirTotal, LibUtilities::ReduceSum); expList->GetComm()->GetRowComm()
->AllReduce(nDirTotal, LibUtilities::ReduceSum);
Array<OneD, NekDouble> tmp(nGlobDofs), tmp2; Array<OneD, NekDouble> tmp(nGlobDofs), tmp2;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment