[petsc-dev] petsc-dev/src/ksp/ksp/examples/tutorials/ex40.c crash

Matthew Knepley knepley at gmail.com
Sun Apr 10 16:08:07 CDT 2011


On Sun, Apr 10, 2011 at 10:14 AM, Hong Zhang <hzhang at mcs.anl.gov> wrote:

> Matt,
>
> >>
> >> The reference counting is ASA must be wrong.
> >
> > I have fixed this, but the output does not seem to match. Did this work
> > before?
> I got same thing - runs, but gives different output.
> I saw the crash from this Friday's nightly test, which did not occur
> in the previous weeks.
> I do not not know if previously the output differ.
>
> The residual of new output is in the same order as output/ex40_1.out
> and is slight better. Do you want update output/ex40_1.out?


I guess it should be updated. I do not know who added it.

Does anyone want to claim responsibility for KSP ex40?

   Matt


>
> Hong
>
> >
> >>
> >>    Matt
> >>
> >>>
> >>> petsc-dev/src/ksp/ksp/examples/tutorials/ex40.c (runex40) crashes
> >>> 0]PETSC ERROR: --------------------- Error Message
> >>> ------------------------------------
> >>> [0]PETSC ERROR: Invalid argument!
> >>> [0]PETSC ERROR: Invalid object classid 0
> >>> This often happens if you compile with PETSC_USE_DYNAMIC_LIBRARIES,
> >>> but link with static libraries.!
> >>> ...
> >>> [0]PETSC ERROR: ClassRegLogGetClass() line 282 in
> >>> src/sys/plog/utils/classLog.c
> >>> [0]PETSC ERROR: PetscLogObjDestroyDefault() line 383 in
> >>> src/sys/plog/utils/classLog.c
> >>> [0]PETSC ERROR: DMDestroy() line 164 in src/dm/interface/dm.c
> >>> [0]PETSC ERROR: PCDestroyLevel_ASA() line 300 in
> >>> src/ksp/pc/impls/asa/asa.c
> >>> [0]PETSC ERROR: PCDestroy_ASA() line 1928 in src/ksp/pc/impls/asa/asa.c
> >>> [0]PETSC ERROR: PCDestroy() line 116 in src/ksp/pc/interface/precon.c
> >>> [0]PETSC ERROR: KSPDestroy_() line 757 in
> src/ksp/ksp/interface/itfunc.c
> >>> [0]PETSC ERROR: main() line 234 in
> src/ksp/ksp/examples/tutorials/ex40.c
> >>> application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0
> >>>
> >>> Could it result of your recent change?  Hong
> >>>
> >>> changeset:   18673:75eb7f4d3ab7
> >>> user:        Matthew G. Knepley <knepley at gmail.com>
> >>> date:        Sat Apr 02 18:46:15 2011 -0500
> >>>
> >>> description:
> >>> SNES ex10 now runs in serial
> >>> - Added MatSetValuesTopology()
> >>> - DMGetMatrix_Mesh() now sets the local to global mapping
> >>> - We compose the Mesh with global/local vectors
> >>> - Added DMCreateLocalToGlobalMapping() to Mesh
> >>> - Added matrix filling to DMMeshCreateMatrix()
> >>> - Fixed DMDestroy() for all subclasses
> >>> - Moved DMDASetMatrPreallocateOnly() to DMSetMatrixPreallocateOnly()
> >>>  and changed option to -dm_preallocate_only
> >>> - Fixed test output
> >>
> >>
> >>
> >> --
> >> What most experimenters take for granted before they begin their
> >> experiments is infinitely more interesting than any results to which
> their
> >> experiments lead.
> >> -- Norbert Wiener
> >
> >
> >
> > --
> > What most experimenters take for granted before they begin their
> experiments
> > is infinitely more interesting than any results to which their
> experiments
> > lead.
> > -- Norbert Wiener
> >
>



-- 
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110410/80a557dc/attachment.html>


More information about the petsc-dev mailing list