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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8-2
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,18 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## Unreleased
9
+
10
+
### Added
11
+
12
+
- Function `partition_from_color`.
13
+
8
14
## [0.3.3] - 2023-08-09
9
15
10
16
### Added
11
17
12
-
-Added an MPI ibarrier-based (supposedly scalable) algorithm to find rcv neighbours in a sparse all-to-all communication graph given the snd neighbors. We left the previous non-scalable algorithm as default (based on gather-scatter) until we have experimental evidence on the relative performance and scalability of the former with respect to the latter and for which core ranges.
13
-
-Added a new kwarg `discover_cols=true` to the `psparse!` constructor, which allows the user to skip column index discovery.
18
+
- MPI ibarrier-based (supposedly scalable) algorithm to find rcv neighbours in a sparse all-to-all communication graph given the snd neighbors. We left the previous non-scalable algorithm as default (based on gather-scatter) until we have experimental evidence on the relative performance and scalability of the former with respect to the latter and for which core ranges.
19
+
-New kwarg `discover_cols=true` to the `psparse!` constructor, which allows the user to skip column index discovery.
Build an arbitrary 1d partition by defining the parts via the argument `global_to_color` (see below).
703
+
The output is a vector of vectors containing the indices in each component of
704
+
the partition. The `eltype` of the result implements the [`AbstractLocalIndices`](@ref)
705
+
interface.
706
+
707
+
# Arguments
708
+
709
+
- `ranks`: Array containing the distribution of ranks.
710
+
- `global_to_color`: If `multicast==false`, `global_to_color[gid]` contains the part id that owns the global id `gid`. If `multicast==true`, then `global_to_color[source][gid]` contains the part id that owns the global id `gid`.
711
+
712
+
# Key-word arguments
713
+
- `multicast=false`
714
+
- `source=MAIN`
715
+
716
+
This function is useful when generating a partition using a graph partitioner such as METIS.
717
+
The argument `global_to_color` is the usual output of such tools.
0 commit comments