Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You may also add those and other frequently accessed places to your favourites:

...

Leveraging the ECMWF software stack: using modules

Note
titleLoad your modules first!

Make sure you load the necessary modules BEFORE starting your kernels so they have the right environment. Loading modules after will not have any effect on existing kernels.

...

Multimedia
namejupyter_lmod.mp4
width1000
autostarttrue
height100%

Using your own environments

To use your own conda environment as a kernel for Jupyter notebook you will need to have ipykernel installed in the conda environment before starting your Jupyter instance. ipykernel can be installed with:

No Format
conda activate myCondaEnv
conda install ipykernel
python3 -m ipykernel install --user --name=myCondaEnv

If you want to make your own Python virtual environment visible in Jupyterlab, the steps are similar:

No Format
source myVenv/bin/activate
pip3 install ipykernel
python3 -m ipykernel install --user --name=myVenv

To remove your personal kernels from Jupyterlab once you don't need them anymore, you could do so with:

No Format
jupyter kernelspec uninstall myKernelName