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:
- Does anyone have any experience with debugging OpenMPI apps with pgdbg?
- What do the “DiBreakpointSet fails” errors mean and how do I prevent them?
Thanks a lot.
–andy