Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
loadbalancing
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SLMS
loadbalancing
Commits
26238ed9
Commit
26238ed9
authored
Jun 27, 2019
by
Rene Halver
Browse files
Options
Downloads
Patches
Plain Diff
fixed passing of communicator to balancing object
parent
6f38be6c
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#22021
passed
Jun 27, 2019
Stage: build
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/ALL.hpp
+2
-0
2 additions, 0 deletions
include/ALL.hpp
with
2 additions
and
0 deletions
include/ALL.hpp
+
2
−
0
View file @
26238ed9
...
...
@@ -349,6 +349,7 @@ template <class T, class W> void ALL<T,W>::set_communicator(MPI_Comm comm)
if
(
MPI_Topo_test
(
comm
,
&
comm_type
)
==
MPI_CART
)
{
communicator
=
comm
;
balancer
->
set_communicator
(
communicator
);
}
else
{
...
...
@@ -389,6 +390,7 @@ template <class T, class W> void ALL<T,W>::set_communicator(MPI_Comm comm)
// transform temporary communicator to cartesian communicator
MPI_Cart_create
(
temp_comm
,
balancer
->
get_dimension
(),
proc_grid_dim
.
data
(),
periods
.
data
(),
0
,
&
communicator
);
balancer
->
set_communicator
(
communicator
);
}
else
{
...
...
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