Commit e68b5459 authored by David Goodell's avatar David Goodell
Browse files

[svn-r10636] make ROMIO error class be consistent with PE MPI

When opening file with inconsistent "amode"s.

Contributed by IBM.  Based on patch 0007 from code discussions.
parent 4f4b1087
......@@ -116,7 +116,7 @@ int MPI_File_open(MPI_Comm comm, const char *filename, int amode,
if (tmp_amode == ADIO_AMODE_NOMATCH) {
error_code = MPIO_Err_create_code(MPI_SUCCESS, MPIR_ERR_RECOVERABLE,
myname, __LINE__, MPI_ERR_AMODE,
myname, __LINE__, MPI_ERR_NOT_SAME,
"**fileamodediff", 0);
goto fn_fail;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment