Alex and Matthew playing with python parallel programming
Ipython1 - http://ipython.scipy.org/moin/IPython1 Docs therefore - http://ipython.scipy.org/doc/ipython1/html
Then we copied the sshx script from the ipython1 distro into /imaging/local/linux/bin Then we did touch .bashrc to stop an sshx error message. Then (for the sake of argument) we made a tiny script to test with:
Then we ran ipcluster -f small_cluster.py
and got this:
Starting controller: Starting engines: Sarting 2 engines on l34 Sarting 2 engines on l32 Sarting 2 engines on l33 Sarting 2 engines on l31 Your cluster is up and running. For interactive use, you can make a MultiEngineClient with: from ipython1.kernel import client mec = client.MultiEngineClient(('l42',10105)) You can then cleanly stop the cluster from IPython using: mec.kill(controller=True)