Re: [OMPI users] problems with the -xterm option

2011-05-03 Thread jody
Launching xterm by mpirun onto a remote platform without a command simply opens a xterm-window which sits there until you type exit into it or close it by pressing on the frame's close button. (of course only if the display is forwarded to the local machine) On Mon, May 2, 2011 at 4:30 PM, Ralph

Re: [OMPI users] problems with the -xterm option

2011-05-02 Thread Ralph Castain
On May 2, 2011, at 8:21 AM, jody wrote: > Hi > Well, the difference is that one time i call the application > 'HelloMPI' with the '--xterm' option, > whereas in my previous mail i am calling the application 'xterm' > (without the '--xterm' option) Ah, well that might explain it. I don't know how

Re: [OMPI users] problems with the -xterm option

2011-05-02 Thread jody
Hi Well, the difference is that one time i call the application 'HelloMPI' with the '--xterm' option, whereas in my previous mail i am calling the application 'xterm' (without the '--xterm' option) Jody On Mon, May 2, 2011 at 4:08 PM, Ralph Castain wrote: > > On May 2, 2011, at 7:56 AM, jody wro

Re: [OMPI users] problems with the -xterm option

2011-05-02 Thread Ralph Castain
On May 2, 2011, at 7:56 AM, jody wrote: > Hi Ralph > > Thank You for doing the fix. > > Do you perhaps also have an idea what is going on when i try to start > xterm (or probably an other X application) on a remote host? > In this case it is not enough to specify the '--leave-session-attached'

Re: [OMPI users] problems with the -xterm option

2011-05-02 Thread jody
Hi Ralph Thank You for doing the fix. Do you perhaps also have an idea what is going on when i try to start xterm (or probably an other X application) on a remote host? In this case it is not enough to specify the '--leave-session-attached' option. These calls won't open any xterms mpirun -np

Re: [OMPI users] problems with the -xterm option

2011-05-02 Thread Ralph Castain
On May 2, 2011, at 2:34 AM, jody wrote: > Hi Ralph > > I rebuilt open MPI 1.4.2 with the debug option on both chefli and squid_0. > The results are interesting! > > I wrote a small HelloMPI app which basically calls usleep for a pause > of 5 seconds. > > Now calling it as i did before, no MPI

Re: [OMPI users] problems with the -xterm option

2011-05-02 Thread jody
Hi Ralph I rebuilt open MPI 1.4.2 with the debug option on both chefli and squid_0. The results are interesting! I wrote a small HelloMPI app which basically calls usleep for a pause of 5 seconds. Now calling it as i did before, no MPI errors appear anymore, only the display problems: jody@che

Re: [OMPI users] problems with the -xterm option

2011-04-28 Thread jody
Hi Ralph Thank you for your suggestions. I'll be happy to help you. I'm not sure if i'll get around to this tomorrow, but i certainly will do so on Monday. Thanks Jody On Thu, Apr 28, 2011 at 11:53 PM, Ralph Castain wrote: > Hi Jody > > I'm not sure when I'll get a chance to work on this - g

Re: [OMPI users] problems with the -xterm option

2011-04-28 Thread Ralph Castain
Hi Jody I'm not sure when I'll get a chance to work on this - got a deadline to meet. I do have a couple of suggestions, if you wouldn't mind helping debug the problem? It looks to me like the problem is that mpirun is crashing or terminating early for some reason - hence the failures to send m

Re: [OMPI users] problems with the -xterm option

2011-04-28 Thread Ralph Castain
No immediate suggestions - I won't get a chance to test this until later as I don't normally run an x11 server on my box, and don't have another way to test it. On Apr 28, 2011, at 8:38 AM, jody wrote: > Hi > > Unfortunately this does not solve my problem. > While i can do > ssh -Y squid_0 x

Re: [OMPI users] problems with the -xterm option

