Telcon: 2022 11 23
Massimiliano Culpo edited this page Nov 23, 2022
·
8 revisions
To be held Wednesday Nov. 23rd, 9am PT
- Peter Scheibel (host)
- Massimiliano Culpo (host)
- Greg Becker
- Todd Gamblin
- Heather Kelly - UCL
- James L
- Dom Heinzeller
- Allan Fields
- Brian van Essen
- Phil Regier
- Umashankar Sivakumar
- Wileam Phan
(This will be just Q&A - there are no pre-planned general Spack discussion items)
-
Heather How can we use Spack to set up an entire software stack for a few heterogeneous HPC cluster ?
- Massimiliano, Greg: depends on your need a few useful resources are https://spack-tutorial.readthedocs.io/en/latest/ and https://github.com/spack/spack-configs (in particular https://spack-tutorial.readthedocs.io/en/latest/tutorial_stacks.html)
- Greg: advise using hierarchical modules layout (from Lmod) over flat layout
-
Brian: Is there a way to ignore the user scope when setting up an environment?
- Greg: we have a few environment variables that control that (https://spack.readthedocs.io/en/latest/configuration.html#overriding-local-configuration)
- Greg: Another option is to write an environment and double colon all config sections. In that case you can use includes (https://spack.readthedocs.io/en/latest/environments.html#included-configurations) to get defaults in for some sections
- Todd: If the problem is related to "polluted" environments, or different configurations, we might think of naming slices of the environment and add the capability to install each of the slice independently.
-
Wileam How can I run a Python script in CI and leverage Spack internals ?
- Greg, Todd, Massimiliano: you can use
spack-python
. There is a tutorial with all the information about scripting (https://spack-tutorial.readthedocs.io/en/latest/tutorial_spack_scripting.html)
- Greg, Todd, Massimiliano: you can use
-
Dom If it is of interest to anybody we use a Spack extension (https://spack.readthedocs.io/en/latest/extensions.html) to deploy our stack https://github.com/NOAA-EMC/spack-stack
- Massimiliano: could be a nice example to point people to in the docs, for custom extensions used in production