Spack v1.0.0

This commit is contained in:
svcusr-spack (Resp. Germann Elsa Sylvia)
2025-07-24 14:00:29 +02:00
parent a7d0c42d39
commit 0f71716d9b
29 changed files with 338 additions and 341 deletions

File diff suppressed because one or more lines are too long

View File

@@ -29,17 +29,12 @@ spack:
environment:
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'
core_compilers:
- gcc@=7.5.0
specs:
- matrix:
- [$compilers]
- ['%gcc@7.5.0']
specs: []
view: false

View File

@@ -1,12 +1,18 @@
spack:
concretizer:
unify: when_possible
unify: false
targets:
granularity: microarchitectures
reuse:
from:
- type: local
- type: external
- type: buildcache
splice:
explicit:
- target: libfabric@1.15.2.0
replacement: libfabric/auxmn
transitive: false
config:
install_tree:
root: $spack/opt/spack/testing
@@ -29,34 +35,20 @@ spack:
environment:
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:':
buildable: true
'gcc:':
buildable: true
libfuse:
externals:
- spec: libfuse@2.9.7
prefix: /usr
'nvhpc:':
buildable: true
specs: []
'cce:':
buildable: true
specs:
- osu-micro-benchmarks +cuda cuda_arch=90 %gcc@14.2.0 ^openmpi@main +cuda cuda_arch=90 ^libfabric@main+cuda fabrics=lnx,cxi,rxm,tcp,shm ^libcxi+cuda ^cuda@12.8.0
view: false
compilers:
- compiler:
spec: gcc@=7.5.0
paths:
cc: /usr/bin/gcc
cxx: /usr/bin/g++
f77: /usr/bin/gfortran
fc: /usr/bin/gfortran
flags: {}
operating_system: sles15
target: aarch64
modules: []
environment: {}
extra_rpaths: []

File diff suppressed because one or more lines are too long

View File

