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: modules:
default: default:
roots: roots:
tcl: $spack/opt/spack/stable/modulefiles
lmod: $spack/opt/spack/stable/modulefiles lmod: $spack/opt/spack/stable/modulefiles
tcl: lmod:
cray-mpich: cray-mpich:
environment: environment:
set: set:
@ -32,9 +31,14 @@ spack:
set: set:
SLURM_MPI_TYPE: pmix SLURM_MPI_TYPE: pmix
OMPI_MCA_mtl_ofi_disable_hmem: 'true' 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: core_compilers:
- gcc@7.5.0 - gcc@=7.5.0
specs: specs:
- matrix: - matrix:
- [$compilers] - [$compilers]

View File

@ -30,6 +30,12 @@ spack:
set: set:
SLURM_MPI_TYPE: 'pmix' SLURM_MPI_TYPE: 'pmix'
OMPI_MCA_mtl_ofi_disable_hmem: 'true' 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: packages:
# overwrite any existing compiler # overwrite any existing compiler
'cce:': 'cce:':

View File

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