Manual Pages for UNIX Darwin command on man MPI_File_delete
MyWebUniversity

Manual Pages for UNIX Darwin command on man MPI_File_delete

MPIFiledelete(3OpenMPI) MPIFiledelete(3OpenMPI)

NAME

MMPPIIFFiilleeddeelleettee - Deletes a file.

SSYYNNTTAAXX C Syntax

#include

int MPIFiledelete(char *filename, MPIInfo info) Fortran Syntax INCLUDE 'mpif.h'

MPIFILEDELETE(FILENAME, INFO, IERROR)

CHARACTER*(*) FILENAME

INTEGER INFO, IERROR

CC++++ SSyynnttaaxx

#include

static void MPI::File::Delete(const char* filename, const MPI::Info& info) IINNPPUUTT PPAARRAAMMEETTEERRSS filename Name of file to delete (string). info Info object (handle). OOUUTTPPUUTT PPAARRAAMMEETTEERR

IERROR Fortran only: Error status (integer).

DESCRIPTION

MPIFiledelete deletes the file identified by the file name filename, provided it is not currently open by any process. It is an error to delete the file with MPIFiledelete if some process has it open, but MPIFiledelete does not check this. If the file does not exist, MPIFiledelete returns an error in the class MPIERRNOSUCHFILE. EERRRROORRSS Almost all MPI routines return an error value; C routines as the value

of the function and Fortran routines in the last argument. C++ func-

tions do not return errors. If the default error handler is set to

MPI::ERRORSTHROWEXCEPTIONS, then on error the C++ exception mechanism

will be used to throw an MPI:Exception object. Before the error value is returned, the current MPI error handler is called. For MPI I/O function errors, the default error handler is set

to MPIERRORSRETURN. The error handler may be changed with

MPIFileseterrhandler; the predefined error handler

MPIERRORSAREFATAL may be used to make I/O errors fatal. Note that

MPI does not guarantee that an MPI program can continue past an error. Open MPI 1.2 September 2006 MPIFiledelete(3OpenMPI)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™