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 307e5fc6a7fc64cccd6956e18470008df71d2a77 (commit) from 0706e96cd741201560bc509615ba03b9b7b99a9d (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/307e5fc6a7fc64cccd6956e18470008df7... commit 307e5fc6a7fc64cccd6956e18470008df71d2a77 Author: Rob Latham <[email protected]> Date: Sat Oct 12 14:12:37 2013 -0500 teach type-dumping code about subarray MPIDU_Datatype_debug is really helpful when trying to figure out what a library or someone else's datatype code is feeding to MPICH. For some reason it didn't know how to dump subarray types. now it does. diff --git a/src/mpid/common/datatype/mpid_type_debug.c b/src/mpid/common/datatype/mpid_type_debug.c index 4b0c239..8e895cf 100644 --- a/src/mpid/common/datatype/mpid_type_debug.c +++ b/src/mpid/common/datatype/mpid_type_debug.c @@ -635,6 +635,23 @@ void MPIDI_Datatype_contents_printf(MPI_Datatype type, acount); } __mpidi_datatype_free_and_return; + case MPI_COMBINER_SUBARRAY: + MPIU_DBG_OUT_FMT(DATATYPE, (MPIU_DBG_FDEST,"# %ssubarray ct = %d:", + MPIDI_Datatype_depth_spacing(depth), + (int) ints[0])); + for (i=0; i< acount && i < ints[0]; i++) { + MPIU_DBG_OUT_FMT(DATATYPE,(MPIU_DBG_FDEST, + "# %s sizes[%d] = %d subsizes[%d] = %d starts[%d] = %d\n", + MPIDI_Datatype_depth_spacing(depth), + i, (int)ints[i+1], + i, (int)ints[i+ ints[0]+1], + i, (int)ints[2*ints[0]+1])); + } + MPIDI_Datatype_contents_printf(*types, + depth + 1, + acount); + __mpidi_datatype_free_and_return; + default: MPIU_DBG_OUT_FMT(DATATYPE,(MPIU_DBG_FDEST,"# %sunhandled combiner", MPIDI_Datatype_depth_spacing(depth))); ----------------------------------------------------------------------- Summary of changes: src/mpid/common/datatype/mpid_type_debug.c | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) hooks/post-receive -- MPICH primary repository