Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TensorJoseph
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Camille Coti
TensorJoseph
Commits
5f5644f2
Commit
5f5644f2
authored
5 years ago
by
Camille Coti
Browse files
Options
Downloads
Patches
Plain Diff
Comment about a problematic case
parent
2a2a9c18
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/hierarchical.cpp
+2
-1
2 additions, 1 deletion
src/hierarchical.cpp
with
2 additions
and
1 deletion
src/hierarchical.cpp
+
2
−
1
View file @
5f5644f2
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment