ADD: configs/ folders with user site config and svcusr-spack specific config
Some checks failed
QE-GPU Merlin7 Scheduler / checkout (push) Successful in 7m29s
QE-GH Merlin7 Scheduler / checkout (push) Successful in 5m40s
QE-CPU Merlin7 Scheduler / checkout (push) Successful in 4m3s
OPAL-X-GPU Merlin7 Scheduler / checkout (push) Failing after 2m54s
OPAL-X GH Merlin7 Scheduler / checkout (push) Failing after 2m54s
IPPL GPU Merlin7 Scheduler / checkout (push) Successful in 6m40s
IPPL GH Merlin7 Scheduler / checkout (push) Failing after 47s
CP2K Merlin7 Scheduler / checkout (push) Successful in 6m11s

This commit is contained in:
Gitea Actions
2025-11-26 11:07:41 +01:00
parent 981e93dae4
commit 17159a0dbb
5 changed files with 112 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
config:
environments_root: /afs/psi.ch/sys/spack/spack-psi/env/$os/$target_family/admin

View File

@@ -0,0 +1,7 @@
concretizer:
targets:
# Determine whether we want to target specific or generic
# microarchitectures. Valid values are: "microarchitectures" or "generic".
# An example of "microarchitectures" would be "skylake" or "bulldozer",
# while an example of "generic" would be "aarch64" or "x86_64_v4".
granularity: generic

17
configs/users/config.yaml Normal file
View File

@@ -0,0 +1,17 @@
#
# Ansible managed template: develop/config.yaml.j2
#
config:
environments_root: /afs/psi.ch/sys/spack/user/$user/spack-environment/$os/$target_family
install_tree:
root: "/afs/psi.ch/sys/spack/user/$user/spack-install"
allow_sgid: false
build_stage:
- "/scratch/$user/.spack/spack-stage"
source_cache: "/scratch/$user/.spack/spack-cache/source_cache/$spack_short_version"
misc_cache: "/scratch/$user/.spack/spack-cache/misc_cache/$spack_short_version"
template_dirs:
- /afs/psi.ch/sys/spack/spack-psi/templates
concretization_cache:
enable: false

View File

@@ -0,0 +1,77 @@
modules:
prefix_inspections:
./bin:
- PATH
./man:
- MANPATH
./share/man:
- MANPATH
./share/aclocal:
- ACLOCAL_PATH
./lib/pkgconfig:
- PKG_CONFIG_PATH
./lib64/pkgconfig:
- PKG_CONFIG_PATH
./share/pkgconfig:
- PKG_CONFIG_PATH
./lib64:
- LD_LIBRARY_PATH
- LIBRARY_PATH
./lib:
- LD_LIBRARY_PATH
- LIBRARY_PATH
./include:
- C_INCLUDE_PATH
- CPLUS_INCLUDE_PATH
- CPATH
./:
- CMAKE_PREFIX_PATH
default:
roots:
lmod: "/afs/psi.ch/sys/spack/user/$user/spack-install/modulefiles"
lmod:
all:
autoload: direct # or `run`
template: 'user_hierachical_paths.lua'
suffixes:
cuda_arch=60: 'SM60'
cuda_arch=80: 'A100'
cuda_arch=90: 'GH200'
+cuda: 'gpu'
+openmp: 'omp'
threads=openmp: 'omp'
^cray-mpich ^cuda:
environment:
set:
MPICH_GPU_SUPPORT_ENABLED: '1'
prepend_path:
LD_PRELOAD: '/opt/cray/pe/mpich/8.1.28/gtl/lib/libmpi_gtl_cuda.so'
cp2k:
environment:
set:
CP2K_DATA_DIR: "{prefix}/share/cp2k/data"
core_compilers:
- gcc@7.5.0
core_specs:
- zlib-ng
- cray-pmi
- xz
- boost
- json-c
- libconfig
- libfuse
include:
- gcc
- cce
- intel
- nvhpc
- oneapi
hash_length: 0
projections:
all: '{name}/{version}-{hash:4}'
gcc: '{name}/{version}'
nvhpc: '{name}/{version}'
cce: '{name}/{version}'
exclude: ['autoconf', 'automake', 'krb5', 'libxml2', 'openssh', 'gcc-runtime', 'glibc', 'gmp', 'mpfr', 'mpc', 'libpciaccess', 'slurm', 'm4', 'gnuconfig', 'perl', 'libevent', 'numactl', 'openssl','pkg-config', 'diffutils', 'findutils', 'gettext', 'libsigsegv', 'libtool', 'ncurses', 'xz', 'json-c']
enable:
- lmod

9
configs/users/repos.yaml Normal file
View File

@@ -0,0 +1,9 @@
#
# Ansible managed template: develop/repos.yaml.j2
#
repos:
builtin:
destination: /afs/psi.ch/sys/spack/spack-packages
psi: /afs/psi.ch/sys/spack/spack-psi