This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: MPI debugging support in GDB?
- From: Daniel Qarras <dqarras at yahoo dot com>
- To: gdb at sourceware dot org, Tom Tromey <tromey at redhat dot com>, Pedro Alves <pedro at codesourcery dot com>
- Cc: Sérgio Durigan Júnior <sergiodj at linux dot vnet dot ibm dot com>
- Date: Thu, 15 Oct 2009 23:37:51 -0700 (PDT)
- Subject: Re: MPI debugging support in GDB?
> > 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!