Memory preallocation in python

Marek Wojciechowski mwojc at p.lodz.pl
Wed Aug 23 14:32:52 CDT 2006


Good news, Lisandro Dalcin just released new version of his petsc4py which  
compiles nicely with petsc-2.3.1-p16.

On Mon, 21 Aug 2006 18:10:30 -0000, Marek Wojciechowski <mwojc at p.lodz.pl>  
wrote:

> On Mon, 21 Aug 2006 14:39:50 -0000, Matthew Knepley <knepley at gmail.com>  
> wrote:
>
> This not helps, there are still undeclared variables like:
> CARRAY_FLAGS
> PETSC_COOKIE
> UPDATEIFCOPY
> PETSC_FILE_RDONLY
> PETSC_FILE_WRONLY
> PETSC_FILE_CREATE
> KSP_CONVERGED_QCG_NEG_CURVE
> KSP_CONVERGED_QCG_CONSTRAINED
> I'm affraid petsc4py wrappers are broken for newer versions of PETSc...
>
>
>> You just need petsc.h now. The structs are defined in
>> include/private/petscimpl.h
>
>>>
>>> One more question then:
>>> In case of petsc4py, I tried to compile it but with no success because  
>>> of
>>> the lack
>>> of include file petschead.h in the petsc distribution (2.3.1-p16). I
>>> guess, it was removed for
>>> some reason. Maybe you could tell me where are now the definitions from
>>> this file.
>
>
>
>



-- 
Marek Wojciechowski




More information about the petsc-users mailing list