* MPI debugging support in GDB?
@ 2007-09-29 15:00 Daniel Qarras
2007-09-29 15:57 ` Daniel Jacobowitz
0 siblings, 1 reply; 8+ messages in thread
From: Daniel Qarras @ 2007-09-29 15:00 UTC (permalink / raw)
To: gdb
Hi!
What is the current status for debugging MPI applications with GDB? If
this is already possible/doable is there some documentation available?
If this not possible are there any plans to implement this?
We use a small cluster to run MPI applications and otherwise the system
consists only of free (beer/speech) software but to me it seems that
proprietary and pricy debuggers are needed to debug MPI application
(like TotalView or PGI CDK). There are several open software MPI
libraries available (like OpenMPI and MVAPICH) but of course a debugger
is needed every now and then.
Thanks!
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search
that gives answers, not web links.
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: MPI debugging support in GDB?
2007-09-29 15:00 MPI debugging support in GDB? Daniel Qarras
@ 2007-09-29 15:57 ` Daniel Jacobowitz
0 siblings, 0 replies; 8+ messages in thread
From: Daniel Jacobowitz @ 2007-09-29 15:57 UTC (permalink / raw)
To: Daniel Qarras; +Cc: gdb
On Sat, Sep 29, 2007 at 07:58:11AM -0700, Daniel Qarras wrote:
> Hi!
>
> What is the current status for debugging MPI applications with GDB? If
> this is already possible/doable is there some documentation available?
> If this not possible are there any plans to implement this?
Nothing special and no plans that I'm aware of.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: MPI debugging support in GDB?
2009-10-14 14:57 ` Pedro Alves
@ 2009-10-16 20:34 ` Daniel Qarras
0 siblings, 0 replies; 8+ messages in thread
From: Daniel Qarras @ 2009-10-16 20:34 UTC (permalink / raw)
To: gdb, Tom Tromey, Pedro Alves; +Cc: Sérgio Durigan Júnior
> > If you know, could you say something about what kind of support would be
> > needed? Even that would help a bit, I think.
>
> I think that for full and transparent support, we'd need to start with
> being able to debug multiple (remote) targets simultaneously? GDB can't
> do that currently --- it can only debug multiple processes running on
> the same host.
Yes, I think this is a hard requirement. I'm also pretty sure that supporting code would be needed for each MPI library implementation (their might have something comparable to libthread_db/nptl_db). OpenMPI is the most prominent open source MPI implementation today, its page might give some additional clues:
http://www.open-mpi.org/faq/?category=debugging
Thanks!
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: MPI debugging support in GDB?
2009-10-14 14:40 ` Tom Tromey
@ 2009-10-14 14:57 ` Pedro Alves
2009-10-16 20:34 ` Daniel Qarras
0 siblings, 1 reply; 8+ messages in thread
From: Pedro Alves @ 2009-10-14 14:57 UTC (permalink / raw)
To: gdb, Tom Tromey; +Cc: Sérgio Durigan Júnior, Daniel Qarras
On Wednesday 14 October 2009 15:40:45, Tom Tromey wrote:
> >>>>> "Sérgio" == Sérgio Durigan Júnior <sergiodj@linux.vnet.ibm.com> writes:
>
> Tom> I haven't heard of anybody working on MPI support for GDB.
>
> Sérgio> Last year, I was starting a work in order to implement such a
> Sérgio> support on GDB. However, due to internal reasons, I had to quit
> Sérgio> this and start another task. Unfortunately, I only spent a few
> Sérgio> days studying MPI and did not have the chance to create an
> Sérgio> opinion about how difficult it would be to make GDB support it.
>
> If you know, could you say something about what kind of support would be
> needed? Even that would help a bit, I think.
I think that for full and transparent support, we'd need to start with
being able to debug multiple (remote) targets simultaneously? GDB can't
do that currently --- it can only debug multiple processes running on
the same host.
--
Pedro Alves
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: MPI debugging support in GDB?
2009-10-14 4:28 ` Sérgio Durigan Júnior
@ 2009-10-14 14:40 ` Tom Tromey
2009-10-14 14:57 ` Pedro Alves
0 siblings, 1 reply; 8+ messages in thread
From: Tom Tromey @ 2009-10-14 14:40 UTC (permalink / raw)
To: Sérgio Durigan Júnior; +Cc: gdb, Daniel Qarras
>>>>> "Sérgio" == Sérgio Durigan Júnior <sergiodj@linux.vnet.ibm.com> writes:
Tom> I haven't heard of anybody working on MPI support for GDB.
Sérgio> Last year, I was starting a work in order to implement such a
Sérgio> support on GDB. However, due to internal reasons, I had to quit
Sérgio> this and start another task. Unfortunately, I only spent a few
Sérgio> days studying MPI and did not have the chance to create an
Sérgio> opinion about how difficult it would be to make GDB support it.
If you know, could you say something about what kind of support would be
needed? Even that would help a bit, I think.
Tom
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: MPI debugging support in GDB?
2009-10-13 20:52 ` Tom Tromey
@ 2009-10-14 4:28 ` Sérgio Durigan Júnior
2009-10-14 14:40 ` Tom Tromey
0 siblings, 1 reply; 8+ messages in thread
From: Sérgio Durigan Júnior @ 2009-10-14 4:28 UTC (permalink / raw)
To: gdb, tromey; +Cc: Daniel Qarras
On Tuesday 13 October 2009, Tom Tromey wrote:
> >>>>> "Daniel" == Daniel Qarras <dqarras@yahoo.com> writes:
>
> Daniel> Now that GDB 7.0 with multi-process support is out (thanks to
> Daniel> everyone involved!) I started to wonder does it pave way to MPI
> Daniel> support in GDB in any way? I would presume it to be a
> Daniel> prerequisite but does anyone happen to know what it would take
> Daniel> in practise to make that happen (let's say, with OpenMPI)?
>
> I haven't heard of anybody working on MPI support for GDB.
Last year, I was starting a work in order to implement such a support on GDB.
However, due to internal reasons, I had to quit this and start another task.
Unfortunately, I only spent a few days studying MPI and did not have the
chance to create an opinion about how difficult it would be to make GDB
support it.
--
Sérgio Durigan Júnior
Linux on Power Toolchain - Software Engineer
Linux Technology Center - LTC
IBM Brazil
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: MPI debugging support in GDB?
2009-10-06 20:39 Daniel Qarras
@ 2009-10-13 20:52 ` Tom Tromey
2009-10-14 4:28 ` Sérgio Durigan Júnior
0 siblings, 1 reply; 8+ messages in thread
From: Tom Tromey @ 2009-10-13 20:52 UTC (permalink / raw)
To: Daniel Qarras; +Cc: gdb
>>>>> "Daniel" == Daniel Qarras <dqarras@yahoo.com> writes:
Daniel> Now that GDB 7.0 with multi-process support is out (thanks to
Daniel> everyone involved!) I started to wonder does it pave way to MPI
Daniel> support in GDB in any way? I would presume it to be a
Daniel> prerequisite but does anyone happen to know what it would take
Daniel> in practise to make that happen (let's say, with OpenMPI)?
I haven't heard of anybody working on MPI support for GDB.
I have heard a few requests for this, but I know very little about MPI,
so I don't even know what would be needed.
Tom
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: MPI debugging support in GDB?
@ 2009-10-06 20:39 Daniel Qarras
2009-10-13 20:52 ` Tom Tromey
0 siblings, 1 reply; 8+ messages in thread
From: Daniel Qarras @ 2009-10-06 20:39 UTC (permalink / raw)
To: gdb
Hi!
Now that GDB 7.0 with multi-process support is out (thanks to everyone involved!) I started to wonder does it pave way to MPI support in GDB in any way? I would presume it to be a prerequisite but does anyone happen to know what it would take in practise to make that happen (let's say, with OpenMPI)?
--- On Sat, 9/29/07, Daniel Qarras <dqarras@yahoo.com> wrote:
> From: Daniel Qarras <dqarras@yahoo.com>
> Subject: MPI debugging support in GDB?
> To: gdb@sourceware.org
> Date: Saturday, September 29, 2007, 10:58 AM
>
> What is the current status for debugging MPI applications with GDB? If
> this is already possible/doable is there some documentation
> available? If this not possible are there any plans to implement
> this?
Thanks!
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-10-16 6:37 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-29 15:00 MPI debugging support in GDB? Daniel Qarras
2007-09-29 15:57 ` Daniel Jacobowitz
2009-10-06 20:39 Daniel Qarras
2009-10-13 20:52 ` Tom Tromey
2009-10-14 4:28 ` Sérgio Durigan Júnior
2009-10-14 14:40 ` Tom Tromey
2009-10-14 14:57 ` Pedro Alves
2009-10-16 20:34 ` Daniel Qarras
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox