From 95f3d69cf9e03b804ab0bceb6c1a45df602ebf4e Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Tue, 12 Mar 2024 20:09:37 +0000 Subject: [PATCH] Extra hardware test hook --- Grid/lattice/Lattice_reduction.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Grid/lattice/Lattice_reduction.h b/Grid/lattice/Lattice_reduction.h index 1e03fad6..ad9d9942 100644 --- a/Grid/lattice/Lattice_reduction.h +++ b/Grid/lattice/Lattice_reduction.h @@ -286,9 +286,10 @@ template inline ComplexD innerProduct(const Lattice &left,const Lattice &right) { GridBase *grid = left.Grid(); ComplexD nrm = rankInnerProduct(left,right); - // GridNormLog(real(nrm)); // Could log before and after global sum to distinguish local and MPI + RealD local = real(nrm); + GridNormLog(real(nrm)); // Could log before and after global sum to distinguish local and MPI grid->GlobalSum(nrm); - // GridNormLog(real(nrm)); + GridMPINormLog(local,real(nrm)); return nrm; }