You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That will initialize load balancer `slb` with range from lower bound (`1`) to upper bound (`100`) and with min (`2`) and max (`4`) chunk sizes which are optional which will work on communicator `comm`.
20
+
That will initialize load balancer `slb` with range from lower bound (`1`) to upper bound (`100`) and with min (`2`) and max (`4`) chunk sizes which are optional which will work on communicator `mpi_comm`.
21
21
Simpler initialization is also possible with default min and max chuck sizes:
22
22
```cpp
23
-
StaticLoadBalancer slb(MPI_COMM_WORLD, 1, 100);
23
+
StaticLoadBalancer slb(mpi_comm, 1, 100);
24
24
```
25
25
This is a barrier for the whole communicator.
26
26
@@ -39,7 +39,7 @@ Internally, it uses RAII, so it most of cases you do not think about destructing
39
39
For `Runtime` load balancer, a proper load balancer must be specified via first argument during initialization:
0 commit comments