This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
institute_lorentz:slurm_ipyparallel [2017/09/21 12:33] – [Adjust created ipython parallel profiles] lenocil | institute_lorentz:slurm_ipyparallel [2020/01/15 13:37] (current) – removed lenocil | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 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' | ||
- | |||
- | create a custom python environment as the simple session below shows | ||
- | |||
- | < | ||
- | export PATH=/ | ||
- | conda create --name=< | ||
- | source activate < | ||
- | conda install ipyparallel | ||
- | conda install < | ||
- | </ | ||
- | |||
- | ===== Create an ipython parallel profile ===== | ||
- | |||
- | To create an ipython parallel* profile type | ||
- | |||
- | < | ||
- | export PATH=/ | ||
- | ipython profile create --parallel --profile=< | ||
- | </ | ||
- | |||
- | the session above will create < | ||
- | |||
- | To save profiles in alternative locations set the environment variable IPYTHONDIR. | ||
- | |||
- | ===== Adjust created ipython parallel profiles ===== | ||
- | |||
- | < | ||
- | mkdir "/ | ||
- | cp / | ||
- | cp / | ||
- | cp / | ||
- | </ | ||
- | |||
- | ===== Start the parallel profile ===== | ||
- | * Login to http:// | ||
- | * Navigate to the `Cluster' | ||
- | * Start profile < |