<div dir="ltr">I am running the Petsc example snes/ex55 with the suggested command line:<div><br></div><div>
<p class=""><span class="">./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</span></p><br>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):</div><div><br><br>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<br><br>[0]PETSC ERROR: ------------------------------------------------------------------------<br><br>[0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range<br><br>[0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger<br><br>[0]PETSC ERROR: or see <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind">http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind</a><br><br>[0]PETSC ERROR: or try <a href="http://valgrind.org">http://valgrind.org</a> on GNU/linux and Apple Mac OS X to find memory corruption errors<br><br>[0]PETSC ERROR: likely location of problem given in stack below<br><br>[0]PETSC ERROR: --------------------- Stack Frames ------------------------------------<br><br>[0]PETSC ERROR: Note: The EXACT line numbers in the stack are not available,<br><br>[0]PETSC ERROR: INSTEAD the line number of the start of the function<br><br>[0]PETSC ERROR: is given.<br><br>[0]PETSC ERROR: [0] PCFieldSplitSetDefaults line 328 /Users/xzhao/software/petsc/petsc_dbg_clang/src/ksp/pc/impls/fieldsplit/fieldsplit.c<br><br>[0]PETSC ERROR: [0] PCSetUp_FieldSplit line 491 /Users/xzhao/software/petsc/petsc_dbg_clang/src/ksp/pc/impls/fieldsplit/fieldsplit.c<br><br>[0]PETSC ERROR: [0] KSPSetUp line 220 /Users/xzhao/software/petsc/petsc_dbg_clang/src/ksp/ksp/interface/itfunc.c<br><br>[0]PETSC ERROR: [0] SNESSolve_VINEWTONRSLS line 346 /Users/xzhao/software/petsc/petsc_dbg_clang/src/snes/impls/vi/rs/virs.c<br><br>[0]PETSC ERROR: [0] SNESSolve line 3696 /Users/xzhao/software/petsc/petsc_dbg_clang/src/snes/interface/snes.c<br><br>[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br><br>[0]PETSC ERROR: Signal received<br><br>[0]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.<br><br>[0]PETSC ERROR: Petsc Release Version 3.5.3, unknown <br><br>[0]PETSC ERROR: ./ex55 on a arch-darwin-c-debug named <a href="http://mcswl130.mcs.anl.gov">mcswl130.mcs.anl.gov</a> by xzhao Thu Feb 12 11:00:18 2015<br><br>[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<br><br>[0]PETSC ERROR: #1 User provided function() line 0 in unknown file<br><br>application called MPI_Abort(MPI_COMM_WORLD, 59) - process 0<br><br>[unset]: aborting job:<br><br>application called MPI_Abort(MPI_COMM_WORLD, 59) - process 0<br></div></div>