15.8. I/O Error Classes

PreviousUpNext
Up: I/O Next: Examples Previous: I/O Error Handling

The implementation dependent error codes returned by the I/O routines can be converted into the error classes defined in Table 16.

In addition, calls to routines in this chapter may raise errors in other MPI classes, such as MPI_ERR_TYPE.


Table 16: I/O error classes

MPI_ERR_FILE Invalid file handle

MPI_ERR_NOT_SAME

Collective argument not identical on all processes, or collective routines called in a different order by different processes

MPI_ERR_AMODE

Error related to the amode passed to MPI_FILE_OPEN

MPI_ERR_UNSUPPORTED_DATAREP

Unsupported datarep passed to MPI_FILE_SET_VIEW

MPI_ERR_UNSUPPORTED_OPERATION

Unsupported operation, such as seeking on a file that supports sequential access only

MPI_ERR_NO_SUCH_FILE

File does not exist

MPI_ERR_FILE_EXISTS

File exists

MPI_ERR_BAD_FILE

Invalid file name (e.g., path name too long)

MPI_ERR_ACCESS

Permission denied

MPI_ERR_NO_SPACE

Not enough space

MPI_ERR_QUOTA

Quota exceeded

MPI_ERR_READ_ONLY

Read-only file or file system

MPI_ERR_FILE_IN_USE

File operation could not be completed, as the file is currently open by some process

MPI_ERR_DUP_DATAREP

Conversion functions could not be registered because a data representation identifier that was already defined was passed to MPI_REGISTER_DATAREP

MPI_ERR_CONVERSION

An error occurred in a user supplied data conversion function.

MPI_ERR_IO

Other I/O error


PreviousUpNext
Up: I/O Next: Examples Previous: I/O Error Handling


Return to MPI-4.1 Standard Index
Return to MPI Forum Home Page

(Unofficial) MPI-4.1 of November 2, 2023
HTML Generated on November 19, 2023