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-boun...@open-mpi.org] On Behalf Of ?????? ???? (Nemanja Ilic) Sent: Thursday, April 22, 2010 6:12 AM To: Open MPI User List Subject: [OMPI users] How to debug Open MPI programs with gdb 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 us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users