[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.0.4-194-g1b5334e
mysql vizuser
noreply at mpich.org
Wed May 15 12:08:17 CDT 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MPICH primary repository".
The branch, master has been updated
via 1b5334ede0488abc04e981e53ea977780c9e28e6 (commit)
from 49595414949ac4099b3a7ce6d6bc41772b5111cf (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.mpich.org/mpich.git/commitdiff/1b5334ede0488abc04e981e53ea977780c9e28e6
commit 1b5334ede0488abc04e981e53ea977780c9e28e6
Author: Rob Latham <robl at mcs.anl.gov>
Date: Wed May 15 12:04:53 2013 -0500
deal with MPI_INFO_NULL reasonably
maddeningly we cannot dup MPI_INFO_NULL, so let's check for that case
diff --git a/src/mpi/romio/adio/include/adioi_error.h b/src/mpi/romio/adio/include/adioi_error.h
index 1dd00ee..3c47cc3 100644
--- a/src/mpi/romio/adio/include/adioi_error.h
+++ b/src/mpi/romio/adio/include/adioi_error.h
@@ -167,7 +167,12 @@ then the dup operation will succeed */
#define MPIO_CHECK_INFO_ALL(info, error_code, comm) { \
MPI_Info dupinfo; \
int tmp_err = MPI_SUCCESS; \
- error_code = MPI_Info_dup(info, &dupinfo); \
+ if (info == MPI_INFO_NULL) { \
+ error_code = MPI_Info_dup(info, &dupinfo); \
+ dupinfo = MPI_INFO_NULL; \
+ } else { \
+ error_code = MPI_SUCCESS; \
+ } \
MPI_Allreduce(&error_code, &tmp_err, 1, MPI_INT, MPI_MAX, comm); \
if(tmp_err != MPI_SUCCESS) { \
error_code = MPIO_Err_create_code(MPI_SUCCESS, MPIR_ERR_RECOVERABLE, \
-----------------------------------------------------------------------
Summary of changes:
src/mpi/romio/adio/include/adioi_error.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
hooks/post-receive
--
MPICH primary repository
More information about the commits
mailing list