LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2003-09-11 08:02:17


This is, indeed, a bug in 7.0. One of the datatype's internal arrays is
not freed properly in datatypes created by MPI_Type_create_hindexed.

Thanks for bringing this to our attention -- I've fixed it in CVS; it will
be part of 7.0.1.

On Wed, 10 Sep 2003, Thomas Klein wrote:

> Hi,
>
> I have run into a problem when using my own derived data types. In my
> application I have to create and free derived data types very often, but
> it seems to me, that the memory allocated internally by the
> MPI_Type_create_* calls isn't freed when MPI_Type_free is invoked. A
> simple test program is included with this mail. It just
> creates/commits/frees the same data type in a endless loop. So I would
> expect that the memory requirements should be approximately constant, but
> instead it consumes arbitrary amounts of memory. (Linux 2.4.21 x86, LAM
> 7.0)
>
> Is there something wrong with the way I create/free the data type, or is
> this a bug in LAM ?
>
> Any help would be great,
>
> Thomas

-- 
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/