Update Reproducible SW environment with Spack authored by Stefano Corda's avatar Stefano Corda
...@@ -36,7 +36,7 @@ This results in a ~/spack/var/spack/environments/gcc-940/spack.yaml file. **Fill ...@@ -36,7 +36,7 @@ This results in a ~/spack/var/spack/environments/gcc-940/spack.yaml file. **Fill
``` ```
spack: spack:
specs: [wsclean@3.0.1%gcc@9.4.0 ^idg+report@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 - ~spack/var/spack/repos/schaap-spack
...@@ -73,6 +73,11 @@ spack: ...@@ -73,6 +73,11 @@ spack:
`<hash>` it changes at each installation (it should be something like: `y3wfadv4z2odyqrlrljbd6tefvidx4gn`). `<hash>` it changes at each installation (it should be something like: `y3wfadv4z2odyqrlrljbd6tefvidx4gn`).
To add more options, e.g. python or report support, modify the file with:
```
wsclean@3.0.1%gcc@9.4.0 ^idg+report+python@0.8.1
```
Now, install the environment (for certain make-based packages like `ciftsio` you should remove the `-j 32` because it will throw an error): Now, install the environment (for certain make-based packages like `ciftsio` you should remove the `-j 32` because it will throw an error):
``` ```
spack install -j 32 spack install -j 32
... ...
......