Skip to content

Instantly share code, notes, and snippets.

@funsim
Created February 3, 2014 11:43
Show Gist options
  • Save funsim/8782501 to your computer and use it in GitHub Desktop.
Save funsim/8782501 to your computer and use it in GitHub Desktop.
sf1409@doodson:~/src/testfieldsplit$ gdb --args python tfs.py
GNU gdb (GDB) 7.6.1-ubuntu
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/python2.7...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/python tfs.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Passing options to PETSc: -sw_snes_monitor -sw_snes_view -sw_ksp_converged_reason -sw_ksp_type fgmres -sw_ksp_monitor -sw_pc_type fieldsplit -sw_pc_fieldsplit_type schur -sw_pc_fieldsplit_schur_factorization_type full -sw_pc_fieldsplit_schur_precondition self -sw_fieldsplit_0_ksp_type preonly -sw_fieldsplit_0_pc_type lu -sw_fieldsplit_0_pc_factor_mat_solver_package mumps -sw_fieldsplit_1_ksp_converged_reason -sw_fieldsplit_1_ksp_type gmres -sw_fieldsplit_1_ksp_atol 1.0e-23 -sw_fieldsplit_1_ksp_monitor_true_residual -sw_fieldsplit_1_pc_type gamg -mat_mumps_icntl_14 50
SNES Object:(sw_) 1 MPI processes
type: newtonls
SNES has not been set up so information may be incomplete
maximum iterations=10, maximum function evaluations=2000
tolerances: relative=1e-09, absolute=1e-10, solution=1e-16
total number of linear solver iterations=0
total number of function evaluations=0
SNESLineSearch Object: (sw_) 1 MPI processes
type: basic
maxstep=1.000000e+08, minlambda=1.000000e-12
tolerances: relative=1.000000e-08, absolute=1.000000e-15, lambda=1.000000e-08
maximum iterations=1
KSP Object: (sw_) 1 MPI processes
type: fgmres
GMRES: restart=30, using Classical (unmodified) Gram-Schmidt Orthogonalization with no iterative refinement
GMRES: happy breakdown tolerance 1e-30
maximum iterations=10000, initial guess is zero
tolerances: relative=1e-05, absolute=1e-50, divergence=10000
left preconditioning
using DEFAULT norm type for convergence test
PC Object: (sw_) 1 MPI processes
type: fieldsplit
PC has not been set up so information may be incomplete
FieldSplit with Schur preconditioner, factorization FULL
Preconditioner for the Schur complement formed from S itself
Split info:
Split number 0 Defined by IS
Split number 1 Defined by IS
KSP solver for A00 block
KSP Object: (sw_fieldsplit_0_) 1 MPI processes
type: preonly
maximum iterations=10000, initial guess is zero
tolerances: relative=1e-05, absolute=1e-50, divergence=10000
left preconditioning
using DEFAULT norm type for convergence test
PC Object: (sw_fieldsplit_0_) 1 MPI processes
type not yet set
PC has not been set up so information may be incomplete
KSP solver for upper A00 in upper triangular factor
KSP Object:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff092947b in PetscObjectPrintClassNamePrefixType () from /usr/lib/petscdir/3.4.2/linux-gnu-c-opt/lib/libpetsc.so.3.4.2
(gdb) bt
#0 0x00007ffff092947b in PetscObjectPrintClassNamePrefixType () from /usr/lib/petscdir/3.4.2/linux-gnu-c-opt/lib/libpetsc.so.3.4.2
#1 0x00007ffff0715e4e in KSPView () from /usr/lib/petscdir/3.4.2/linux-gnu-c-opt/lib/libpetsc.so.3.4.2
#2 0x00007ffff0667486 in ?? () from /usr/lib/petscdir/3.4.2/linux-gnu-c-opt/lib/libpetsc.so.3.4.2
#3 0x00007ffff092c3b7 in PCView () from /usr/lib/petscdir/3.4.2/linux-gnu-c-opt/lib/libpetsc.so.3.4.2
#4 0x00007ffff0716aaa in KSPView () from /usr/lib/petscdir/3.4.2/linux-gnu-c-opt/lib/libpetsc.so.3.4.2
#5 0x00007ffff09e5a75 in SNESView () from /usr/lib/petscdir/3.4.2/linux-gnu-c-opt/lib/libpetsc.so.3.4.2
#6 0x00007ffff1d7812b in dolfin::PETScSNESSolver::init (this=this@entry=0x235bef0, nonlinear_problem=..., x=...) at /home/sf1409/src/dolfin_pefarrell/dolfin/nls/PETScSNESSolver.cpp:380
#7 0x00007fffcfde93b0 in _wrap_PETScSNESSolver_init (args=<optimized out>) at /home/sf1409/src/dolfin_pefarrell/build.pefarrell.snes-pass-fieldsplit-is/dolfin/swig/modules/la/modulePYTHON_wrap.cxx:40014
#8 0x000000000053473a in PyEval_EvalFrameEx ()
#9 0x0000000000567cdc in PyEval_EvalCode ()
#10 0x0000000000451adb in ?? ()
#11 0x0000000000451e5b in PyRun_FileExFlags ()
#12 0x0000000000452394 in PyRun_SimpleFileExFlags ()
#13 0x0000000000453ead in Py_Main ()
#14 0x00007ffff7816de5 in __libc_start_main (main=0x453f6b <main>, argc=2, ubp_av=0x7fffffffde58, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffde48) at libc-start.c:260
#15 0x00000000005786be in _start ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment