← Back to team overview

dolfin team mailing list archive

Preconditioner not working?

 

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



Follow ups