Delen via


MPI_File_set_atomicity functie

Hiermee stelt u de atomiciteitsmodus in.

Syntaxis

int MPIAPI MPI_File_set_atomicity(
   MPI_File file,
   int      flag
);

Parameters

  • Bestand
    Bestandsingang.

  • Vlag
    Waar om de atomische modus in te stellen, onwaar om de niet-atomische modus in te stellen.

Retourwaarde

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

In Fortran wordt de retourwaarde opgeslagen in de parameter IERROR .

Fortran

    MPI_FILE_SET_ATOMICITY(FH, FLAG, IERROR)
        INTEGER FH, IERROR
        LOGICAL FLAG

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-bestandsfuncties