Tuesday, 3 February 2015

ipcluster setup

setup ipcluster

1. install IPython please check here
2. it is better to make a snapshot at this point
3. create a IPython.parallel profile
      >>ipython profile create --parallel -profile=[profile_name]
4. find profile/ipcontroller_config.py and edit
            c = get_config()
5. start a controller with --ip=[contoller_ip]
***if do the 5th step, the  3rd and 4th is unneesary

           ipcontroller --ip=
           ipcontroller start --ip=

6. copy ipcontroller-engine.json from controller ( to all engines ( and the rest) by executing a script

            scp /home/ubuntu/.config/ipython/profile_default/security/ipcontroller-engine.json ubuntu@

7. start engine by
            ipcluster engines
            ipcluster engines --n=8