On 29 March 2011 21:26, Lisandro Dalcin <dalc...@gmail.com> wrote:
> 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?
>

OK, I pushed a fix. Without this, using -X profile=True cannot work
with any pyx source that has nogil functions. Enabling profiling
should not force users to change source code.



-- 
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
_______________________________________________
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel

Reply via email to