Re: [OMPI users] How to debug Open MPI programs with gdb

2010-04-22 Thread Trent Creekmore
You can run a X-windows server on your local machine and use the GUI for gdb, or use Eclipse Parallel Tools Platform (http://www.eclipse.org/ptp/) that has a debugger and turn on X-Forwarding in your Secure Shell client. -Original Message- From: users-boun...@open-mpi.org [mailto:users-b

Re: [OMPI users] How to debug Open MPI programs with gdb

2010-04-22 Thread Jed Brown
On Thu, 22 Apr 2010 13:11:49 +0200, "=?utf-8?b?0J3QtdC80LDRmtCwINCY0LvQuNGb?= (Nemanja Ilic)" wrote: > 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

Re: [OMPI users] How to debug Open MPI programs with gdb

2010-04-22 Thread Ralph Castain
I don't think the "debugger" option to mpirun will work with gdb - I believe it is intended to work with parallel debuggers such as Totalview. Looking at the code, I certainly can't see how gdb would work correctly with it. There is an mpirun option "-xterm" which will launch the xterm windows

Re: [OMPI users] How to debug Open MPI programs with gdb

2010-04-22 Thread Немања Илић (Nemanja Ilic)
Hello, I am using Open MPI 1.4.1 Best regards, Nemanja Ilic On Thursday 22 April 2010 16:44:13 you wrote: > 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

Re: [OMPI users] How to debug Open MPI programs with gdb

2010-04-22 Thread Ralph Castain
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_progra