LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: William Boatin (wboatin_at_[hidden])
Date: 2004-09-02 19:00:04


before i ask my real question, can some one please tell me how to reply to
any responses to this thread, without creating a new thread? in the past i
have had to reply to responses to my question by starting a new thread
instead of continuing the old one.

thanks

now my question is about xwindows and x11 forwarding
i read the faq entry at this link
http://www.lam-mpi.org/faq/category6.php3#question5
i did what was suggested and i didnt get the desired output
after searching through the archives i modified my script to look like this:

#!/bin/bash -f

echo "Running xterm on `hostname`"
/opt/kde3/bin/konsole -T `hostname` -e $*
exit 0

i had to explicitly give the path to the konsole terminal program; i need to
add that to the path i guess. i stuck the '-T `hostname` so that things were
less confusing (puts hostname in title bar of terminal window).
however, i was expecting to see a window for each rank i launch on the local
machine. my hostfile looks lile this:

simba cpu=3
tom cpu=2

and i execute my program (called m) like this, frome the local machine
(simba):

mpirun c0 c1 c3 -sf -x DISPLAY xterm.bash m

i expected to get three windows, one for my master rank and two for my slave
ranks, with c3 being a window to whats happening on tom, the remote machine.

per my scrip this is the output i get:
Running xterm on neuro-simba
Running xterm on neuro-simba
Running xterm on neuro-tom

however i was gettin only two windows popping up; a slave and a master.
couldnt figure out was going on, till i took a look at the remote machine
screen and lo and behold the terminal windows were popping up on the remote
machine (tom)!

nice, but not what i wanted. i want all the windows for my ranks on my local
machine. 'm' is working correctly on all ranks. my problem is the rogue
window on the remote machine.

so what did i do wrong?

some info that you might need to help me:
-i have an identical file system structure on both machines. 'm' is not in
the home path, but that isnt the problem, i think, cos the window that pops
up on tom shows correct execution of 'm'.

- i have my script file in the same location on both machines

- i use bash

any help? need more info?

thanks

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/