Ticket #618 (closed bug: fixed)
nesting and subarray
| Reported by: | Rob Latham <robl@…> | Owned by: | robl |
|---|---|---|---|
| Priority: | major | Milestone: | mpich2-1.2.1 |
| Component: | mpich2 | Keywords: | |
| Cc: |
Description (last modified by robl) (diff)
Hi over on mpich-discuss someone reported a bug in MPI_TYPE_CREATE_SUBARRAY. Test program attached -- note the use of MPI_THREAD_MULTIPLE. I built MPICH2 r4626 with --enable-g=all and get an error about incorrect nesting level. Here's the output from rank 0: % ~/work/soft/mpich2/bin/mpiexec -l -np 4 ./cp_subarray pvfs2:/pvfs/cptesta 0: In direct memory block for handle type DATATYPE, 1 handles are still allocated 0: Unexpected value for nesting level = 1 0: Nest stack is: 0: [0] /home/robl/work/mpich2/src/mpi/datatype/type_create_subarray.c:93 0: [0] 72 at [0x08b45108], h2/src/mpid/common/datatype/dataloop/dataloop.c[380] 0: [0] 72 at [0x08b45020], h2/src/mpid/common/datatype/dataloop/dataloop.c[380] 0: [0] 56 at [0x08b44c90], c/mpid/common/datatype/mpid_datatype_contents.c[62] - mpi_type_create_subarray *is* a publicly-facing routine and so rightly calls MPIR_Nest_incr() - dataloop.c:380 is a MPIU_Malloc call - mpid_datatype_contents.c:62 is also an MPIU_Malloc call Suggestions or ideas? Thanks ==rob -- Rob Latham Mathematics and Computer Science Division Argonne National Lab, IL USA
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
