ADD: openmpi@main variable requirement

This commit is contained in:
2025-03-12 09:14:02 +01:00
parent ad5ad776d6
commit 88aacdb5c7
3 changed files with 15 additions and 4 deletions

View File

@ -20,9 +20,8 @@ spack:
modules:
default:
roots:
tcl: $spack/opt/spack/stable/modulefiles
lmod: $spack/opt/spack/stable/modulefiles
tcl:
lmod:
cray-mpich:
environment:
set:
@ -32,9 +31,14 @@ spack:
set:
SLURM_MPI_TYPE: pmix
OMPI_MCA_mtl_ofi_disable_hmem: 'true'
lmod:
openmpi@main:
environment:
set:
SLURM_MPI_TYPE: pmix
FI_HMEM_CUDA_USE_DMABUF: '1'
OMPI_MCA_coll: '^han'
core_compilers:
- gcc@7.5.0
- gcc@=7.5.0
specs:
- matrix:
- [$compilers]

View File

@ -30,6 +30,12 @@ spack:
set:
SLURM_MPI_TYPE: 'pmix'
OMPI_MCA_mtl_ofi_disable_hmem: 'true'
openmpi@main:
environment:
set:
SLURM_MPI_TYPE: pmix
FI_HMEM_CUDA_USE_DMABUF: '1'
OMPI_MCA_coll: '^han'
packages:
# overwrite any existing compiler
'cce:':

View File

@ -59,6 +59,7 @@ spack:
set:
SLURM_MPI_TYPE: pmix
FI_HMEM_CUDA_USE_DMABUF: '1'
OMPI_MCA_coll: '^han'
core_compilers:
- gcc@=7.5.0
specs: