[SciPy-user] running scipy code simultaneously on several machines
Sun Oct 14 11:33:04 CDT 2007
Robert gives the link to more details about how to start everything.
But if you are just running on a single machine, the easiest way is to
$ ipcluster -n 4
>From the shell after installing ipython1. Let us know if you have
On 10/13/07, Kurt Smith <firstname.lastname@example.org> wrote:
> On 10/12/07, Brian Granger <email@example.com> wrote:
> > Mentioned below by Jarrod, IPython1 is probably the best solution for
> > this. Here is the simplest parallel implementation in IPython1:
> > In : import ipython1.kernel.api as kernel
> > In : rc = kernel.RemoteController(('127.0.0.1',10105))
> > In : rc.getIDs()
> > Out: [0, 1, 2, 3]
> Hi all:
> I installed everything to ipython1's liking, and here is what I get
> running the above code:
> $ ipython
> Python 2.5.1 (r251:54863, Sep 21 2007, 22:12:00)
> Type "copyright", "credits" or "license" for more information.
> IPython 0.8.2.svn.r2750 -- 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.
> In : import ipython1.kernel.api as kernel
> In : rc = kernel.RemoteController(('127.0.0.1',10105))
> In : rc.getIDs()
> [snip traceback]
> ConnectionError: Error connecting to the server, please recreate the client.
> The original internal error was:
> error(61, 'Connection refused')
> I'm sure it's something really simple, but I don't know what.
> Pointers? I'm on a MacBook, 10.4.10, python 2.5.1, ipython1 from svn.
> Thanks for any help you can give -- googling turned up nothing.
> SciPy-user mailing list
More information about the SciPy-user