From 73ec2d8182a80728da61e708ec5a4ca65f6ce972 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Mon, 27 Apr 2020 11:06:17 -0400 Subject: [PATCH] fix typo in MPI_Allreduce call. --- src/domain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/domain.cpp b/src/domain.cpp index 909d05950e..e1a9744fde 100644 --- a/src/domain.cpp +++ b/src/domain.cpp @@ -1905,7 +1905,7 @@ void Domain::set_boundary(int narg, char **arg, int flag) (((imageint) (zbox + IMGMAX) & IMGMASK) << IMG2BITS); } int flag_all; - MPI_Allreduce(&flag,&flag_all, MPI_INT, 1, MPI_SUM, world); + MPI_Allreduce(&flag,&flag_all, 1, MPI_INT, MPI_SUM, world); if ((flag_all > 0) && (comm->me == 0)) error->warning(FLERR,"Reset image flags for non-periodic boundary"); }