Commit 5f5644f2 authored by Camille Coti's avatar Camille Coti
Browse files

Comment about a problematic case

parent 2a2a9c18
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment