Skip to content
Snippets Groups Projects
Commit afa35302 authored by Eleni Mathioulaki's avatar Eleni Mathioulaki
Browse files

Update create_JupyterLab_kernel.sh

parent 765df1db
No related branches found
No related tags found
1 merge request!206create new experimental release
Pipeline #19889 passed with stage
in 25 minutes and 12 seconds
......@@ -12,9 +12,11 @@ EBRAINS_SPACK_ENV=$2
RELEASE_NAME=$3
LAB_KERNEL_ROOT=$4
# enable modules
source /usr/share/modules/init/sh
# capture the empty env
cd ~
env
env >> /tmp/before.txt
# load spack
......@@ -25,7 +27,6 @@ source $INSTALLATION_ROOT/spack/share/spack/setup-env.sh
# spack env activate $EBRAINS_SPACK_ENV
# load modules
source /usr/share/modules/init/sh
module use $INSTALLATION_ROOT/spack/share/spack/modules/linux-ubuntu20.04-x86_64/
source $INSTALLATION_ROOT/spack/var/spack/environments/$EBRAINS_SPACK_ENV/loads
# also add user's .local python3.8 packages to allow package installation at runtime by the user using pip
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment