Skip to content
Snippets Groups Projects
Commit 32eb677a authored by Athanasios Karmas's avatar Athanasios Karmas
Browse files

pinned spack arch in spack/etc/spack/packages.yaml and made code

adaptations to reflect that change
parent c5ad38b0
No related branches found
No related tags found
No related merge requests found
Pipeline #14537 passed with stage
in 8 hours, 3 minutes, and 21 seconds
......@@ -7,6 +7,7 @@ Build and distribute software tools with Spack for the EBRAINS Collaboratory Lab
```
#update modulepath of JupterLab container to include spack arch modulefiles path
module use /srv/test-build/spack/share/spack/modules/linux-centos7-broadwell/
module use /srv/test-build/spack/share/spack/modules/linux-centos7-x86_64/
#start JupyterLab kernel made for spack
jupyter kernelspec install --user /srv/jupyterlab_kernels/int/release20210930/spack_python_kernel_release_20210930/
......
......@@ -19,7 +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
# by the user using pip
......
......@@ -18,7 +18,7 @@ cd /srv/$INSTALLATION_ROOT
spack repo add ebrains-spack-builds
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
echo "Everything ready!"
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