![]() |
fpmas 1.6
|
#include <zoltan_load_balancing.h>
api::load_balancing::FixedVerticesLoadBalancing implementation based on the Zoltan library.
|
inline |
ZoltanLoadBalancing constructor.
comm | MpiCommunicator implementation |
|
inline |
ZoltanLoadBalancing constructor.
10*lb_period
is used as the Zoltan PHG_REPART_MULTIPLIER value.
comm | MpiCommunicator implementation |
lb_period | Number of iterations between each load balancing (used as a Zoltan algorithm parameter, does not need to correspond to the actual load balancing period) |
|
inline |
ZoltanLoadBalancing constructor.
10*lb_period
is used as the Zoltan PHG_REPART_MULTIPLIER value.
comm | MpiCommunicator implementation |
lb_period | Number of iterations between each load balancing (used as a Zoltan algorithm parameter, does not need to correspond to the actual load balancing period) |
imbalance_tol | Acceptable imbalance tolerance, computed as the maximum load divided by the average load. |
|
override |
Implements fpmas::api::graph::LoadBalancing
|
override |
Computes a node partition from the input nodes, assigning a fixed rank to nodes specified in the fixed vertices map.
This functions is synchronous and blocks until all processes call it.
Each process calls the functions with its own node map, so that the global set of nodes to balance correspond to the union of all the local node maps specified as arguments.
Fixed vertices are assumed to be consistent across processes, behavior is undefined otherwise.
nodes | local nodes to balance |
fixed_vertices | fixed vertices map |
partition_mode | partitioning strategy |
|
override |
Implements fpmas::api::graph::LoadBalancing
|
override |
Computes a node partition from the input nodes.
This functions is synchronous and blocks until all processes call it.
Each process calls the functions with its own node map, so that the global set of nodes to balance corresponds to the union of all the local node maps specified as arguments.
nodes | local nodes to balance |
partition_mode | partitioning strategy |