[petsc-users] debugging with no X11 available

Dominik Szczerba dominik at itis.ethz.ch
Mon Dec 12 13:17:43 CST 2011


Thats a very interesting hint. However, I must be using at least two nodes...

Thanks
Dominik

On Mon, Dec 12, 2011 at 7:23 PM, John Fettig <john.fettig at gmail.com> wrote:
> 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.
>
> John
>


More information about the petsc-users mailing list