Memory preallocation in python

Matthew Knepley knepley at gmail.com
Wed Aug 23 16:35:21 CDT 2006


Excellent. I am putting this up on our website.

  Thanks for your patience,

     Matt

On 8/23/06, Marek Wojciechowski <mwojc at p.lodz.pl> wrote:
>
> 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
>
>


-- 
"Failure has a thousand explanations. Success doesn't need one" -- Sir Alec
Guiness
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20060823/42663b5d/attachment.htm>


More information about the petsc-users mailing list