Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] How to debug Open MPI programs with gdb
From: Ralph Castain (rhc_at_[hidden])
Date: 2010-04-22 10:44:13

What version of OMPI are you using?

On Apr 22, 2010, at 5:11 AM, Немања Илић (Nemanja Ilic) wrote:

> Hello,
> I tried to debug with command: "mpirun -debugger gdb -debug -np 4 my_program"
> Surely, it starts the debugger, but it doesn't start the debugging nor it loads any of the my_program threads into the debugger. If I start debugging manually ("file my_program", then "run"), I can start only one thread of my_program.
> On the contrary when I debug with "mpirun -np 4 xterm -e gdb my_mpi_application" the four debugger windows are started with separate thread each, just as it should be.
> Since I will be using debugger on a remote computer I can only run gdb in console mode. Can anyone help me with this?
> Thank you in advance,
> Best regards,
> Nemanja Ilic
> _______________________________________________
> users mailing list
> users_at_[hidden]