[IPython-dev] Parallel: Report progress from the engines

Fernando Perez fperez.net at gmail.com
Tue Aug 13 23:16:35 EDT 2013


Hi Darlan,

On Tue, Aug 13, 2013 at 8:07 PM, Darlan Cavalcante Moreira
<darcamo at gmail.com> wrote:
>
> benjaminrk at gmail.com writes:
>
> Thank you Fernando and MinRK.
>
> I haven't used MPI before. I'll need some time to dig through these
> examples, but it's a good start.
>
> I tried to run the notebooks, but I had a problem with the line below
>
>     from IPython.kernel.zmq.datapub import publish_data
>
> which gives me an import error, since IPython.kernel is not used
> anymore. I could not find out where this function was moved to. Googling
> for publish_data I found the notebook below
> http://nbviewer.ipython.org/urls/raw.github.com/ellisonbg/ipython/8194b678147abb2d435a07714a9b3a0fdd99ca73/docs/examples/notebooks/publish_data.ipynb
> which confirms this function is exactly what I was looking for (as long
> as I can get the value of the published variable while the task is still
> running). Is it still in IPython?

Yes, in fact the above is the correct location for IPython 1.0.  If
you are using IPython 0.13.x, you'll need to upgrade to 1.0, as the
above functionality was not present in the 0.13.x series.

Cheers,

f



More information about the IPython-dev mailing list