We show how to setup Ipython parallel in GWDG Clusters. Adapted from ipyparallel docs.
To setup, specify a profile name at setup.sh
:
PROFILENAME=<chosen name>
Then run the shell script:
bash setup.sh install
# start the cluster
ipcluster start --profile=<profilename> -n 10
# Start parallel computation with IPyparallel
$ ipython
In [1]: import ipyparallel as ipp
In [2]: c = ipp.Client(profile=<profilename>)
In [3]: c.ids
bash setup.sh uninstall