diff --git a/Grid/stencil/Stencil.h b/Grid/stencil/Stencil.h index b361a19d..37b866cb 100644 --- a/Grid/stencil/Stencil.h +++ b/Grid/stencil/Stencil.h @@ -1233,7 +1233,7 @@ public: }; void Report(void) { -#define AVERAGE(A) _grid->GlobalSum(A);A/=NP; +#define AVERAGE(A) #define PRINTIT(A) AVERAGE(A); std::cout << GridLogMessage << " Stencil " << #A << " "<< A/calls<_Nprocessors; RealD NN = _grid->NodeCount(); @@ -1281,11 +1281,13 @@ public: std::cout << GridLogMessage << " Stencil SHM mem " << (membytes)/gatheralltime/1000. << " GB/s per rank"<