dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #01459
Re: Preconditioner not working?
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
Follow ups
References