[mpich-commits] r10636 - mpich2/trunk/src/mpi/romio/mpi-io
goodell at mcs.anl.gov
goodell at mcs.anl.gov
Tue Nov 20 16:20:55 CST 2012
Author: goodell
Date: 2012-11-20 16:20:55 -0600 (Tue, 20 Nov 2012)
New Revision: 10636
Modified:
mpich2/trunk/src/mpi/romio/mpi-io/open.c
Log:
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.
Modified: mpich2/trunk/src/mpi/romio/mpi-io/open.c
===================================================================
--- mpich2/trunk/src/mpi/romio/mpi-io/open.c 2012-11-20 22:20:54 UTC (rev 10635)
+++ mpich2/trunk/src/mpi/romio/mpi-io/open.c 2012-11-20 22:20:55 UTC (rev 10636)
@@ -116,7 +116,7 @@
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;
}
More information about the commits
mailing list