MPI_File_open functie
Hiermee opent u een bestand.
Syntaxis
int MPIAPI MPI_File_open(
MPI_Comm comm,
_In_ char *filename,
int amode,
MPI_Info info,
_Out_ MPI_File *newfile
);
Parameters
Comm
Communicator.bestandsnaam [in]
Naam van bestand dat moet worden geopend.amode
Modus voor bestandstoegang.Info
Infoobject.newfile [out]
Bestandsingang.
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_OPEN(COMM, FILENAME, AMODE, INFO, FH, IERROR)
CHARACTER*(*) FILENAME
INTEGER COMM, AMODE, INFO, FH, 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 |