diff --git a/create_JupyterLab_kernel.sh b/create_JupyterLab_kernel.sh index 3e31394be8d5cabe58e8cca0ef1a86d3c960a406..80f4bb23a9ea2ba7c4f5534bd541c7a0b8dca92f 100644 --- a/create_JupyterLab_kernel.sh +++ b/create_JupyterLab_kernel.sh @@ -19,6 +19,7 @@ spack repo add /srv/$INSTALLATION_ROOT/ebrains-spack-builds # no need to activate as the env is already activated in the context it is used #spack env activate $SPACKIFIED_ENV +module use /srv/$INSTALLATION_ROOT/spack/share/spack/modules/linux-centos7-broadwell/ module use /srv/$INSTALLATION_ROOT/spack/share/spack/modules/linux-centos7-x86_64/ source /srv/$INSTALLATION_ROOT/spack/var/spack/environments/$SPACKIFIED_ENV/loads # add also user's .local python3.8 packages to allow package installation at runtime