Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Uncommitted MPI_Datatype leaks memory heavily
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2012-05-14 07:23:48


On May 14, 2012, at 2:16 AM, Andreas Schäfer wrote:

> Not much more surprising than an array allocated by malloc() not being
> automatically deallocated once the pointer dies. The datatype variable
> is merely a handle, Open MPI has an internal data store for each
> user-defines datatype. Same for requests AFAIK.

+1

More specifically: the MPI standard defines the behavior this way. It's not an Open MPI-specific artifact.

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/