[mpich-discuss] mpiexec and DISPLAY for remote hosts

Isaila, Florin D. fisaila at mcs.anl.gov
Wed Nov 12 08:48:44 CST 2014


-enable-x works. 

Thanks Pavan
________________________________________
From: Balaji, Pavan [balaji at anl.gov]
Sent: Tuesday, November 11, 2014 6:44 PM
To: discuss at mpich.org
Subject: Re: [mpich-discuss] mpiexec and DISPLAY for remote hosts

Did you try passing -enable-x to mpiexec?

  — Pavan

> On Nov 11, 2014, at 5:00 PM, Isaila, Florin D. <fisaila at mcs.anl.gov> wrote:
>
> Hi,
>
> I am having troubles running mpiexec (from MPICH 3.1) on remote hosts with xterm (for debugging purposes) from an Ubuntu box.
>
> The following command works perfectly in local:
> mpiexec -n 1 xterm
>
> However, if I use a machine file:
> mpiexec -f macfile -n 1 xterm
> xterm Xt error: Can't open display:
> xterm:  DISPLAY is not set
>
> ===================================================================================
> =   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
> =   PID 19225 RUNNING AT thwomp.mcs.anl.gov
> =   EXIT CODE: 1
> =   CLEANING UP REMAINING PROCESSES
> =   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
> ===================================================================================
>
> X forwarding is activated:
> fisaila at howard:bin$ grep X11Forwarding /etc/ssh/sshd_config
> X11Forwarding yes
>
> The following command works:
> fisaila at howard:bin$ ssh thwomp.mcs.anl.gov xterm
>
> Any suggestion how to solve this?
>
> Thanks
> Florin
>
>
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss

--
Pavan Balaji  ✉️
http://www.mcs.anl.gov/~balaji

_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list