[Cython] Cannot profile nogil function. Error or Warn?

Lisandro Dalcin dalcinl at gmail.com
Wed Mar 30 02:26:53 CEST 2011


Error compiling Cython file:
------------------------------------------------------------
...

cdef int PyMPE_Raise(int ierr) except -1 with gil:
    __Pyx_Raise(RuntimeError, "MPE logging error [code: %d]" % ierr, NULL)
    return 0

cdef inline int CHKERR(int ierr) nogil except -1:
    ^
------------------------------------------------------------

/home/dalcinl/Devel/mpi4py-dev/src/MPE/helpers.pxi:22:5: Cannot
profile nogil function.


Do we REALLY want this to be an error? Why not just a warning?

-- 
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
3000 Santa Fe, Argentina
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169


More information about the cython-devel mailing list