Delen via


MPI_Graph_neighbors_count functie

Retourneert het aantal buren van een knooppunt dat is gekoppeld aan een grafiektopologie.

Syntaxis

int MPIAPI MPI_Graph_neighbors_count(
        MPI_Comm comm,
        int      rank,
  _Out_ int      *nneighbors
);

Parameters

  • Comm
    Communicator met grafiektopologie.

  • Rang
    Rang van proces in groep van comm.

  • nneighbors [uit]
    Aantal buren van het opgegeven proces.

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_NEIGHBORS_COUNT(COMM, RANK, NNEIGHBORS, IERROR)
        INTEGER COMM, RANK, NNEIGHBORS, 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

Zie ook

MpI-procestopologiefuncties