[petsc-dev] Broken example ?

Pierre Jolivet jolivet at ann.jussieu.fr
Tue Dec 16 07:22:34 CST 2014

When trying to run snes/examples/tutorials/ex55 with the command line given in the source code, i.e. 
$ ./ex55 -ksp_type fgmres -pc_type fieldsplit -pc_fieldsplit_detect_saddle_point -pc_fieldsplit_type schur -pc_fieldsplit_schur_precondition self -fieldsplit_1_ksp_type fgmres -fieldsplit_1_pc_type lsc -snes_vi_monitor -ksp_monitor_true_residual -fieldsplit_ksp_monitor -fieldsplit_0_pc_type hypre -da_grid_x 65 -da_grid_y 65 -snes_atol 1.e-11  -ksp_rtol 1.e-8
I end up with a crash with these lines in the log:
[0]PETSC ERROR: ---------------------  Stack Frames ------------------------------------
[0]PETSC ERROR: Note: The EXACT line numbers in the stack are not available,
[0]PETSC ERROR:       INSTEAD the line number of the start of the function
[0]PETSC ERROR:       is given.
[0]PETSC ERROR: [0] PCFieldSplitSetDefaults line 321petsc/src/ksp/pc/impls/fieldsplit/fieldsplit.c
[0]PETSC ERROR: [0] PCSetUp_FieldSplit line 484 petsc/src/ksp/pc/impls/fieldsplit/fieldsplit.c
[0]PETSC ERROR: [0] KSPSetUp line 220 petsc/src/ksp/ksp/interface/itfunc.c
[0]PETSC ERROR: [0] SNESSolve_VINEWTONRSLS line 346 petsc/src/snes/impls/vi/rs/virs.c
[0]PETSC ERROR: [0] SNESSolve line 3696 petsc/src/snes/interface/snes.c

This is happening on two computers (a MBP and a Linux, on the master branch), both have —download-hypre, am I the only one having this error ? Please let me know if so, I’ll send you both configure.log if need be.

Thank you,

More information about the petsc-dev mailing list