@@ -1,19 +1,17 @@
spack:
concretizer:
targets:
granularity: microarchitectures
unify: false
splice:
explicit:
- target: libfabric@1.15.2.0
replacement: libfabric/auxmn
transitive: false
config:
install_tree:
root: $spack/opt/spack/unstable
definitions:
- compilers_gcc_7.5.0:
- gcc@13.2.0
- gcc@7.5.0
- gcc@=12.3
- gcc@14.2.0/tln2ck4
- nvhpc@24.3
- cce@17.0.0
- compilers_gcc_13.2.0:
- nvhpc@24.11/6wi4jhx
- gcc_7.5.0:
- ffbidx@main/3xig2i
- gcc_13.2.0:
@@ -21,22 +19,28 @@ spack:
- gcc_14.2.0:
- osu-micro-benchmarks@7.5/mit3iil
- osu-micro-benchmarks@7.5/6ycu464
- osu-micro-benchmarks@7.5/a2kzi4a # OSS libfabric@1.22.0
- osu-micro-benchmarks@7.5/c25hiuy # System libfabric@1.22.0
- osu-micro-benchmarks@7.5/bfdstf3 # OSS libfabric@main openmpi@5.0.7
- aws-ofi-nccl@1.13.0/nz3b3yk
- gcc_12.3_openmpi:
- gromacs@2024.1/x33hfjx
- cp2k@2024.3/m3eow6e #+cuda
- relion@4.0.1/rudfcxt
- relion@5.0.0/oyf4n7i
- gromacs@2025.2/cjnqxp7
- gcc_12.3_cray_mpich:
- relion@5.0.0/wk4d62r
- gcc_13.2_openmpi:
- opal-x@fixSolverUnits/ttg7vdz
- opal-x@master/v6v2ehx
- gcc_14.2_openmpi:
- py-torchvision@0.20.1/ysfcgu5
- py-torchaudio@2.5.1/trrglyu
- nvhpc_24.11_openmpi:
- quantum-espresso@7.4/oed4w6w #+cuda +mpigpu hdf5=parallel
- quantum-espresso@7.3.1/d5wpqzw
- quantum-espresso@7.4.1/gxvju5o
include:
- $spack/../spack-psi/env/$os/$target_family/sysconfigs/packages.yaml
mirrors:
@@ -59,83 +63,28 @@ spack:
set:
SLURM_MPI_TYPE: pmix
FI_HMEM_CUDA_USE_DMABUF: '1'
OMPI_MCA_coll: '^han'
core_compilers:
- gcc@=7.5.0
specs:
- matrix:
- [$compilers_gcc_7.5.0]
- ['%gcc@7.5.0']
- matrix:
- [$compilers_gcc_13.2.0]
- ['%gcc@13.2.0']
- matrix:
- [$gcc_7.5.0]
- ['%gcc@7.5.0']
- matrix:
- [$gcc_13.2.0]
- ['%gcc@13.2.0']
- matrix:
- [$gcc_14.2.0]
- ['%gcc@14.2.0']
- matrix:
- [$gcc_12.3_cray_mpich]
- ['%gcc@12.3']
- [^cray-mpich]
- matrix:
- [$gcc_12.3_openmpi]
- ['%gcc@12.3']
- [^openmpi]
- matrix:
- [$gcc_13.2_openmpi]
- ['%gcc@13.2']
- [^openmpi]
- matrix:
- [$gcc_14.2_openmpi]
- ['%gcc@14.2']
- [^openmpi]
- matrix:
- [$nvhpc_24.11_openmpi]
- ['%nvhpc@24.11']
- [^openmpi]
view: false
compilers:
- compiler:
spec: gcc@=14.2.0
paths:
cc: /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-7.5.0/gcc-14.2.0-tln2ck4lolcipi2fj2klu5dei3oac4sv/bin/gcc
cxx: /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-7.5.0/gcc-14.2.0-tln2ck4lolcipi2fj2klu5dei3oac4sv/bin/g++
f77: /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-7.5.0/gcc-14.2.0-tln2ck4lolcipi2fj2klu5dei3oac4sv/bin/gfortran
fc: /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-7.5.0/gcc-14.2.0-tln2ck4lolcipi2fj2klu5dei3oac4sv/bin/gfortran
flags: {}
operating_system: sles15
target: aarch64
modules: []
environment: {}
extra_rpaths: []
- compiler:
spec: gcc@=7.5.0
paths:
cc: /usr/bin/gcc
cxx: /usr/bin/g++
f77: /usr/bin/gfortran
fc: /usr/bin/gfortran
flags: {}
operating_system: sles15
target: aarch64
modules: []
environment: {}
extra_rpaths: []
- compiler:
spec: gcc@=12.3.0
paths:
cc: /usr/bin/gcc-12
cxx: /usr/bin/g++-12
f77: /usr/bin/gfortran-12
fc: /usr/bin/gfortran-12
flags: {}
operating_system: sles15
target: aarch64
modules: []
environment: {}
extra_rpaths: []

View File

@@ -1,31 +0,0 @@
compilers:
- compiler:
spec: gcc@=13.2.0
paths:
cc: /afs/psi.ch/sys/spack/system/opt/spack/stable/linux-sles15-aarch64/gcc-7.5.0/gcc-13.2.0-a3pki4ocu2ipqupkaf6ghg6hry4pkxg3/bin/gcc
cxx: /afs/psi.ch/sys/spack/system/opt/spack/stable/linux-sles15-aarch64/gcc-7.5.0/gcc-13.2.0-a3pki4ocu2ipqupkaf6ghg6hry4pkxg3/bin/g++
f77: /afs/psi.ch/sys/spack/system/opt/spack/stable/linux-sles15-aarch64/gcc-7.5.0/gcc-13.2.0-a3pki4ocu2ipqupkaf6ghg6hry4pkxg3/bin/gfortran
fc: /afs/psi.ch/sys/spack/system/opt/spack/stable/linux-sles15-aarch64/gcc-7.5.0/gcc-13.2.0-a3pki4ocu2ipqupkaf6ghg6hry4pkxg3/bin/gfortran
flags: {}
operating_system: sles15
target: aarch64
modules:
- libfabric/1.22.0
environment: {}
extra_rpaths: []
- compiler:
spec: nvhpc@=24.11
paths:
cc: /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-13.2.0/nvhpc-24.11-6wi4jhxcgbkzgrw6fgrutvten74l5ovl/Linux_aarch64/24.11/compilers/bin/nvc
cxx: /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-13.2.0/nvhpc-24.11-6wi4jhxcgbkzgrw6fgrutvten74l5ovl/Linux_aarch64/24.11/compilers/bin/nvc++
f77: /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-13.2.0/nvhpc-24.11-6wi4jhxcgbkzgrw6fgrutvten74l5ovl/Linux_aarch64/24.11/compilers/bin/nvfortran
fc: /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-13.2.0/nvhpc-24.11-6wi4jhxcgbkzgrw6fgrutvten74l5ovl/Linux_aarch64/24.11/compilers/bin/nvfortran
flags: {}
operating_system: sles15
target: aarch64
modules:
- libfabric/1.22.0
- /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-13.2.0/nvhpc-24.11-6wi4jhxcgbkzgrw6fgrutvten74l5ovl/modulefiles/nvhpc-nompi/24.11
environment: {}
extra_rpaths:
- /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-13.2.0/nvhpc-24.11-6wi4jhxcgbkzgrw6fgrutvten74l5ovl/Linux_aarch64/24.11/math_libs/lib64/stubs

