[IPython-dev] Parallel map

Gael Varoquaux gael.varoquaux@normalesup....
Fri Mar 7 13:42:26 CST 2008


On Fri, Mar 07, 2008 at 08:10:36PM +0100, Gael Varoquaux wrote:
> I am trying to do a parallel map using ipython1. Is there a really simple
> way to do this, or a tutorial somewhere telling me how? I can probably
> figure it out, but I have to dig through a fair amount of
> tutorial/doc/wiki articles/reading source code to move forward.

> My requirement is that I want the code to be purely valid self sustained
> Python code.

OK, making some progress at this.

I found out I need to create a MultiEngineClient

rc = client.MultiEngineClient(('127.0.0.1', 10105))

and I can use its map method.

My problem is that I do not know how to create the engines from Python. I
guess I will have to RTFS ipcontroller.

Gaël


More information about the IPython-dev mailing list