Changes
Page history
Update jupyter for hpc
authored
Nov 22, 2018
by
Jens Henrik Goebbert
Show whitespace changes
Inline
Side-by-side
jupyter-for-hpc.md
View page @
ea7019f6
...
@@ -65,11 +65,11 @@ The installed kernels might not suite your needs and you want to switch to a dif
...
@@ -65,11 +65,11 @@ The installed kernels might not suite your needs and you want to switch to a dif
In that case you need to set up your own specialized Jupyter kernel (located in ''${HOME}/.local/share/jupyter/kernels/'').
In that case you need to set up your own specialized Jupyter kernel (located in ''${HOME}/.local/share/jupyter/kernels/'').
This can be done in the terminal in a few steps on the supercomputer:
This can be done in the terminal in a few steps on the supercomputer:
1.
LOAD the modules you need
1.
LOAD the modules you need
*
start with ''module
--force
purge'' to remove any module which is already loaded
*
start with ''module purge'' to remove any module which is already loaded
*
ensure this includes a recent Python 3.x (even if you are not planing to use Python)
*
ensure this includes a recent Python 3.x (even if you are not planing to use Python)
*
example:
*
example:
```
shell
```
shell
module
--force
purge
module purge
module use /usr/local/software/jureca/OtherStages
module use /usr/local/software/jureca/OtherStages
module load Stages/Devel-2018a
module load Stages/Devel-2018a
module load GCCcore/.5.5.0
module load GCCcore/.5.5.0
...
@@ -123,7 +123,7 @@ Now, modify this basic jupyter kernel to suite your needs.
...
@@ -123,7 +123,7 @@ Now, modify this basic jupyter kernel to suite your needs.
```
shell
```
shell
#!/usr/bin/env bash
#!/usr/bin/env bash
module
--force
purge
module purge
module load Stages/Devel-2018a
module load Stages/Devel-2018a
module load GCCcore/.5.5.0
module load GCCcore/.5.5.0
module load Jupyter
module load Jupyter
...
...
...
...