[IPython-dev] Debugging parallel engines

MinRK benjaminrk at gmail.com
Wed May 29 14:08:20 EDT 2013


You can do this on an engine as well, you just have to tell the engine(s)
to listen for connections by calling `parallel.bind_kernel()` on them

http://nbviewer.ipython.org/5672387





On Wed, May 29, 2013 at 4:02 AM, Dave Hirschfeld
<dave.hirschfeld at gmail.com>wrote:

> I'm running a local cluster and would like to debug an error on one of the
> engines. With the notebook it's very handy to start up a qtconsole,
> connecting
> to the currently running notebook kernel as follows:
>
> Notebook log message:
> 2013-05-29 11:49:08.684 [NotebookApp] Kernel started:
> 4008d184-2b6f-4a8f-9447-
> f435c33e0abf
>
> Command to connect a qtconsole to the running kernel:
> ipython qtconsole
> --existing=kernel-4008d184-2b6f-4a8f-9447-f435c33e0abf.json
>
>
> When starting an engine however no message is printed stating which file to
> use to connect to it.
>
> Is it possible to connect a qtconsole to a currently running parallel
> engine
> instance?
>
> Thanks,
> Dave
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20130529/3223af14/attachment-0001.html>


More information about the IPython-dev mailing list