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

Barry Smith bsmith at mcs.anl.gov
Sun Apr 10 17:29:08 CDT 2011


  Just use the new output, it is as "correct" as the old output and makes our lives easier.

    Barry

On Apr 10, 2011, at 4:08 PM, Matthew Knepley wrote:

> 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




More information about the petsc-dev mailing list