[petsc-users] Attaching to gdb within screen
John Fettig
john.fettig at gmail.com
Wed Jun 22 09:57:38 CDT 2011
On Wed, Jun 22, 2011 at 10:48 AM, Jed Brown <jed at 59a2.org> wrote:
> On Wed, Jun 22, 2011 at 16:40, John Fettig <john.fettig at gmail.com> wrote:
>>
>> I did try using the command line options only (unset $PETSC_OPTIONS
>> and used a petsc example), and that has the same problem. If I only
>> run the command
>>
>> screen -X -S debug screen redirect.sh gdb
>>
>> It loads a new window in screen without issue.
>
> What command line does it report using for that?
The output is:
ppid=28218 pwd=/home/jfe cmd=gdb
And the screen title is "screen 1: redirect.sh"
>> So something funky is
>> happening inside petsc.
>>
>
> Does the executable path include any special characters or spaces?
No spaces, but there are a couple of underscores. As a test I moved
redirect.sh into my path and re-ran. This works! I get both gdb's
and they give meaningful backtraces. What does this mean?
John
More information about the petsc-users
mailing list