Memory preallocation in python
Marek Wojciechowski
mwojc at p.lodz.pl
Mon Aug 21 13:10:30 CDT 2006
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