dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #01460
Re: Preconditioner not working?
Very good!
/Anders
On Mon, Nov 07, 2005 at 06:05:24PM +0100, Johan Jansson wrote:
> On Wed, Nov 02, 2005 at 01:46:37PM -0600, Anders Logg wrote:
> > Have we tested user-defined preconditioners before?
> >
> > I get a PETSc error when I try to use it:
> >
> > [0]PETSC ERROR: PetscTrFreeDefault() called from
> > PetscHeaderDestroy_Private() line 76 in src/sys/src/objects/inherit.c
> > [0]PETSC ERROR: Block at address 0x1d15f9f0 is corrupted; cannot free;
> > may be block not allocated with PetscMalloc()
> > [0]PETSC ERROR: PetscTrFreeDefault() line 279 in
> > src/sys/src/memory/mtr.c
> > [0]PETSC ERROR: Memory corruption!
> > [0]PETSC ERROR: Bad location or corrupted memory!
> > [0]PETSC ERROR: PetscHeaderDestroy_Private() line 76 in
> > src/sys/src/objects/inherit.c
> > [0]PETSC ERROR: PCDestroy() line 87 in src/ksp/pc/interface/precon.c
> > [0]PETSC ERROR: KSPDestroy() line 597 in
> > src/ksp/ksp/interface/itfunc.c
> >
> > Does anyone recognize this?
> >
> > Try the test problem in src/test/main.cpp.
> >
> > /Anders
> >
>
> User-defined preconditioners should work now (the example works ok).
>
> Johan
>
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev
>
--
Anders Logg
Research Assistant Professor
Toyota Technological Institute at Chicago
http://www.tti-c.org/logg/
References