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: Andreas Schäfer (gentryx_at_[hidden])
Date: 2012-05-14 02:16:44

On 09:06 Mon 14 May , Ilja Honkonen wrote:
> Thanks, so it's a feature. A bit surprising though since usually local
> variables are deallocated automatically.

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.


Andreas Schäfer
HPC and Grid Computing
Chair of Computer Science 3
Friedrich-Alexander-Universität Erlangen-Nürnberg, Germany
+49 9131 85-27910
PGP/GPG key via keyserver
This is Bunny. Copy and paste Bunny into your 
signature to help him gain world domination!