https://github.com/midnighter/meetup-ipyparallel
Material for the ipyparallel presentation at the Python Users Berlin meetup Oct 2016.
https://github.com/midnighter/meetup-ipyparallel
Last synced: 8 months ago
JSON representation
Material for the ipyparallel presentation at the Python Users Berlin meetup Oct 2016.
- Host: GitHub
- URL: https://github.com/midnighter/meetup-ipyparallel
- Owner: Midnighter
- License: mit
- Created: 2016-10-17T01:43:29.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-17T01:44:21.000Z (over 9 years ago)
- Last Synced: 2025-01-04T20:15:10.570Z (over 1 year ago)
- Language: Jupyter Notebook
- Size: 32.2 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Interactive Parallel Computing
How to set up `ipyparallel` and test the notebooks from the Python Users Berlin
meetup.
## Installation & Setup
1. Create virtualenv
2. install `pip -r requirements.in`
3. Enable install & extensions:
* with no flag, this will attempt to install to system space (will
require root privileges)
* `--user` will install into user space
* `--sys-prefix` will install into the environment (my preferred choice)
```
jupyter nbextension enable --py widgetsnbextension --sys-prefix
jupyter nbextension install --py ipyparallel --sys-prefix
jupyter nbextension enable --py ipyparallel --sys-prefix
jupyter serverextension enable --py ipyparallel --sys-prefix
```
4. Create a profile
```
ipython profile create --parallel --profile=mylocal
```
5. Start the notebooks `jupyter notebook`
6. Start a cluster either through the cluster tab in Jupyter or with `ipcluster
start`.
The material covered in the meetup is introductory. Please delve into [the
documentation](https://ipyparallel.readthedocs.io/en/latest/) for more in-depth
descriptions and further topics.