Skip to content
Snippets Groups Projects

fix custom environment, add hint load modules at jupyterhub interface

1 unresolved thread
1 file
+ 13
6
Compare changes
  • Side-by-side
  • Inline
@@ -10,7 +10,7 @@ We currently have two different architectures at ZIH systems.
Build your kernel environment on the **same architecture** that you want to use
later on with the kernel. In the examples below, we use the name
"my-kernel" for our user kernel. We recommend to prefix your kernels
with keywords like `alpha`, `barnard`, `romeo`, `power9`, `venv`, `conda`.
with keywords like `alpha`, `barnard`, `capella`, `romeo`, `power9`, `venv`, `conda`.
This way, you can later recognize easier how you built the kernel and on which hardware it
will work. Depending on that hardware, allocate resources as follows.
@@ -48,20 +48,23 @@ description on using them with JupyterHub:
Depending on the Cluster that you are targeting, please choose the right modules:
=== "release/23.10"
=== "release/24.04"
For use with Python version 3.10.4,
please try to initialize your Python Virtual Environment like this:
```console
[marie@barnard ~]$ module load release/23.10 GCC/11.3.0 Python/3.10.4
Module GCC/11.3.0, Python/3.10.4 and 12 dependencies loaded.
[marie@barnard ~]$ module load release/24.04 GCCcore/11.3.0 Python/3.10.4
Modules GCCcore/11.3.0, Python/3.10.4 and 11 dependencies loaded.
```
=== "release/23.04"
=== "release/23.10"
For use with Python version 3.10.4,
please try to initialize your Python Virtual Environment like this:
```console
[marie@barnard ~]$ module load release/23.04 GCC/11.3.0 Python/3.10.4
[marie@barnard ~]$ module load release/23.10 GCC/11.3.0 Python/3.10.4
Module GCC/11.3.0, Python/3.10.4 and 12 dependencies loaded.
```
@@ -91,6 +94,10 @@ Installed kernelspec my-kernel in .../.local/share/jupyter/kernels/my-kernel
(my-kernel) marie@compute$ deactivate
```
!!! hint
If you use extra modules at your virtual environment please load them accordingly at
    • Comment on lines +97 to +98
      Suggested change
      97 !!! hint
      98 If you use extra modules at your virtual environment please load them accordingly at
      97 !!! hint "Extra modules"
      98
      99 If you use extra modules at your virtual environment please load them accordingly at
      • Blank line for better readability
      • Meaningful title
Please register or sign in to reply
Jupyter's Hub using the module load plugin located at the left sidebard.
## Conda Environment
Load the needed module depending on Cluster architecture:
Loading