2011-04-28 Thread jody
Hi Unfortunately this does not solve my problem. While i can do ssh -Y squid_0 xterm and this will open an xterm on m,y machiine (chefli), i run into problems with the -xterm option of openmpi: jody@chefli ~/share/neander $ mpirun -np 4 -mca plm_rsh_agent "ssh -Y" -host squid_0 --xterm 1 hos

Re: [OMPI users] problems with the -xterm option

2011-04-28 Thread Ralph Castain
Should be able to just set -mca plm_rsh_agent "ssh -Y" on your cmd line, I believe On Apr 28, 2011, at 12:53 AM, jody wrote: > Hi Ralph > > Is there an easy way i could modify the OpenMPI code so that it would use > the -Y option for ssh when connecting to remote machines? > > Thank You > J

Re: [OMPI users] problems with the -xterm option

2011-04-28 Thread jody
Hi Ralph Is there an easy way i could modify the OpenMPI code so that it would use the -Y option for ssh when connecting to remote machines? Thank You Jody On Thu, Apr 7, 2011 at 4:01 PM, jody wrote: > Hi Ralph > thank you for your suggestions. After some fiddling, i found that after my > la

Re: [OMPI users] problems with the -xterm option

2011-04-07 Thread jody
Hi Ralph thank you for your suggestions. After some fiddling, i found that after my last update (gentoo) my sshd_config had been overwritten (X11Forwarding was set to 'no'). After correcting that, i can now open remote terminals with 'ssh -Y' and with 'ssh -X' (but with '-X' is till get those xaut

Re: [OMPI users] problems with the -xterm option

2011-04-06 Thread Ralph Castain
Here's a little more info - it's for Cygwin, but I don't see anything Cygwin-specific in the answers: http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-ssh-no-x11forwarding On Apr 6, 2011, at 12:30 PM, Ralph Castain wrote: > Sorry Jody - I should have read your note more carefully to see that y

Re: [OMPI users] problems with the -xterm option

2011-04-06 Thread Ralph Castain
Sorry Jody - I should have read your note more carefully to see that you already tried -Y. :-( Not sure what to suggest... On Apr 6, 2011, at 12:29 PM, Ralph Castain wrote: > Like I said, I'm not expert. However, a quick "google" of revealed this > result: > > >> When trying to set up x11 f

Re: [OMPI users] problems with the -xterm option

2011-04-06 Thread Ralph Castain
Like I said, I'm not expert. However, a quick "google" of revealed this result: > When trying to set up x11 forwarding over an ssh session to a remote server > with the -X switch, I was getting an error like Warning: No xauth data; using > fake authentication data for X11 forwarding. > > When d

Re: [OMPI users] problems with the -xterm option

2011-04-06 Thread jody
Hi Ralph No, after the above error message mpirun has exited. But i also noticed that it is to ssh into squid_0 and open a xterm there: jody@chefli ~/share/neander $ ssh -Y squid_0 Last login: Wed Apr 6 17:14:02 CEST 2011 from chefli.uzh.ch on pts/0 jody@squid_0 ~ $ xterm xterm Xt error:

Re: [OMPI users] problems with the -xterm option

2011-04-06 Thread Ralph Castain
If I read your error messages correctly, it looks like mpirun is crashing - the daemon is complaining that it lost the socket connection back to mpirun, and hence will abort. Are you seeing mpirun still alive? On Apr 5, 2011, at 4:46 AM, jody wrote: > Hi > > On my workstation and the cluste

[OMPI users] problems with the -xterm option

2011-04-05 Thread jody
Hi On my workstation and the cluster i set up OpenMPI (v 1.4.2) so that it works in "text-mode": $ mpirun -np 4 -x DISPLAY -host squid_0 printenv | grep WORLD_RANK OMPI_COMM_WORLD_RANK=0 OMPI_COMM_WORLD_RANK=1 OMPI_COMM_WORLD_RANK=2 OMPI_COMM_WORLD_RANK=3 but when i use the -xterm