From 5f5644f22e2b1826203b65b146fc0fabb63df2ae Mon Sep 17 00:00:00 2001
From: Camille Coti <camille.coti@lipn.univ-paris13.fr>
Date: Wed, 31 Jul 2019 18:15:36 -0700
Subject: [PATCH] Comment about a problematic case

---
 src/hierarchical.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/hierarchical.cpp b/src/hierarchical.cpp
index f6f2ca1..0b310b5 100644
--- a/src/hierarchical.cpp
+++ b/src/hierarchical.cpp
@@ -38,7 +38,8 @@ void create_communicators_hierarch( MPI_Comm& COMM_FOREMEN, MPI_Comm& COMM_TEAM
     MPI_Comm_split( MPI_COMM_WORLD, color_foreman, rank, &COMM_FOREMEN );
 
     /* Create the communicator between the workers and their foreman */
-
+    /* There is one problematic case here: when the last foreman ends up alone in its communicator */
+    
     int color_team;
     if( ROOT == rank ) {
         color_team = 0;
-- 
GitLab