Freigeben über


MPI_Comm_accept-Funktion

Akzeptieren Sie eine Anforderung, um einen neuen Intercommunicator zu bilden.

Syntax

int MPIAPI MPI_Comm_accept(
  _In_  char     *port_name,
        MPI_Info info,
        int      root,
        MPI_Comm comm,
  _Out_ MPI_Comm *newcomm
);

Parameter

  • port_name [in]
    Portname, wird nur für stamm verwendet.

  • info
    Implementierungsabhängige Informationen.

  • root
    Rangfolge in comm des Stammknotens.

  • comm
    Intrakommunikationsperson, über die der Anruf kollektiv ist.

  • newcomm [out]
    Kommunikation mit Dem Client als Remotegruppe.

Rückgabewert

Gibt MPI_SUCCESS nach Erfolg zurück. Andernfalls ist der Rückgabewert ein Fehlercode.

In Fortran wird der Rückgabewert im IERROR-Parameter gespeichert.

Fortran

    MPI_COMM_ACCEPT(PORT_NAME, INFO, ROOT, COMM, NEWCOMM, IERROR)
        CHARACTER*(*) PORT_NAME
        INTEGER INFO, ROOT, COMM, NEWCOMM, IERROR

Anforderungen

Produkt

HPC Pack 2012 MS-MPI Redistributable Package, HPC Pack 2008 R2 MS-MPI Redistributable Package, HPC Pack 2008 MS-MPI Redistributable Package oder HPC Pack 2008 Client Utilities

Header

Mpi.h; Mpif.h

Bibliothek

Msmpi.lib

DLL

Msmpi.dll

Weitere Informationen

MPI-Prozessverwaltungsfunktionen