Commit c749c478 authored by Andreas Freise's avatar Andreas Freise
Browse files

changing parallels syntax to work with ipyton 4, now needs package ipyparallel

parent 0ff5d3cb
......@@ -24,7 +24,9 @@ Contact at
@author: Daniel Brown
from IPython.parallel import Client
# former syntax depreciated since ipython 4:
#from IPython.parallel import Client
from ipyparallel import Client
import sys
import os
......@@ -44,10 +46,15 @@ class parakat(object):
Uses the ipython clustering for running kat objects in parallel.
To use this you must have started an ipython cluster on your computer.
To use this you must have installed ipyparallel, for example, with
pip install ipyparallel
Then yoy must start an ipython cluster on your computer.
From a new terminal use the command:
ipcluster start -n 4
ipcluster start --n=4
This will start a cluster with 4 workers.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment