Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

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.

Subject: Re: [OMPI users] Tracing the library using gdb and xterm
From: Doug Reeder (dlr_at_[hidden])
Date: 2008-01-01 13:40:34


Krishna,

If you are using ssh to connect to the second machine you need to be
sure that ssh X11 forwarding is enabled and you may need to have mpi
use ssh -X or ssh -Y to connect to the second machine. That is how
the DISPLAY gets set using ssh.

Doug Reeder

On Jan 1, 2008, at 8:11 AM, Krishna Chaitanya wrote:

> Hi,
> I have been tracing the interactions between the
> PERUSE and MPI library,on one machine. I have been using gdb along
> with xterm to have two windows open at the same time as I step
> through the code. I wish to get a better glimpse of the working of
> the point to point calls, by launching the job on two machines and
> by tracing the flow in a similar manner. This is where I stand as
> of now :
>
> mpirun --prefix /usr/local -hostfile machines -np 2 xterm -e gdb
> peruse_ex1
> xterm Xt error: Can't open display:
> xterm: DISPLAY is not set
>
> I tried using the display option for xterm and
> setting the value as 0.0, that was not of much help.
> If someone can guide me as to where the DISPLAY
> parameter has to be set to allow the remote machine to open the
> xterm window, it will be of great help.
>
> Thanks,
> Krishna
>
>
>
> --
> In the middle of difficulty, lies opportunity
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users