This is a definite error (I replicated it with a trivial C equivalent
of your python program) -- I'll file a bug.
Thanks for reporting it, Lisdandro!
On Sep 1, 2009, at 12:55 AM, Lisandro Dalcin wrote:
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 typedup.py
from mpi4py import MPI
t = MPI.INT.Dup()
t.Free()
$ python typedup.py
Traceback (most recent call last):
File "typedup.py", line 3, in <module>
t.Free()
File "Datatype.pyx", line 328, in mpi4py.MPI.Datatype.Free
(src/mpi4py.MPI.c:28632)
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
_______________________________________________
devel mailing list
de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/devel
--
Jeff Squyres
jsquy...@cisco.com