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

fix: #56

parent 98b802f2
No related branches found
No related tags found
No related merge requests found
...@@ -41,6 +41,11 @@ mkdir -p \$R_LIBS_USER ...@@ -41,6 +41,11 @@ mkdir -p \$R_LIBS_USER
export R_LIBS=\$R_LIBS_USER:\$R_LIBS export R_LIBS=\$R_LIBS_USER:\$R_LIBS
EOF EOF
# ... and set the SYSTEMNAME env var, to use Spack commands inside the kernel
cat <<EOF >> $KERNEL_PATH/bin/env.sh
export SYSTEMNAME=ebrainslab
EOF
# (4) create startup script for python kernel # (4) create startup script for python kernel
cat $KERNEL_PATH/bin/env.sh > $KERNEL_PATH/bin/env_python.sh cat $KERNEL_PATH/bin/env.sh > $KERNEL_PATH/bin/env_python.sh
echo "python -m ipykernel_launcher -f \$@" >> $KERNEL_PATH/bin/env_python.sh echo "python -m ipykernel_launcher -f \$@" >> $KERNEL_PATH/bin/env_python.sh
......
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