In this recipe, we will show how to interact with asynchronous tasks running in parallel with IPython.
You need to start the IPython engines (see the previous recipe). The simplest option is to launch them from the Clusters tab in the notebook dashboard. In this recipe, we use four engines.
In : import time import sys from IPython import parallel from IPython.display import clear_output, display from IPython.html import widgets
In : rc = parallel.Client()
In : view = rc.load_balanced_view()
In : def f(x): ...