Telcon: 2023 10 18
Peter Scheibel edited this page Oct 18, 2023
·
14 revisions
Wednesday October 18th, 9am PT (UTC -7:00)
- Peter Scheibel (host)
- Mark Krentel
- Brian Van Essen
- Prentice Bisbal
- Phil Regier
- Yang Liu
- Richarda Butler
- Tammy Dahlgren
- Pranav Sivaraman
This meeting is for Q&A: there are no pre-planned general topics.
- Prentice: is there a way to tell Spack "build openmpi for each compiler I have"?
- This is possible with an environment using matrices
- https://spack.readthedocs.io/en/latest/environments.html#spec-matrices
- Overall strategy:
- Create one env for the cluster
- In etc profile script
- Want to use lmod modules, not activate the env
- This works: spack can generate module files for packages installed in an env
- Don't have to activate the env to use the modules
- Prentice: building hierarchies
- Issue creating modules for oneapi-compilers
- They go below gcc (because they were installed with gcc)
- Loading oneapi-compiler module, not seeing any other packages
- Want to be able to load oneapi-compiler (to run the compiler binaries) and also load modules for packages built with oneapi
- Don't see packages built with oneapi under the oneapi component of the hierarchy
- https://spack.readthedocs.io/en/latest/module_file_support.html
modules:
default:
enable:
- lmod
lmod:
core_compilers:
- 'gcc@4.8'
- Prentice: want to rebuild packages with different compilers
-
amd-aocl
package was concretized with%aocc
but all its dependencies are concretized withaocl%gcc
concretizer:reuse:false
- If you use env matrices and above setting, you should get a hierarchy for each compiler
-
- Pranav: building
cuda_arch
when building packages- OpenMP offload + cuda
- Spack allows these to be done together, but they should be exclusive
- In particular if you want to set cuda_arch for offload, right now spack requires
+cuda
whencuda_arch=...
- Related: desire to have GPU as part of arch: https://github.com/spack/spack/issues/31581
- For now: adding compiler flags to enable openmp offload
- Desire: +sycl variant consistent across packages
- Yang: installing package that prompts user for installation location
- hangs at prompt
- You can provide an answer file, but it needs to be redirected to stdin when running the script
- spack doesn't have a way to do that
- actually: can you set
input=
when invoking the executable - open the answer file (in python)
- actually: can you set
- spack doesn't have a way to do that