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: [OMPI devel] Cannot Free() a datatype created with Dup() or Create_resized()
From: Lisandro Dalcin (dalcinl_at_[hidden])
Date: 2009-08-31 17:55:23

In current ompi-trunk (svn up'ed and built a few minutes ago), a
Free() from a datatype obtained with Dup() or Create_resized() from a
predefined datatype is failing with ERR_TYPE...

Is this change intentional or is it a regression?

$ cat
from mpi4py import MPI
t = MPI.INT.Dup()

$ python
Traceback (most recent call last):
  File "", line 3, in <module>
  File "Datatype.pyx", line 328, in mpi4py.MPI.Datatype.Free
mpi4py.MPI.Exception: MPI_ERR_TYPE: invalid datatype

Lisandro Dalcín
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594