[petsc-users] petsc example src/snes/examples/tutorials/ex55.c fails

Xujun Zhao xzhao99 at gmail.com
Thu Feb 12 11:40:42 CST 2015


I am running the Petsc example snes/ex55 with the suggested command line:

./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

it gave the following error message(In fact the second suggested command
line with mg pc_type in the source codes also failed to run):


0 SNES VI Function norm 6.221605446769e-05 Active lower constraints
1928/2241 upper constraints 302/397 Percent of total 0.131953 Percent of
bounded 0.175937

[0]PETSC ERROR:
------------------------------------------------------------------------

[0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation,
probably memory access out of range

[0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger

[0]PETSC ERROR: or see
http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind

[0]PETSC ERROR: or try http://valgrind.org on GNU/linux and Apple Mac OS X
to find memory corruption errors

[0]PETSC ERROR: likely location of problem given in stack below

[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 328
/Users/xzhao/software/petsc/petsc_dbg_clang/src/ksp/pc/impls/fieldsplit/fieldsplit.c

[0]PETSC ERROR: [0] PCSetUp_FieldSplit line 491
/Users/xzhao/software/petsc/petsc_dbg_clang/src/ksp/pc/impls/fieldsplit/fieldsplit.c

[0]PETSC ERROR: [0] KSPSetUp line 220
/Users/xzhao/software/petsc/petsc_dbg_clang/src/ksp/ksp/interface/itfunc.c

[0]PETSC ERROR: [0] SNESSolve_VINEWTONRSLS line 346
/Users/xzhao/software/petsc/petsc_dbg_clang/src/snes/impls/vi/rs/virs.c

[0]PETSC ERROR: [0] SNESSolve line 3696
/Users/xzhao/software/petsc/petsc_dbg_clang/src/snes/interface/snes.c

[0]PETSC ERROR: --------------------- Error Message
--------------------------------------------------------------

[0]PETSC ERROR: Signal received

[0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for
trouble shooting.

[0]PETSC ERROR: Petsc Release Version 3.5.3, unknown

[0]PETSC ERROR: ./ex55 on a arch-darwin-c-debug named mcswl130.mcs.anl.gov
by xzhao Thu Feb 12 11:00:18 2015

[0]PETSC ERROR: Configure options --download-fblaslapack --download-mpich
--download-mumps --download-scalapack --download-hypre
-download-superlu_dist --download-parmetis --download-metis
--download-triangle -download-chaco --download-ml --with-opencl=0
--with-debugging=1

[0]PETSC ERROR: #1 User provided function() line 0 in  unknown file

application called MPI_Abort(MPI_COMM_WORLD, 59) - process 0

[unset]: aborting job:

application called MPI_Abort(MPI_COMM_WORLD, 59) - process 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150212/3fca060e/attachment-0001.html>


More information about the petsc-users mailing list