Delen via


MPI_Op_create functie

Hiermee maakt u een door de gebruiker gedefinieerde combinatiefunctie-ingang.

Syntaxis

int MPIAPI MPI_Op_create(
  _In_  MPI_User_function *function,
        int               commute,
  _Out_ MPI_Op            *op
);

Parameters

  • functie [in]
    Door de gebruiker gedefinieerde functie.

  • reis
    Waar indien commutatief, anders onwaar.

  • op [uit]
    Bewerkingsobject.

Retourwaarde

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

In Fortran wordt de retourwaarde opgeslagen in de parameter IERROR .

Fortran

    MPI_OP_CREATE( USER_FN, COMMUTE, OP, IERROR)
        EXTERNAL USER_FN
        LOGICAL COMMUTE
        INTEGER OP, 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

Mpif.h; Mpi.h

Bibliotheek

Msmpi.lib

DLL

Msmpi.dll

Zie ook

Collectieve MPI-functies

MPI_User_function