From 8c8473998df2ae7beb22d9bd188e6f6cadd7d5d9 Mon Sep 17 00:00:00 2001 From: paboyle Date: Tue, 21 Mar 2017 22:29:51 -0400 Subject: [PATCH] Average over whole cluster the comm time. --- lib/stencil/Stencil.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/stencil/Stencil.h b/lib/stencil/Stencil.h index d833c53b..479cd979 100644 --- a/lib/stencil/Stencil.h +++ b/lib/stencil/Stencil.h @@ -388,6 +388,7 @@ class CartesianStencil { // Stencil runs along coordinate axes only; NO diagonal RealD NP = _grid->_Nprocessors; RealD NN = _grid->NodeCount(); + _grid->GlobalSum(commtime); commtime/=NP; if ( calls > 0. ) { std::cout << GridLogMessage << " Stencil calls "<