[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.1rc2-14-gdcf00b3
mysql vizuser
noreply at mpich.org
Wed Nov 27 17:06:59 CST 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 dcf00b350be1f1d33c039d1d6995d01fa743e1ba (commit)
from a3e830570a6e41dc9d49e2139fa33fef604afc97 (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/dcf00b350be1f1d33c039d1d6995d01fa743e1ba
commit dcf00b350be1f1d33c039d1d6995d01fa743e1ba
Author: Ken Raffenetti <raffenet at mcs.anl.gov>
Date: Fri Nov 22 13:23:38 2013 -0600
set context mask depending on need for ICOMM_WORLD
Some devices may not require ICOMM_WORLD and could cause false
'context not freed' messages in debug mode.
Signed-off-by: Huiwei Lu <huiweilu at mcs.anl.gov>
diff --git a/src/mpi/comm/commutil.c b/src/mpi/comm/commutil.c
index 8ca467e..b759e79 100644
--- a/src/mpi/comm/commutil.c
+++ b/src/mpi/comm/commutil.c
@@ -689,9 +689,14 @@ static void MPIR_Init_contextid(void)
for (i=1; i<MPIR_MAX_CONTEXT_MASK; i++) {
context_mask[i] = 0xFFFFFFFF;
}
- /* the first three values are already used (comm_world, comm_self,
- and the internal-only copy of comm_world) */
- context_mask[0] = 0xFFFFFFF8;
+ /* The first two values are already used (comm_world, comm_self).
+ The third value is also used for the internal-only copy of
+ comm_world, if needed by mpid. */
+#ifdef MPID_NEEDS_ICOMM_WORLD
+ context_mask[0] = 0xFFFFFFF8;
+#else
+ context_mask[0] = 0xFFFFFFFC;
+#endif
initialize_context_mask = 0;
#ifdef MPICH_DEBUG_HANDLEALLOC
-----------------------------------------------------------------------
Summary of changes:
src/mpi/comm/commutil.c | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
hooks/post-receive
--
MPICH primary repository
More information about the commits
mailing list