This web mail archive is frozen.
This page is part of a frozen web archive of this mailing list.
You can still navigate around this archive, but know that no new mails
have been added to it since July of 2016.
Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.
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 automatically for you, but that doesn't resolve your problem as it basically does what you are doing manually.
It is unclear why you can't run gdb this way on a remote computer. Is something wrong with xterm? Do you not have an xterm client running on your remote computer?
On Apr 22, 2010, at 10:05 AM, ÐÐµÐ¼Ð°ÑÐ° ÐÐ»Ð¸Ñ (Nemanja Ilic) wrote:
> 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:
>>> 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 mailing list