Update Reproducible SW environment with Spack authored by Stefano Corda's avatar Stefano Corda
...@@ -39,17 +39,17 @@ spack: ...@@ -39,17 +39,17 @@ spack:
specs: [wsclean@3.0.1%gcc@9.4.0 ^idg@0.8.1] specs: [wsclean@3.0.1%gcc@9.4.0 ^idg@0.8.1]
view: true view: true
repos: repos:
- ~spack/var/spack/repos/schaap-spack - /home/<username>/spack/var/spack/repos/schaap-spack
concretization: together concretization: together
compilers: compilers:
- compiler: - compiler:
spec: gcc@9.4.0 spec: gcc@9.4.0
paths: paths:
cc: ~/spack/opt/spack/<os_arch>/gcc-9.4.0/gcc-9.4.0-<hash>/bin/gcc cc: /home/<username>/spack/opt/spack/<os_arch>/gcc-9.4.0/gcc-9.4.0-<hash>/bin/gcc
cxx: ~/spack/opt/spack/<os_arch>/gcc-9.4.0/gcc-9.4.0-<hash>/bin/g++ cxx: /home/<username>/spack/opt/spack/<os_arch>/gcc-9.4.0/gcc-9.4.0-<hash>/bin/g++
f77: ~/spack/opt/spack/<os_arch>/gcc-9.4.0/gcc-9.4.0-<hash>/bin/gfortran f77: /home/<username>/spack/opt/spack/<os_arch>/gcc-9.4.0/gcc-9.4.0-<hash>/bin/gfortran
fc: ~/spack/opt/spack/l<os_arch>/gcc-9.4.0/gcc-9.4.0-<hash>/bin/gfortran fc: /home/<username>/spack/opt/spack/<os_arch>/gcc-9.4.0/gcc-9.4.0-<hash>/bin/gfortran
flags: {} flags: {}
operating_system: debian11 operating_system: debian11
target: x86_64 target: x86_64
...@@ -69,6 +69,8 @@ spack: ...@@ -69,6 +69,8 @@ spack:
'{name}_ROOT': '{prefix}' '{name}_ROOT': '{prefix}'
``` ```
`<username>` is the user home folder.
`<os_arch>` can be something similar: `linux-debian11-zen2` or `linux-rhel7-cascadelake` depending on the OS version and architecture. `<os_arch>` can be something similar: `linux-debian11-zen2` or `linux-rhel7-cascadelake` depending on the OS version and architecture.
`<hash>` it changes at each installation (it should be something like: `y3wfadv4z2odyqrlrljbd6tefvidx4gn`). `<hash>` it changes at each installation (it should be something like: `y3wfadv4z2odyqrlrljbd6tefvidx4gn`).
... ...
......