Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

Draft Forbes Group Website (Build by Nikola). The official site is hosted at:

https://labs.wsu.edu/forbes

5912 views
License: GPL3
ubuntu2004
Kernel: Python 2 (Ubuntu, plain)

Here we discuss how to use ipyparallel to perform some simple parallel computing tasks.

Installation

  1. I will be using this from a Jupyter notebook. First make sure you install Jupyter and ipyparallel on your system (I recommend using conda).

    conda install jupyter notebook ipyparallel
  2. Next enable the IPython Clusters tab in Jupyter Notebook:

    ipcluster nbextension enable jupyter nbextension install --py ipyparallel jupyter nbextension enable --py ipyparallel jupyter serverextension enable --py ipyparallel
  3. You will need to restart any Jupyter servers to see the effects of this, but you should now be able to navigate to the IPython Clusters tab and see at least the default profile.

Configuration

The next step is to configure a cluster.

ipython profile create --parallel --profile=local_cluster