Delen via


MPI_Graphdims_get functie

Hiermee haalt u grafiektopologiegegevens op die zijn gekoppeld aan een communicator.

Syntaxis

int MPIAPI MPI_Graphdims_get(
        MPI_Comm comm,
  _Out_ int      *nnodes,
  _Out_ int      *nedges
);

Parameters

  • Comm
    Communicator voor groep met grafiekstructuur.

  • nnodes [uit]
    Aantal knooppunten in grafiek.

  • nedges [uit]
    Aantal randen in grafiek.

Retourwaarde

Retourneert MPI_SUCCESS bij succes. Anders is de retourwaarde een foutcode.

In Fortran wordt de retourwaarde opgeslagen in de parameter IERROR .

Fortran

    MPI_GRAPHDIMS_GET(COMM, NNODES, NEDGES, IERROR)
        INTEGER COMM, NNODES, NEDGES, 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