MPE and X-Server

  • Follow


Hello,

i'va a MPE program.
On my head ist works fine, but i will run it on all nodes.
Does i need an X-Server on all nodes?
If yes, then i've on all nodes an windows?
I want to accelerate the window on my head.

Regards,
Stefan Kuhne
0
Reply Stefan 12/4/2009 12:54:53 PM

Hallo Stefan

On Fri, 04 Dec 2009 13:54:53 +0100
Stefan Kuhne <SK-Privat@gmx.net> wrote:

> i'va a MPE program.
> On my head ist works fine, but i will run it on all nodes.
> Does i need an X-Server on all nodes?
> If yes, then i've on all nodes an windows?
> I want to accelerate the window on my head.

das geht =C3=BCber Portforwarding mit ssh, genaueres findest Du ab Seite 330
im Buch =C2=ABCkuster Computing=C2=BB.
http://www.amazon.de/Cluster-Computing-Heiko-Bauke/dp/3540422994


	Heiko



--=20
-- Nur wer im Wohlstand lebt, schimpft auf ihn.
-- (Ludwig Marcuse)
-- Cluster Computing @ http://www.clustercomputing.de
--       Heiko Bauke @ http://www.mpi-hd.mpg.de/personalhomes/bauke

0
Reply Heiko 12/4/2009 2:00:01 PM


Stefan Kuhne schrieb:

> i'va a MPE program.
> On my head ist works fine, but i will run it on all nodes.
> Does i need an X-Server on all nodes?
>
The error:

Could not open display
Failed to connect to head:1000.0 from node1

Stefan Kuhne
0
Reply Stefan 12/4/2009 2:41:36 PM

Am 04.12.2009, 15:41 Uhr, schrieb Stefan Kuhne <SK-Privat@gmx.net>:

> Stefan Kuhne schrieb:
>
>> i'va a MPE program.
>> On my head ist works fine, but i will run it on all nodes.
>> Does i need an X-Server on all nodes?
>>
> The error:
>
> Could not open display
> Failed to connect to head:1000.0 from node1
>
> Stefan Kuhne

Some years have passed since I had a look into MPE but then
you could choose to have all ranks painting into the same
window using the X11 protocol OR you could use MPE (via MPI)
to delegate the painting to rank 0.

The error message seems to indicate that the environment
variable DISPLAY was set by your SSH client to enable X11
forwarding. The fact that this does not work in turn indicates
that your SSH server on head is not configured to allow
X11 forwarding.

Just for testing purposes you may try to hardcode the X11
display into your MPI code to reach the X11 server directly.

Does
node1$ mpiexec xterm
give a window on head?


-- 
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/
0
Reply Familie 12/5/2009 3:30:50 PM

Familie Bisseling schrieb:

> Just for testing purposes you may try to hardcode the X11
> display into your MPI code to reach the X11 server directly.
> 
I've forgot to say, that i let run it on freeNX.
Under real X11 i've an ulimit problem.
How can i set ulimit -l unlimited under X11?

> Does
> node1$ mpiexec xterm
> give a window on head?
> 
I'll try this.

Regards,
Stefan Kuhne
0
Reply Stefan 12/8/2009 8:12:28 PM

Familie Bisseling schrieb:

Hello,

> Does
> node1$ mpiexec xterm
> give a window on head?
> 
no:
user@Node1:~$ mpiexec xterm
xterm Xt error: Can't open display:
xterm:  DISPLAY is not set
user@Node1:~$

How would it work?
I've no experience with X.

Stefan Kuhne
0
Reply Stefan 12/9/2009 12:04:29 PM

Let's assume that the MPI/MPE processes use just the regular network
protocol to talk directly to the X server.

On the computer where you start the MPI job with mpiexec you must
set the environment variable DISPLAY to something like
head.domain:0.0
where the first zero is the display number and the second zero is
the screen number. If you use VNC or ssh to connect to the head then
the display number might be a 10 or a 1000.

It should be possible to start an xterm on head and see the window.

Now you have to instruct mpiexec to export the environment variable.
For MPICH2 you can just use
mpiexec -genvall ...
to exportz the whole environment for a quick shot.

If X11 authentication comes in the way then you can entirely switch
authentication off for testing purposes by typing
xhost +
in an terminal window running on your X server.

Good luck!
Georg Bisseling
0
Reply Georg 12/9/2009 1:00:00 PM

Georg Bisseling schrieb:

Hello,

> On the computer where you start the MPI job with mpiexec you must
> set the environment variable DISPLAY to something like
> head.domain:0.0
> where the first zero is the display number and the second zero is
> the screen number. If you use VNC or ssh to connect to the head then
> the display number might be a 10 or a 1000.
> 
> It should be possible to start an xterm on head and see the window.
> 
yeah, i can open an Windows on head (X11 and FreeNX) from head.
(DISPLAY=:0.0 / 1000.0)

But not from node with "DISPLAY=host.domain:0.0" i think X11 doesn't
allow it from other Clients.
I search for it ...

Regards,
Stefan Kuhne


PS.: Can we write in german via mail?
0
Reply Stefan 12/9/2009 2:07:56 PM

Stefan Kuhne schrieb:
Hello,

> yeah, i can open an Windows on head (X11 and FreeNX) from head.
> (DISPLAY=:0.0 / 1000.0)
> 
with "DISPLAY=localhost:0:0" i get the error.
I've found that "name:0.0" uses TCP/IP-Sockets and ":0.0" uses Unix-Sockets.

So i've to find out why i can connect with Inix but not with TCP/IP-sckets.

Regards,
Stefan Kuhne
0
Reply Stefan 12/9/2009 2:41:16 PM

Stefan Kuhne schrieb:

> So i've to find out why i can connect with Inix but not with TCP/IP-sckets.
> 
Because of my X-Server was started with "-nolisten tcp".

Stefan Kuhne
0
Reply Stefan 12/9/2009 3:11:12 PM

On Wed, 09 Dec 2009 16:11:12 +0100, Stefan Kuhne <SK-Privat@gmx.net> wrote:

> Stefan Kuhne schrieb:
>
>> So i've to find out why i can connect with Inix but not with TCP/IP-sckets.
>>
> Because of my X-Server was started with "-nolisten tcp".
>
> Stefan Kuhne
>

Does it now work?

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
0
Reply Georg 12/11/2009 1:16:19 PM

Georg Bisseling schrieb:
> On Wed, 09 Dec 2009 16:11:12 +0100, Stefan Kuhne <SK-Privat@gmx.net> wrote:
> 
>> Stefan Kuhne schrieb:
>>
Hello,

>>> So i've to find out why i can connect with Inix but not with
>>> TCP/IP-sckets.
>>>
>> Because of my X-Server was started with "-nolisten tcp".
>>
> Does it now work?
> 
yes.

Thanks for your help.

Stefan Kuhne
0
Reply Stefan 12/11/2009 2:33:16 PM

11 Replies
192 Views

(page loaded in 0.129 seconds)

Similiar Articles:
















7/28/2012 5:03:37 PM


Reply: