[petsc-users] Attaching to gdb within screen
John Fettig
john.fettig at gmail.com
Wed Jun 22 10:46:34 CDT 2011
On Wed, Jun 22, 2011 at 11:38 AM, Satish Balay <balay at mcs.anl.gov> wrote:
> On Wed, 22 Jun 2011, Jed Brown wrote:
>
>> On Wed, Jun 22, 2011 at 17:02, Satish Balay <balay at mcs.anl.gov> wrote:
>>
>> > I retry - and now I see 3 gdb sessions.. hm..
>>
>>
>> That may be the race condition discussed earlier.
>
> My reproducability factor is low [i.e its working most of the time].
I'm guessing this might be a difference in speed of our machines?
> John,
>
> does restarting the screen session [perhaps with a different name] or
> using '-debugger_puase 10' make a difference?
No. I've tried running a few more times without the "redirect.sh"
script and it seems that I get both of the gdb's some of the time. I
think Jed must be right about a race condition.
John
More information about the petsc-users
mailing list