[petsc-users] debugging with no X11 available

John Fettig john.fettig at gmail.com
Mon Dec 12 12:23:21 CST 2011

On Mon, Dec 12, 2011 at 10:15 AM, Dominik Szczerba <dominik at itis.ethz.ch>wrote:

> > As several others suggested, you can probably do this on your own laptop
> or
> > workstation if you can reproduce the problem locally.  This is how I
> debug
> > all of my parallel code.
> The problem is there is no problem on my own machine... only there :`(
> OK, giving up, probably I need to either learn their debugger or debug
> by foot, commenting out single code lines and adding verbosity....
> Many thanks and best regards,
> Dominik

What about using GNU screen?  You add

 -start_in_debugger -debug_terminal "screen -X -S debug screen"

while having a screen open on the node with "screen -S debug".  When the
processes launch you will get new windows open in the screen session.  Of
course, you'll need to be running on a single node unless there is some way
to attach to a remote screen.

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

More information about the petsc-users mailing list