[IPython-dev] [Shell-dev] Distributed Processing

Gael Varoquaux gael.varoquaux@normalesup....
Wed Oct 8 16:16:50 CDT 2008


Hi Hanno,

This is a fairly technical question involving IPython. I am forwarding it
to the IPython developement mailing list.

IPython devs, please keep Hanno Cced in your answers, he is not
subscribed to ipython-dev.

Gaël

On Wed, Oct 08, 2008 at 06:46:47PM +0200, Hanno.Klemm@shell.com wrote:

> Hi all,

> I know this is a rather old thread but I just tried to look into parallel processing, again. I downloaded the most recent ipython-0.9.1 and I installed it under my local epd-2.5 tree. if I start ipcontroller -x and 2 engines, and then ipython, everything works. However, if I start ipython with the -pylab flag the following happens:

> /scratch/epd-2.5/bin/ipcontroller -x &
> /scratch/epd-2.5/bin/ipengine &
> /scratch/epd-2.5/bin/ipengine &

> [nlhkl6@rijkes-n-d99487:/scratch/src/ipython-0.9.1/docs/examples/kernel]
> > /scratch/epd-2.5/bin/ipython -pylab
> Python 2.5.2 |EPD 2.5.2001| (r252:60911, Jun  2 2008, 07:21:15)
> Type "copyright", "credits" or "license" for more information.

> IPython 0.9.1 -- An enhanced Interactive Python.
> ?         -> Introduction and overview of IPython's features.
> %quickref -> Quick reference.
> help      -> Python's own help system.
> object?   -> Details about 'object'. ?object also works, ?? prints more.

>   Welcome to pylab, a matplotlib-based Python environment.
>   For more information, type 'help(pylab)'.

> In [1]: from IPython.kernel import client

> In [2]: tc = client.TaskClient()
> Segmentation fault

> This happens reproducably. ipython -pylab without the parallel stuff works, and the parallel stuff without the 
> -pylab flag works, as well. (I use the wxAgg backend)

> Any suggestions how to get both at the same time to work are much appreciated.

> Best regards,
> Hanno



> -----Original Message-----
> From: shell-dev-bounces@mail.enthought.com
> [mailto:shell-dev-bounces@mail.enthought.com]On Behalf Of Robert Kern
> Sent: Monday, July 14, 2008 7:15 PM
> To: shell-dev@mail.enthought.com
> Subject: Re: [Shell-dev] Distributed Processing


> On Mon, Jul 14, 2008 at 11:16, Jack.Cook@shell.com
> <shell-dev@mail.enthought.com> wrote:
> > Hanno,

> > I had the same problem here. It looks like our distribution does not contain the foolscap package. I downloaded the tar file from:

> > http://pypi.python.org/pypi/foolscap/0.2.9

> Ah yes. That's a new dependency. I haven't played with IPython's
> distributed capabilities in a while. Sorry about that.


More information about the IPython-dev mailing list