# 9.8. I/O Error Classes

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 following error classes. In addition, calls to routines in this chapter may raise errors in other MPI classes, such as MPI_ERR_TYPE.

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

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

Return to MPI-2 Standard Index
Return to MPI 1.1 Standard Index
Return to MPI Forum Home Page

MPI-2.0 of July 18, 1997
HTML Generated on September 10, 2001