Problem
The scalability of MPI_Graph_create() is limited due to the global nature of its arguments. We should deprecate it.
Proposal
Deprecate the following:
int MPI_Graph_create (MPI_Comm comm_old, int nnodes, const int index[],
const int edges[], int reorder, MPI_Comm *comm_graph);
int MPI_Graphdims_get(MPI_Comm comm, int *nnodes, int *nedges);
int MPI_Graph_get(MPI_Comm comm, int maxindex, int maxedges, int index[],
int edges[]);
int MPI_Graph_neighbors_count(MPI_Comm comm, int rank, int *nneighbors);
int MPI_Graph_neighbors(MPI_Comm comm, int rank, int maxneighbors, int neighbors[]);
int MPI_Graph_map(MPI_Comm comm, int nnodes, const int index[], const int edges[], int *newrank);
MPI_GRAPH
Changes to the Text
Add MPI_Graph_create() and associated functions to the deprecated interfaces. It would also be worthwhile to add examples of how to convert from using MPI_Graph to MPI_Dist_graph.
Impact on Implementations
None. Just marking them as deprecated for now.
Impact on Users
Update code to MPI_Dist_graph_create() and associated functions instead.
References
PR: https://github.com/mpi-forum/mpi-standard/pull/37
Insert any internal (other issues) or external (websites, papers, etc.) references here.
Problem
The scalability of
MPI_Graph_create()is limited due to the global nature of its arguments. We should deprecate it.Proposal
Deprecate the following:
Changes to the Text
Add
MPI_Graph_create()and associated functions to the deprecated interfaces. It would also be worthwhile to add examples of how to convert from using MPI_Graph to MPI_Dist_graph.Impact on Implementations
None. Just marking them as deprecated for now.
Impact on Users
Update code to
MPI_Dist_graph_create()and associated functions instead.References
PR: https://github.com/mpi-forum/mpi-standard/pull/37
Insert any internal (other issues) or external (websites, papers, etc.) references here.