PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

OpenMPI debugging?

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling
View previous topic :: View next topic  
Author Message
acaird



Joined: 18 Jan 2005
Posts: 2

PostPosted: Fri Jun 30, 2006 9:13 pm    Post subject: OpenMPI debugging? Reply with quote

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
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6119
Location: The Portland Group Inc.

PostPosted: Wed Jul 05, 2006 12:19 pm    Post subject: Reply with quote

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
View user's profile
acaird



Joined: 18 Jan 2005
Posts: 2

PostPosted: Wed Jul 05, 2006 5:56 pm    Post subject: Reply with quote

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
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group