Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI devel] MPI_Type_free(MPI_BYTE) not failing afterMPI_Win_create()
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2010-06-22 07:52:19


On Jun 18, 2010, at 2:57 PM, Lisandro Dalcin wrote:

> See the code below. As expected, you DO get an error (though the error
> is ERR_INTERN, somewhat not informative). However, if you fist
> create() % destroy a windows, you DO NOT get any error. This is VERY
> strange, right?

It looks like it's a combination of two things:

1. A fix that you brought up a long time ago was applied to the trunk but not to the v1.4 branch (disallowing calling TYPE_FREE on predefined types). I just filed CMR #2448 to fix this.

2. It looks like MPI_WIN_CREATE is incrementing the refcount on MPI_TYPE_BYTE (assumedly by sending a message?), but that refcount is never getting decreased (perhaps the message is not received?). I do note that this does not happen on the trunk (the refcount stays at 1); it only happens on the v1.4 series. I'm not sure how high priority it'll be to fix this, but I filed ticket #2449 about the issue.

Thanks for reporting these issues!

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