Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

From: Julian Seward (julian_at_[hidden])
Date: 2006-03-03 10:55:44


I'm trying to write a routine which unpicks user defined datatypes
using MPI_Type_get_{envelope,contents}. I'm having a problem that
a derived type returned by a call of MPI_Type_get_contents, when handed
onwards to MPI_Type_get_envelope, causes the system to bomb:

[suse10:15004] *** An error occurred in MPI_Type_get_envelope
[suse10:15004] *** on communicator MPI_COMM_WORLD
[suse10:15004] *** MPI_ERR_INTERN: internal error
[suse10:15004] *** MPI_ERRORS_ARE_FATAL (goodbye)

Close inspection of the MPI2 specification for MPI_Type_get_envelope
does not appear to reveal any limitations on the types or
committedness-state of types that may be passed to MPI_Type_get_envelope.

This is with Open MPI 1.0.1 on SuSE 10.0 (x86), built from source.
This build otherwise appears to work and has run various MPI apps
successfully over the past month.

A test case is attached. What am I doing wrong?

J



  • text/x-csrc attachment: bad2.c