PETSC debugger

Ryan Yan vyan2000 at gmail.com
Sat Jul 18 23:24:46 CDT 2009


Hi All,
I am tring to use the PETSc runtime option -start_in_debugger.

However, when I attach the debugger at run time to each process, there are
error messages and I only get one gdb window(Am I suppose to get as many as
the number of the processes?)

vyan2000 at vyan2000-linux:~/local/PPETSc/petsc-2.3.3-p15/src/ksp/ksp/examples/tutorials/ttt2$
mpirun -np 2 ./rpisolve -ksp_monitor_true_residual -start_in_debugger
-display :0.0

[1]PETSC ERROR: PETSC: Attaching gdb to ./rpisolve of pid 26307 on display
:0.0 on machine vyan2000-linux
[0]PETSC ERROR: PETSC: Attaching gdb to ./rpisolve of pid 26306 on display
:0.0 on machine vyan2000-linux

Then, only a *single* gdb window prompts out. When I run with 3 process,
there are only *two* gdb windows.

Thank you very much in advance,

Yan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20090719/660d2de4/attachment.htm>


More information about the petsc-users mailing list