MPI_Graph_map functie
Hiermee wordt proces toegewezen aan grafiektopologiegegevens.
Syntaxis
int MPIAPI MPI_Graph_map(
MPI_Comm comm,
int nnodes,
_In_count_(nnodes) int *index,
_In_ int *edges,
_Out_ int *newrank
);
Parameters
Comm
Invoercommunicator.nnodes
Aantal grafiekknooppunten.index
Matrix met gehele getallen die de grafiekstructuur aangeeft.randen [in]
Matrix met gehele getallen die de grafiekstructuur aangeeft.newrank [uit]
Rangschikking van het oproepproces opnieuw gerangschikt; MPI_UNDEFINED als het aanroepende proces niet tot grafiek behoort.
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_MAP(COMM, NNODES, INDEX, EDGES, NEWRANK, IERROR)
INTEGER COMM, NNODES, INDEX(*), EDGES(*), NEWRANK, 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 |