| View previous topic :: View next topic |
| Author |
Message |
acaird
Joined: 18 Jan 2005 Posts: 2
|
Posted: Fri Jun 30, 2006 9:13 pm Post subject: OpenMPI debugging? |
|
|
I'm trying to debug programs compiled with OpenMPI (v1.1a9).
It sort of works with a command line like:
mpirun --debugger "pgdbg @mpirun@ @mpirun_args@" --debug -np 2 ./cpi
In fact, this starts to debug orterun when the "run" command is entered, but stops automatically at the MPI_Comm_Rank line in my test program. I'm not sure why, but that's pretty handy.
However, it prints:
db_set_code_brk : DiBreakpointSet fails
many times before it gets to that point and after every "step" command.
Other than that, it seems to be working.
My two questions are:
1. Does anyone have any experience with debugging OpenMPI apps with pgdbg?
2. What do the "DiBreakpointSet fails" errors mean and how do I prevent them?
Thanks a lot.
--andy |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 5001 Location: The Portland Group Inc.
|
Posted: Wed Jul 05, 2006 12:19 pm Post subject: |
|
|
Hi Andy,
Actually I'm pleasantly surprised that PGDBG works at all with OpenMPI since PGDBG currently only supports MPICH. While we're planning on adding OpenMPI and MPICH-2 support later this year, in the immediate future, there isn't a work around this problem, other than to use MPICH.
Thanks,
Mat |
|
| Back to top |
|
 |
acaird
Joined: 18 Jan 2005 Posts: 2
|
Posted: Wed Jul 05, 2006 5:56 pm Post subject: |
|
|
Mat,
I guess I'm glad it works at all, too. :)
We'll be looking forward to the next version of the compilers/debuggers with support for OpenMPI. If there's anything we can do to help, we'd be willing to do what we can.
Thanks a lot.
--andy |
|
| Back to top |
|
 |
|