[petsc-dev] trouble building petsc4py-dev

Lisandro Dalcin dalcinl at gmail.com
Mon Nov 15 16:35:51 CST 2010


On 15 November 2010 18:56, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
>  After manually removing petsc4py.PETSc.c in petsc4py-dev with petsc-dev I get
>
> src/PETSc.c:3:28: error: petsc4py.PETSc.c: No such file or directory
> cythonizing 'src/petsc4py.PETSc.pyx' source
>
> Error converting Pyrex file to C:
> ------------------------------------------------------------
> ...
>        if o != NULL:
>            CHKERR( PetscObjectReference(o) )
>        obj.obj[0] = o
>        return obj
>
>    def __deepcopy__(self, dict memo not None):
>   ^
> ------------------------------------------------------------
>
> /Users/barrysmith/Src/petsc-dev/externalpackages/petsc4py/src/PETSc/Object.pyx:34:4: Only extension type arguments can have 'not None'
> make[1]: *** [petsc4py] Error 1
> ********************************************************************
>

Please upgrade Cython to version 0.13.



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



More information about the petsc-dev mailing list