From 13370a700c1cc877ac5bf3e170d46191044c6003 Mon Sep 17 00:00:00 2001 From: Athanasios Karmas <karmas@athenarc.gr> Date: Fri, 10 Dec 2021 11:08:13 +0100 Subject: [PATCH] include also previous module path --- create_JupyterLab_kernel.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/create_JupyterLab_kernel.sh b/create_JupyterLab_kernel.sh index 3e31394b..80f4bb23 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 -- GitLab