<div dir="ltr"><div class="gmail_extra"><div>Hi, </div><div><br></div><div>A while ago I wrote a task watcher:</div><div><br></div><div>    <a href="https://github.com/nfaggian/ipcluster_tools">https://github.com/nfaggian/ipcluster_tools</a><br>
</div><div><br></div><div>I will probably have a sprint on it at the Australian PyCon in August.</div><div><br></div><div>Regards,</div><div><br></div><div>Nathan</div><div><br></div><div class="gmail_quote">On 17 July 2014 20:37, Dave Hirschfeld <span dir="ltr"><<a href="mailto:dave.hirschfeld@gmail.com" target="_blank">dave.hirschfeld@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><div class="h5">Nathan Goldbaum <nathan12343 <at> <a href="http://gmail.com" target="_blank">gmail.com</a>> writes:<br>

<br>
><br>
> Hi all,<br>
> I'm finding myself dealing with a lengthy computation using an IPython<br>
parallel cluster and MPI4py.<br>
><br>
> I'd like to be able to see what my workers are doing while they are doing<br>
it.  In particular, I'd like to be able to get the stdout stream from each<br>
engine and display it somehow in the output of a client notebook.<br>
><br>
><br>
> So far I've used AsyncResult.wait_interactive() to see what my workers are<br>
doing, but this only shows that my computations haven't completed yet - not<br>
what they are doing at any given moment.  <br>
><br>
><br>
> Is it possible to set up something similar to wait_interactive that can<br>
asynchronously stream stdout from each of the workers?<br>
><br>
> Thanks for your help,<br>
><br>
> Nathan<br>
><br>
<br>
</div></div>Fortunately @minrk has a time machine!<br>
<br>
<a href="https://github.com/ipython/ipython/blob/master/examples/Parallel%20Computing
/iopubwatcher.py" target="_blank">https://github.com/ipython/ipython/blob/master/examples/Parallel%20Computing<br>
/iopubwatcher.py</a><br>
<br>
HTH,<br>
Dave<br>
<br>
_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
</blockquote></div><br></div></div>