Delen via


MPI_Buffer_attach functie

Hiermee wordt een door de gebruiker opgegeven buffer voor verzending gekoppeld

Syntaxis

int
MPIAPI MPI_Buffer_attach(
  _In_ void *buffer,
       int  size
);

Parameters

  • buffer [in]
    Initiƫle bufferadres.

  • Grootte
    Buffergrootte in bytes.

Retourwaarde

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

In Fortran wordt de retourwaarde opgeslagen in de parameter IERROR .

Fortran

    MPI_BUFFER_ATTACH(BUFFER, SIZE, IERROR)
        <type> BUFFER(*)
        INTEGER SIZE, 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 Diverse functies