From d6bf833516bfcc30656c961c54bdfd2daf3185b9 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Fri, 18 May 2018 19:08:52 +0200 Subject: [PATCH] Clarify which MPI_Comm is referred to in a comment --- source/base/process_grid.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/base/process_grid.cc b/source/base/process_grid.cc index f75596fe17..dfd36e5955 100644 --- a/source/base/process_grid.cc +++ b/source/base/process_grid.cc @@ -168,8 +168,10 @@ namespace Utilities &inactive_with_root_group); AssertThrowMPI(ierr); - // Create the communicator based on the group - // Note that on most cores the communicator will be MPI_COMM_NULL. + // Create the communicator based on inactive_with_root_group. + // Note that on all the active MPI processes (except for the one with + // rank 0) the resulting MPI_Comm mpi_communicator_inactive_with_root + // will be MPI_COMM_NULL. ierr = Utilities::MPI::create_group(mpi_communicator, inactive_with_root_group, 55, &mpi_communicator_inactive_with_root); AssertThrowMPI(ierr); -- 2.39.5