Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:services:application_services:jupyter:hpc [2018/11/19 09:47] akhuziy [How to use Jupyter-Hub on the SCC] |
en:services:application_services:jupyter:hpc [2020/04/03 11:10] akhuziy [Installing additional Python modules] |
||
---|---|---|---|
Line 30: | Line 30: | ||
In order to make use of IPython Parallel, Jupyter should be started with '' | In order to make use of IPython Parallel, Jupyter should be started with '' | ||
- | After the Jupyter notebook is launched, you can run engines using " | + | After the Jupyter notebook is launched, you can run engines using " |
- | **Note**, that workers start as normal jobs in the '' | + | **Note**, that workers start as normal jobs in the '' |
After the engines are up, the spawned cluster of workers can be checked by the following script: | After the engines are up, the spawned cluster of workers can be checked by the following script: | ||
<code python> | <code python> | ||
import ipyparallel as ipp | import ipyparallel as ipp | ||
- | c = ipp.Client(profile=" | + | c = ipp.Client(profile=" |
c.ids | c.ids | ||
c[: | c[: | ||
</ | </ | ||
- | Workers currently configured to run maximum **1 hour**. If you want to change that, you can edit the submission scripts of workers in '' | + | Workers currently configured to run maximum **1 hour**. If you want to change that, you can edit the submission scripts of workers in '' |
==== Installing additional Python modules ==== | ==== Installing additional Python modules ==== | ||
Additional Python modules can be installed via the terminal and the Python package manager " | Additional Python modules can be installed via the terminal and the Python package manager " | ||
- | <code bash>pip install --user < | + | <code bash>python3 -m pip install --user < |
installs a new module in the home directory. | installs a new module in the home directory. | ||
+ | |||
+ | The installation of large Python modules like " | ||
+ | |||
+ | <code bash> | ||
+ | mkdir -v ~/ | ||
+ | TMPDIR=~/ | ||
+ | </ | ||
+ | |||
+ | You also can use self defined kernels and install conda environments on non-parallel notebook. Please refer to [[en: | ||
+ | |||