<div dir="ltr">Dear Dominik,<div><br></div><div>One trick for getting around this that works on LoadLeveler (and I suspect SLURM) is running:</div><div><br></div><div>xterm</div><div><br></div><div>Instead of the usual "mpirun" when your batch script gets executed. As long as the scheduler's batch script inherits your X11 environment and is running on the login node, you'll then have access to an xterm with full access to mpirun, ssh, etc...</div>
<div><br></div><div>Good luck,</div><div>Aron<br><br><div class="gmail_quote">On Mon, Dec 12, 2011 at 4:35 PM, Dominik Szczerba <span dir="ltr"><<a href="mailto:dominik@itis.ethz.ch">dominik@itis.ethz.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all,<br>
<br>
Many thanks for your suggestions, but there is one fundamental<br>
obstacle: there is no mpiexec available at all, everything must go<br>
through a scheduler.<br>
<br>
I will see into what Satish proposed, i.e. to first get hold of known<br>
nodes. But I am afraid this may fail, because these run some very<br>
limited system.<br>
<br>
Regards,<br>
<font color="#888888">Dominik<br>
</font><div><div></div><div class="h5"><br>
On Mon, Dec 12, 2011 at 2:21 PM, Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>> wrote:<br>
> On Mon, 12 Dec 2011, Matthew Knepley wrote:<br>
><br>
>> On Mon, Dec 12, 2011 at 7:11 AM, Dominik Szczerba <<a href="mailto:dominik@itis.ethz.ch">dominik@itis.ethz.ch</a>>wrote:<br>
>><br>
>> > Thanks for your answers. Meanwhile I clarified the situation a bit:<br>
>> ><br>
>> > I can bring xterm up manually from the command line, but the job is<br>
>> > run using a scheduler (slurm). It then gets executed on arbitrary<br>
>> > nodes (some stripped down linux) which apparently can not make X11<br>
>> > connections.<br>
>> ><br>
>><br>
>> Sometimes you can set the env on the compute nodes, and get DISPLAY right.<br>
><br>
><br>
> With compute nodes -its not easy. Even if they have X11 installed - you<br>
> might have to do multiple things:<br>
><br>
> 1. allocate nodes<br>
> 2. create ssh-x11 tunnels to each node thats allocated [and hope its the same localhost:10 value]<br>
> 3. Now start up the parallel job with this display<br>
><br>
> mpiexec -n 4 ./ex2 -start_in_debugger -display localhost:10<br>
><br>
> Satish<br>
><br>
</div></div></blockquote></div><br></div></div>