Hi,<br>
Thanks for your time, but I still am not getting this to work. <br>
Let say, i have <span style="font-style: italic;">local machine</span> and <span style="font-style: italic;">remote machine</span>. I am ssh-ing from <span style="font-style: italic;">local machine</span> to <span style="font-style: italic;">
remote machine </span>and I am issuing mpiexec from <span style="font-style: italic;">local machine.</span><br>
By default, the DISPLAY variable is set to 0.0 on both the terminals. <br>
<span style="color: rgb(0, 0, 153);"> <span style="color: rgb(0, 0, 0);">At the prompt of the local node, I am using mpiexec along with "xterm -e gdb"</span><br>
<br>
</span>@ravi: <br>
> You have to set the DISPLAY variable to the
IPAddress:0.0 on the remote machine whre you are trying to run the job.<br>
On the local node, "xhost +" displays :<br>
<span style="color: rgb(0, 0, 153);">access control disabled, clients can connect from any host</span>.<br>
On the remote node, I tried doing : <br>
$ export DISPLAY = localhost:0.0<br>
<br>
The remote node's debugging window was
launched on the remote terminal and the local's window was launched on
the local node. But, I need to have the remote node's window displayed
on the local node. <br>
Same was the case with : <br>
$ export DISPLAY = :0.0 on the remote node. <br>
<br>
@Ashley : <br>
>It sounds like you set DISPLAY before sshing to the remote machine, you<br>
should run ssh without the -x flag (although it won't do any harm) and<br>
set DISPLAY on the machine where you issue the mpirun.<br>
Setting the DISPLAY to localhost:0.0 on
the local node and not altering the DISPLAY on the remote
node, fails to open the window on either machine. <br>
<br>
Please help me get past this.<br>
<br>
Thanks,<br>
Krishna Chaitanya K <br>
<br>
<br>
<br>
<br>
<br>
>It sounds like you set DISPLAY before sshing to the remote machine, you<br>
should run ssh without the -x flag (although it won't do any harm) and<br>
set DISPLAY on the machine where you issue the mpirun.<br>
<br>
<br><br><div><span class="gmail_quote">On 1/3/08, <b class="gmail_sendername">Ashley Pittman</b> <<a href="mailto:apittman@concurrent-thinking.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
apittman@concurrent-thinking.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>On Thu, 2008-01-03 at 16:44 +0530, Krishna Chaitanya wrote:<br>> Hi Ravi,<br>>
The problem is as simple as this : When I issue the<br>> mpiexec command with the gdb option, i wish to have xterm launch two<br>> debug windows so that i can trace through sender's and the receiver's<br>> codes.
<br>> As
of now, xterm is launching two windows, but one on my<br>> local machine and the other on the remote machine and I wish to have<br>> both displayed on the local machine.<br>> > You have to set the DISPLAY variable to the IPAddress:
0.0 on<br>> the remote machine whre you are trying to run the job.<br>>
The IPAddress should be the remote machine's or the<br>> local machine's?<br>><br>> I anyway tried both.<br>> At the local machine, i did "xhost +" and got :<br>> access control disabled, clients can connect from any host
<br>><br>> But,
the remote node's debug window is still being<br>> launched in the remote machine and not on the local machine.<br><br>It sounds like you set DISPLAY before sshing to the remote machine, you<br>should run ssh without the -x flag (although it won't do any harm) and
<br>set DISPLAY on the machine where you issue the mpirun.<br><br>Ashley,<br><br></blockquote></div><br><br clear="all"><br>-- <br>In the middle of difficulty, lies opportunity