[IPython-dev] parallel ouptut before exception

David Froger david.froger.ml at mailoo.org
Thu Jun 18 15:59:15 EDT 2015


Hello,

I have a IPython 3.1.0 Python 2.7 notebook containing these 2 cells:

    from IPython.parallel import Client
    client = Client(profile="mpi") # cluster was started with 4 procs"

    %%px --block
    print "message"
    raise ValueError, "This is a value error"

For each engine the exception is displayed in the notebook, but I can't get the
"message". (I tried %pxresult, it displays only the exceptions too).

How to display the standard output (and standard error)?

Thanks,
David



More information about the IPython-dev mailing list