View File

@@ -1,6 +1,5 @@
packages:
all:
compiler: [gcc, nvhpc, cce]
prefer:
- spec: '^openmpi'
when: '^mpi'
@@ -55,11 +54,11 @@ packages:
- modules:
- cray-libsci
prefix: /opt/cray/pe/libsci/23.12.5/cray/17.0/aarch64
spec: cray-libsci@23.12.5%cce@17.0.0 +mpi +openmp
spec: cray-libsci@23.12.5 +mpi +openmp %cce@17.0.0
- modules:
- cray-libsci
prefix: /opt/cray/pe/libsci/23.12.5/GNU/12.3/aarch64/
spec: cray-libsci@23.12.5%gcc@12.3 +mpi +openmp
spec: cray-libsci@23.12.5 +mpi +openmp %gcc@12.3
cray-mpich:
buildable: false
externals:
@@ -123,7 +122,7 @@ packages:
gcc:
externals:
- prefix: /usr
spec: gcc@7.5.0
spec: gcc@7.5.0 languages='c,c++,fortran'
extra_attributes:
compilers:
c: /usr/bin/gcc
@@ -131,10 +130,9 @@ packages:
fortran: /usr/bin/gfortran
operating_system: sles15
target: aarch64
modules:
- libfabric/1.22.0
modules: ['libfabric/1.22.0']
- prefix: /usr
spec: gcc@=12.3
spec: gcc@=12.3 languages='c,c++,fortran'
extra_attributes:
compilers:
c: /usr/bin/gcc-12
@@ -142,10 +140,22 @@ packages:
fortran: /usr/bin/gfortran-12
operating_system: sles15
target: aarch64
modules:
- libfabric/1.22.0
- PrgEnv-gnu/8.5.0
- gcc-native/12.3
modules: ['libfabric/1.22.0', 'PrgEnv-gnu/8.5.0', 'gcc-native/12.3']
- spec: gcc@=13.2.0 languages='c,c++,fortran'
prefix: /afs/psi.ch/sys/spack/system/opt/spack/stable/linux-sles15-aarch64/gcc-7.5.0/gcc-13.2.0-a3pki4ocu2ipqupkaf6ghg6hry4pkxg3
extra_attributes:
compilers:
c: /afs/psi.ch/sys/spack/system/opt/spack/stable/linux-sles15-aarch64/gcc-7.5.0/gcc-13.2.0-a3pki4ocu2ipqupkaf6ghg6hry4pkxg3/bin/gcc
cxx: /afs/psi.ch/sys/spack/system/opt/spack/stable/linux-sles15-aarch64/gcc-7.5.0/gcc-13.2.0-a3pki4ocu2ipqupkaf6ghg6hry4pkxg3/bin/g++
fortran: /afs/psi.ch/sys/spack/system/opt/spack/stable/linux-sles15-aarch64/gcc-7.5.0/gcc-13.2.0-a3pki4ocu2ipqupkaf6ghg6hry4pkxg3/bin/gfortran
modules: ['libfabric/1.22.0']
- spec: gcc@=14.2.0 languages='c,c++,fortran'
prefix: /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-7.5.0/gcc-14.2.0-tln2ck4lolcipi2fj2klu5dei3oac4sv
extra_attributes:
compilers:
c: /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-7.5.0/gcc-14.2.0-tln2ck4lolcipi2fj2klu5dei3oac4sv/bin/gcc
cxx: /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-7.5.0/gcc-14.2.0-tln2ck4lolcipi2fj2klu5dei3oac4sv/bin/g++
fortran: /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-7.5.0/gcc-14.2.0-tln2ck4lolcipi2fj2klu5dei3oac4sv/bin/gfortran
gdbm:
require: '%gcc@7.5.0'
gettext:
@@ -159,13 +169,13 @@ packages:
libbsd:
require: '%gcc@7.5.0'
libcxi:
require: '@main'
require: '@main+cuda'
libevent:
require: '%gcc@7.5.0'
# Crayism
libfabric:
buildable: true
require: '@main+cuda+uring fabrics=cxi,sockets,tcp,udp,xpmem'
require: '@main+uring+cuda fabrics=lnx,cxi,rxm,shm,sockets,tcp,udp,xpmem'
externals:
- modules:
- libfabric/1.22.0
@@ -182,6 +192,8 @@ packages:
require: '%gcc@7.5.0'
libmd:
require: '%gcc@7.5.0'
libnl:
require: '%gcc@7.5.0'
libpciaccess:
require: '%gcc@7.5.0'
libsigsegv:
@@ -193,6 +205,14 @@ packages:
spec: librsvg@2.48.0
libtool:
require: '%gcc@7.5.0'
libunistring:
require: '%gcc@7.5.0'
liburing:
require: '%gcc@7.5.0'
libuv:
require: '%gcc@7.5.0'
libxcrypt:
require: '%gcc@7.5.0'
libxml2:
require: '%gcc@7.5.0'
llvm:
@@ -241,22 +261,28 @@ packages:
nvhpc:
externals:
- prefix: /opt/nvidia/hpc_sdk
spec: nvhpc@24.3
spec: nvhpc@24.3 languages='c,c++,fortran'
extra_attributes:
compilers:
c: /opt/nvidia/hpc_sdk/Linux_aarch64/24.3/compilers/bin/nvc
cxx: /opt/nvidia/hpc_sdk/Linux_aarch64/24.3/compilers/bin/nvc++
fortran: /opt/nvidia/hpc_sdk/Linux_aarch64/24.3/compilers/bin/nvfortran
operating_system: sles15
modules: nvhpc-nompi/24.3
extra_rpaths:
- /opt/nvidia/hpc_sdk/Linux_aarch64/24.3/math_libs/lib64/stubs
- spec: nvhpc@=24.11 languages='c,c++,fortran'
prefix: /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-13.2.0/nvhpc-24.11-6wi4jhxcgbkzgrw6fgrutvten74l5ovl
extra_attributes:
compilers:
c: /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-13.2.0/nvhpc-24.11-6wi4jhxcgbkzgrw6fgrutvten74l5ovl/Linux_aarch64/24.11/compilers/bin/nvc
cxx: /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-13.2.0/nvhpc-24.11-6wi4jhxcgbkzgrw6fgrutvten74l5ovl/Linux_aarch64/24.11/compilers/bin/nvc++
fortran: /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-13.2.0/nvhpc-24.11-6wi4jhxcgbkzgrw6fgrutvten74l5ovl/Linux_aarch64/24.11/compilers/bin/nvfortran
modules: /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-13.2.0/nvhpc-24.11-6wi4jhxcgbkzgrw6fgrutvten74l5ovl/modulefiles/nvhpc-nompi/24.11
extra_rpaths:
- /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-13.2.0/nvhpc-24.11-6wi4jhxcgbkzgrw6fgrutvten74l5ovl/Linux_aarch64/24.11/math_libs/lib64/stubs
opal:
require:
- spec: '%gcc'
- message: Opal 2022.1.0 only builds with gcc@10.4.0
spec: '%gcc@10.4.0 ^openmpi'
when: '@2022.1.0'
opengl:
require: '%gcc@7.5.0'
openldap:
@@ -314,7 +340,7 @@ packages:
buildable: false
externals:
- prefix: /usr
spec: slurm@24.05.3%gcc@7.5.0 +cgroup+gtk+hwloc+mariadb+nvml+pam+pmix+restd
spec: slurm@24.05.3+cgroup+gtk+hwloc+mariadb+nvml+pam+pmix+restd %gcc@7.5.0
sqlite:
require: '%gcc@7.5.0'
tar: