User Tools

Site Tools


institute_lorentz:slurm_ipyparallel

This is an old revision of the document!


ipyparallel on maris

This quick tutorial will help you with the setup of your first ipyparallel session on maris' jupyterhub.

Python environments

You can either use maris-jupyterhub' python environment and all the packages therein or

create a custom python environment as the simple session below shows

export PATH=/marisdata/MARISHUB/bin:${PATH}
conda create --name=<name>
source activate <name>
conda install ipyparallel
conda install <all-packages-you-might-need>

Create an ipython parallel profile

To create an ipython parallel* profile type

export PATH=/marisdata/MARISHUB/bin:${PATH}
ipython profile create --parallel --profile=<profile-name>

the session above will create <profile-name> in the location established by the environment variable IPYTHONDIR.

On maris IPYTHONDIR defaults to ${HOME}/.ipython/.

institute_lorentz/slurm_ipyparallel.1505983837.txt.gz ยท Last modified: 2017/09/21 08:50 by lenocil