Skip to content

Add topology constructors with info hints #1

@hjelmn

Description

@hjelmn

I don't know if this is the right working group for this. I can move the issue if there is a better WG to begin this discussion.

Problem

There is not currently a way to specify info hints during the construction of a topology communicator. I am interested in working on changing some aspects of topology communicators. Since these changes will break backwards compatibility I would prefer to have the user opt-in to the changes by specifying info keys at topology construction. This is not currently possible for either cartesian or graph topologies.

Proposal

Add new routines:

int MPI_Cart_create_with_info (MPI_Comm comm_old, int ndims, const int dims[],
const int periods[], int reorder, MPI_Info info, MPI_Comm *comm_cart);

int MPI_Graph_create_with_info (MPI_Comm comm_old, int nnodes, const int index[],
const int edges[], int reorder, MPI_Info info, MPI_Comm *comm_graph);

No changes are needed for MPI_Dist_graph_create() as info is already an argument.

Changes to the Text

Add new variations of the cartesian and graph constructors to chapter 7.

Impact on Implementations

Implementations would be required to provide the new routines. They can trivially do this by ignoring the info parameter and call the original functions.

Impact on Users

None. Users would need to opt-in by using the new routines.

References

Insert any internal (other issues) or external (websites, papers, etc.) references here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions