Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709560 - sys-cluster/rankstr - Split an MPI communicator into subcomms based on string values
Summary: sys-cluster/rankstr - Split an MPI communicator into subcomms based on string...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Default Assignee for New Packages
URL: https://github.com/ECP-VeloC/rankstr
Whiteboard:
Keywords: InOverlay, PullRequest
Depends on:
Blocks: 709564
  Show dependency tree
 
Reported: 2020-02-14 02:58 UTC by Alessandro Barbieri
Modified: 2020-11-07 12:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2020-02-14 02:58:12 UTC
LICENSE: MIT

The rankstr (rank string) library provides functions that identify unique strings across an MPI communicator.

A key use case is to split a communicator into subcommunicators such that all processes in a resulting subcommunicator consist of those processes that provided an identical input string. rankstr_mpi_comm_split is a function like MPI_Comm_split, but it takes a variable-length string as the color argument insead of an integer value.

The rankstr_mpi function does not output a communicator, but instead returns a unique integer for each unique string.

For scalability, the implementation uses a distributed, bitonic sort via point-to-point messages over the input communicator to compare string values. The caller must provide two distinct tag values that are safe for the function to use for its point-to-point messages.