From: Maciej Golebiewski <s30125@hotmail.com>
Newsgroups: comp.parallel.mpi
Subject: Re: Problem with MPI_Type_struct and MPICH 1.1.1
Date: Wed, 18 Nov 1998 14:31:30 +0100
Organization: Organization? Me?
Message-Id: <3652CC32.9202C5DB@hotmail.com>
References: <72ucjb$v39$1@bunyip.cc.uq.edu.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


Hi,

Maybe you could try using MPI_UB as the last field of you MPI derived
datatype specification, to help MPI calculate the correct extent for
your C-language structure?

Hope this helps,

Maciej Golebiewski

Andrew Mc.Ghee wrote:
> Essentially, we are creating a new MPI_Data_Type based on a dynamically
> allocated structure consiting of mixed data types (doubles and ints).
> Transfer of the data via MPI_Gather command works for MPICH version 1.0.14
[cut]

