MPI_Graph_get functie
Haalt grafiektopologiegegevens op die zijn gekoppeld aan een communicator.
Syntaxis
int MPIAPI MPI_Graph_get(
MPI_Comm comm,
int maxindex,
int maxedges,
_Out_cap_(maxindex) int *index,
_Out_cap_(maxindex) int *edges
);
Parameters
Comm
Communicator met grafiekstructuur.maxindex
Lengte van de indexvector in het aanroepende programma.maxedges
Lengte van de randvector in het aanroepende programma.index
Matrix van gehele getallen die de grafiekstructuur bevatten.Randen
Matrix van gehele getallen die de grafiekstructuur bevatten.
Retourwaarde
Retourneert MPI_SUCCESS bij succes. Anders is de retourwaarde een foutcode.
In Fortran wordt de retourwaarde opgeslagen in de parameter IERROR .
Fortran
MPI_GRAPH_GET(COMM, MAXINDEX, MAXEDGES, INDEX, EDGES, IERROR)
INTEGER COMM, MAXINDEX, MAXEDGES, INDEX(*), EDGES(*), IERROR
Vereisten
Product |
HPC Pack 2012 MS-MPI Redistributable Package, HPC Pack 2008 R2 MS-MPI Redistributable Package, HPC Pack 2008 MS-MPI Redistributable Package of HPC Pack 2008 Client Utilities |
Header |
Mpi.h; Mpif.h |
Bibliotheek |
Msmpi.lib |
DLL |
Msmpi.dll |