<div dir="ltr"><div>Hi, Jim,<br><br><br>when debugging MPI apps back then some ten years ago (not having access to an Allinea or Etnus tools) we used to spawn xterms from mpirun command <br>line. It should in theory be possible to do the same with pdsh.<br><br></div>Dima<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 15 April 2018 at 01:22, Lux, Jim (337K) <span dir="ltr"><<a href="mailto:james.p.lux@jpl.nasa.gov" target="_blank">james.p.lux@jpl.nasa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="#0563C1" vlink="#954F72" lang="EN-US">
<div class="m_168097893061723352WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Pdsh does most of what I want, but there’s one thing that maybe it does (and I’ve not found it), or there’s some clever way to do this..<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">What I would like is to have the console output from the N ssh sessions return to separate windows..<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Pdsh does a nice job of bringing it all back to one place, but it would be nice to have it divided up.. Say you’re doing pdsh to fire off a sequence of apt-get, or ls or something like that which returns
multiple lines.. – since each node runs at a different rate, the lines come back randomly interspersed.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$pdsh -w b0[1-4] “ls -al /tmp/*”<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Or<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$pdsh -w b0[1-4] “echo temppwd | sudo -S apt-get update package”<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I happen to be on a Mac, so there are apps like iTerm2 that apparently do this, but I’d like a bit more generic (any *nix)
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I see ClusterSSH in a google search, but haven’t tried it yet. Apparently there’s a flavor called csshX for Mac OS X<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Any ideas?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
</div>
</div>
<br>______________________________<wbr>_________________<br>
Beowulf mailing list, <a href="mailto:Beowulf@beowulf.org">Beowulf@beowulf.org</a> sponsored by Penguin Computing<br>
To change your subscription (digest mode or unsubscribe) visit <a href="http://www.beowulf.org/mailman/listinfo/beowulf" rel="noreferrer" target="_blank">http://www.beowulf.org/<wbr>mailman/listinfo/beowulf</a><br>
<br></blockquote></div><br></div>