MPI_File_delete - Deletes a file
SYNOPSIS
C:
#include "mpi.h"
int MPI_File_delete(char *filename, MPI_Info info)
Fortran:
INCLUDE "mpif.h" (or USE MPI)
CHARACTER*(*) filename
INTEGER info, ierror
CALL MPI_FILE_DELETE (filename, info, ierror)
DESCRIPTION
MPI_File_delete deletes the file identified by filename.
If the file does not exist, MPI_File_delete raises an
error in the MPI_ERR_NO_SUCH_FILE class.
You can use the info argument to provide information
regarding file system specifics. The constant,
MPI_INFO_NULL, refers to null information, and can be used
when no information is required.
If a process currently has the file open, the behavior of
any access to the file (as well as the behavior of any
outstanding accesses) is implementation dependent. In
addition, whether an open file is deleted is also
implementation dependent. If the file is not deleted, an
error in the MPI_ERR_FILE_IN_USE or MPI_ERR_ACCESS class
will be raised. The default error handler is used to
raise errors.
This routine accepts the following arguments:
filename Specifies the name of the file to delete
(string)
info Specifies the information object (handle)
ierror Specifies the return code value for
successful completion, which is in
MPI_SUCCESS. MPI_SUCCESS is defined in the
mpif.h file.
Notes for Fortran
All MPI objects (for example, MPI_Datatype, MPI_Comm,
SEE ALSO
MPI_File_open(3), MPI_IO(3)
Man(1) output converted with
man2html