Skip to content
Snippets Groups Projects
Commit 808395d2 authored by Nicolas Richart's avatar Nicolas Richart
Browse files

Adding a stack to test gcc13

parent 071260ba
No related branches found
No related tags found
1 merge request!3Feat/stack pinot noir
Pipeline #202897 failed
This commit is part of merge request !3. Comments created here will be created in the context of that merge request.
Showing
with 371 additions and 0 deletions
concretizer:
reuse: false
# roots: true
# include:
# - "%gcc@12.3.0"
# exclude:
# - 'python'
# from:
# - type: local
unify: false
duplicates:
strategy: minimal
{
"spack": {
"version": "releases/v0.22",
"repos": {
"scitas-externals": {
"url": "https://gitlab.epfl.ch/SCITAS/software-stack/spack-repo-externals.git",
"branch": "releases/2024.0.0"
},
"scitas-packages": {
"url": "https://gitlab.epfl.ch/SCITAS/software-stack/scitas-spack-packages.git",
"branch": "releases/2024.0.0"
}
},
"mirrors": {
"local": {
"url": "spack-mirror",
"type": "relative"
},
"restricted": {
"url": "spack-mirror-restriced",
"type": "relative"
}
}
},
"stack": {
"version": "v1",
"mount_point": "/ssoft/spack",
"system_arch": "target=x86_64_v3",
"system_compiler": {
"gcc@11": {
"compiler": "gcc",
"spec": "gcc@11.2.1",
"version": "11.2.1"
}
},
"targets": {
"helvetios": "skylake_avx512",
"izar": "cascadelake",
"jed": "icelake",
"kuma-l40s": "zen4",
"kuma-h100": "zen4"
},
"compilers": {
"oneapi": {
"compiler": "oneapi",
"spec": "intel-oneapi-compilers@2024.1.0 %gcc@11.2.1",
"version": "2024.1.0",
"constraint": "env['environment'] in ['jed', 'helvetios']"
},
"gcc": {
"compiler": "gcc",
"spec": "gcc@13.2.0 %gcc@11.2.1",
"version": "13.2.0"
}
},
"system_packages": [
"autoconf",
"autoconf-archive",
"automake",
"autotools",
"berkley-db",
"bzip2",
"ca-certificates-mozilla",
"check",
"cmake",
"curl",
"diffutils",
"expat",
"findutils",
"flex",
"font-util",
"fontconfig",
"freetype",
"gawk",
"gdbm",
"gettext",
"git",
"gmake",
"gmp",
"gnuplot",
"gperf",
"hcoll",
"help2man",
"libaec",
"libedit",
"libevent",
"libffi",
"libfuse",
"libidn2",
"libpciaccess",
"libpng",
"libsigsegv",
"libssh2",
"libtiff",
"libtool",
"libunistring",
"libuuid",
"libx11",
"libxcrypt",
"libxct",
"libxft",
"libxml2",
"lz4",
"m4",
"macro-utils",
"mpc",
"mpfr",
"ncurses",
"openssl",
"pcre",
"pcre2",
"perl",
"pigz",
"pkgconf",
"pmix",
"rdma-core",
"readline",
"slurm",
"sqlite",
"tar",
"tcl",
"texinfo",
"tk",
"utf8proc",
"util-linux-uuid",
"xpmem",
"xxd-standalon",
"xz",
"zlib-ng",
"zstd"
]
}
}
config:
# ccache: true
install_missing_compilers: false
install_tree:
padded_length: False
build_stage:
- $tempdir/$user/spack-stage
definitions:
- cuda_system_codes: []
- cuda_serial_codes:
- cuda
- cudnn
- nccl
- cuda_mpi_codes:
- nvshmem
- nccl-tests
definitions: []
definitions_empty.yaml
\ No newline at end of file
definitions_cuda.yaml
\ No newline at end of file
definitions:
- cuda_system_codes:
- cuda
- cudnn
- cuda_serial_codes:
- nccl
definitions_cuda.yaml
\ No newline at end of file
definitions_cuda.yaml
\ No newline at end of file
mirrors: {}
modules:
default:
enable: [lmod]
lmod:
hash_length: 0
core_compilers:
- gcc@11.2.1
hierarchy:
- mpi
all:
environment:
set:
"{name}_ROOT": "{prefix}"
suffixes:
'+mpi': mpi
'+openmp': openmp
'threads=openmp': openmp
'^fftw+openmp': openmp
'hdf5=parallel': h5
'+cuda': cuda
'+double-gpu': double-gpu
'+plumed': plumed
'+unwind': unwind
'+debug': dbg
'+ilp64': int64
'+int64': int64
'version_suffix=jl': julia
autoload: run
hide_implicits: true
exclude:
- lmod
gcc:
environment:
set:
CC: "{prefix}/bin/gcc"
CXX: "{prefix}/bin/g++"
F77: "{prefix}/bin/gfortran"
FC: "{prefix}/bin/gfortran"
F90: "{prefix}/bin/gfortran"
cuda@12.4.0:
environment:
append_path:
JULIA_LOAD_PATH: ":/ssoft/spack/external/julia/syrah.v1/cuda"
openmpi:
environment:
set:
SLURM_MPI_TYPE: pmix
OMPI_MCA_btl_openib_warn_default_gid_prefix: '0'
append_path:
JULIA_LOAD_PATH: ":/ssoft/spack/external/julia/syrah.v1/mpi"
openblas threads=pthreads:
environment:
set:
OPENBLAS_NUM_THREADS: '1'
hdf5~mpi+cxx:
environment:
set:
HDF5_CC: h5cc
HDF5_CXX: h5c++
HDF5_FC: h5fc
hdf5+mpi~cxx:
environment:
set:
HDF5_CC: h5pcc
HDF5_FC: h5pfc
intel-oneapi-mpi:
environment:
set:
I_MPI_PMI_LIBRARY: /usr/lib64/libpmi2.so
I_MPI_EXTRA_FILESYSTEM: '0'
SLURM_MPI_TYPE: pmi2
metis:
suffixes:
~real64: sp
molpro:
template: modules/group_restricted.lua
plumed:
environment:
set:
PLUMED_KERNEL: "{prefix}/lib/libplumedKernel.so"
unset:
- PLUMED_ROOT
quantum-espresso:
suffixes:
hdf5=parallel: hdf5
scons:
suffixes:
'^python@:2.99': py2
'^python@3:': py3
abaqus:
template: modules/group_restricted.lua
adf:
template: modules/group_restricted.lua
ams:
template: modules/group_restricted.lua
comsol:
environment:
prepend_path:
MATLABPATH: "{prefix}/mli"
crystal17:
template: modules/group_restricted.lua
fdtd:
environment:
prepend_path:
PATH: "{prefix}/mpich2/nemesis/bin"
LD_LIBRARY_PATH: "{prefix}/mpich2/nemesis/lib"
set:
SLURM_MPI_TYPE: pmi2
gaussian:
template: modules/group_restricted.lua
spark:
environment:
prepend_path:
PATH: "/ssoft/spack/scripts/all/spark"
ucx:
environment:
unset:
- UCX_ROOT
vasp:
template: modules/group_restricted.lua
modules:
default:
lmod: {}
modules_empty.yaml
\ No newline at end of file
modules_empty.yaml
\ No newline at end of file
modules_empty.yaml
\ No newline at end of file
modules:
default:
lmod:
openmpi:
environment:
set:
OMPI_MCA_pml: 'ucx'
OMPI_MCA_osc: 'ucx'
UCX_NET_DEVICES: 'mlx5_2:1,mlx5_3:1'
nccl:
environment:
set:
NCCL_IB_HCA: 'mlx5_2:1,mlx5_3:1'
NCCL_SOCKET_IFNAME: 'bond0'
modules:
default:
lmod:
openmpi:
environment:
set:
OMPI_MCA_pml: 'ucx'
OMPI_MCA_osc: 'ucx'
UCX_NET_DEVICES: 'mlx5_0:1,mlx5_1:1'
nccl:
environment:
set:
NCCL_IB_HCA: 'mlx5_0:1,mlx5_1:1'
NCCL_SOCKET_IFNAME: 'bond0'
packages:
all:
compiler:
- gcc
- aocc
- nvhpc
providers:
mpi: [openmpi, intel-oneapi-mpi]
jpeg: [libjpeg]
zlib-api: [zlib-ng]
pkgconfig: [pkgconf]
szip: [libaec]
unwind: [libunwind]
uuid: [libuuid]
zlib-api: [zlib-ng+compat]
require:
- spec: '^libuuid'
when: '^uuid'
glibc:
prefer: ['%gcc@11.2.1']
zlib-ng:
require: ['build_system=autotools']
packages:
all:
target: ["skylake_avx512"]
require: ['~cuda', '~rocm']
# py-torch:
# require:
# - spec: '~cuda ~cudnn ~nccl ~rocm'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment