[IPython-user] IPython1 with SSH
Fernando Perez
fperez.net@gmail....
Fri Aug 17 11:39:26 CDT 2007
On 8/17/07, Brian Granger <ellisonbg.net@gmail.com> wrote:
> > ipcontroller
> > ipengine --controller-ip=myhost
> > doesn't work:
> > >>>import ipython1.kernel.api as kernel
> > >>>rc = kernel.RemoteController(('127.0.0.1',10105))
For these kinds of situations, you may want to keep arounda cluster
description file that you pass to ipcluster instead of manually
starting everyone:
maqroll[pycode]> cat cluster-appm7.py
"""Simple description of a distributed cluster"""
controller = dict(host='foo',
engine_port=None, # default is 10105
control_port=None,
)
engines = dict(my.first.host.com=1,
123.345.23.324=1,
another.host.com=2, # 2 means 2 engines on this node
)
It's convenient to keep things this way when describing clusters that
you want to reuse often. You pass this description to ipcluster via
the -f flag.
Cheers,
f
More information about the IPython-user
mailing list