484 lines
12 KiB
YAML
484 lines
12 KiB
YAML
spack:
|
|
concretizer:
|
|
unify: false
|
|
#>>> config.yaml
|
|
config:
|
|
build_stage:
|
|
- /scratch/spack-rhel7
|
|
install_tree:
|
|
root: /scratch/spack-rhel7/spack-install
|
|
#<<<
|
|
definitions:
|
|
- compilers:
|
|
- '%gcc@12.1.0'
|
|
- Compilers_pckgs: &Compilers_pckgs
|
|
- atlas
|
|
- boost
|
|
- clapack
|
|
- clhep
|
|
- cuda
|
|
- eigen
|
|
- geant4
|
|
- gsl
|
|
- googletest
|
|
- hdf5~mpi
|
|
- hdf5+mpi
|
|
- kokkos
|
|
- libint tune=cp2k-lmax-6
|
|
- libxc
|
|
- libxsmm
|
|
- mpich
|
|
- nvhpc+mpi
|
|
- openblas threads=none
|
|
- openblas threads=openmp
|
|
- openmpi
|
|
- root
|
|
- superlu
|
|
- vtk
|
|
- Cuda_pckgs: &Cuda_pckgs
|
|
- cuda
|
|
- EM_pckgs: &EM_pckgs
|
|
- cistem
|
|
- ctffind
|
|
- motioncor2
|
|
- relion
|
|
- unblur
|
|
- Librairies_pckgs: &Librairies_pckgs
|
|
- alsa-lib
|
|
- gdrcopy
|
|
- giflib
|
|
- gmp
|
|
- hwloc
|
|
- isl
|
|
- knem
|
|
- libtasn1
|
|
- mpc
|
|
- mpfr
|
|
- nettle
|
|
- pmix
|
|
- ucx
|
|
- udunits
|
|
- wxwidgets
|
|
- x264
|
|
- zlib
|
|
- MX_pckgs: &MX_pckgs
|
|
- cbflib
|
|
- lz4
|
|
- openbabel
|
|
- visit
|
|
- HDF5_pckgs: &HDF5_pckgs
|
|
- alps
|
|
- h5hut+mpi
|
|
- hdf5-blosc
|
|
- ioapi
|
|
- netcdf-c
|
|
- netcdf-fortran
|
|
- netcdf-c +parallel-netcdf
|
|
- trilinos
|
|
- HDF5_serial_pckgs: &HDF5_serial_pckgs
|
|
- h5hut~mpi
|
|
- ncview
|
|
- MPI_pckgs: &MPI_pckgs
|
|
- amrex
|
|
- boxlib
|
|
- cp2k
|
|
- cpmd
|
|
- elegant
|
|
- elpa
|
|
- fftw
|
|
- gromacs
|
|
- lammps
|
|
- astra
|
|
- Programming_pckgs: &Programming_pckgs
|
|
- autoconf
|
|
- automake
|
|
- binutils
|
|
- bison
|
|
- cmake
|
|
- erlang
|
|
- gcc
|
|
- go
|
|
- intel-oneapi-mpi
|
|
- intel
|
|
- openjdk
|
|
- julia
|
|
- libtool
|
|
- lua
|
|
- m4
|
|
- nasm
|
|
- perl
|
|
- nvhpc
|
|
- python
|
|
- py-tensorflow
|
|
- qt
|
|
- r
|
|
- tcl
|
|
- tk
|
|
- System_pckgs: &System_pckgs
|
|
- bash
|
|
- filebench
|
|
- ior
|
|
- mdtest
|
|
- nmap
|
|
- patchelf
|
|
- unison
|
|
- Tools_pckgs: &Tools_pckgs
|
|
- aria2
|
|
- asciidoc
|
|
- coreutils
|
|
- emacs
|
|
- ffmpeg
|
|
- gaussian
|
|
- gettext
|
|
- git
|
|
- global
|
|
- gnupg
|
|
- gnuplot
|
|
- gnutls
|
|
- hdfview
|
|
- krb5
|
|
- kubernetes
|
|
- namd
|
|
- ncview
|
|
- openjpeg
|
|
- openssl
|
|
- orca
|
|
- paraview
|
|
- texlive
|
|
- tmux
|
|
- uncrustify
|
|
- vim
|
|
- visit
|
|
- xmlto
|
|
- xz
|
|
include:
|
|
- sysconfigs/compilers.yaml
|
|
- sysconfigs/packages.yaml
|
|
#>>> modules.yaml
|
|
modules:
|
|
Compilers:
|
|
use_view: Compilers
|
|
arch_folder: false
|
|
enable:
|
|
- tcl
|
|
roots:
|
|
tcl: /afs/psi.ch/sys/spack-rhel7/Compilers
|
|
tcl:
|
|
blacklist_implicits: true
|
|
include: *Compilers_pckgs
|
|
all:
|
|
autoload: direct
|
|
conflict:
|
|
- '{name}'
|
|
environment:
|
|
set:
|
|
${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
|
|
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
|
|
${PACKAGE}_VERSION: '{version}'
|
|
projections: &unified_modules_projections
|
|
all: modulefiles/{compiler.name}/{compiler.version}/{name}/{version}
|
|
^mpi: 'modulefiles/{compiler.name}/{compiler.version}/{name}/{version}/{^mpi.name}/{^mpi.version}'
|
|
~mpi: 'modulefiles/{compiler.name}/{compiler.version}/{name}_serial/{version}'
|
|
Cuda:
|
|
use_view: Cuda
|
|
arch_folder: false
|
|
enable:
|
|
- tcl
|
|
roots:
|
|
tcl: /afs/psi.ch/sys/spack-rhel7/cuda
|
|
tcl:
|
|
blacklist_implicits: true
|
|
include: *Cuda_pckgs
|
|
all:
|
|
autoload: direct
|
|
conflict:
|
|
- '{name}'
|
|
environment:
|
|
set:
|
|
${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
|
|
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
|
|
${PACKAGE}_VERSION: '{version}'
|
|
projections: *unified_modules_projections
|
|
EM:
|
|
use_view: EM
|
|
arch_folder: false
|
|
enable:
|
|
- tcl
|
|
roots:
|
|
tcl: /afs/psi.ch/sys/spack-rhel7/EM
|
|
tcl:
|
|
blacklist_implicits: true
|
|
include: *EM_pckgs
|
|
all:
|
|
autoload: direct
|
|
conflict:
|
|
- '{name}'
|
|
environment:
|
|
set:
|
|
${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
|
|
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
|
|
${PACKAGE}_VERSION: '{version}'
|
|
projections: *unified_modules_projections
|
|
HDF5:
|
|
use_view: HDF5
|
|
arch_folder: false
|
|
enable:
|
|
- tcl
|
|
roots:
|
|
tcl: /afs/psi.ch/sys/spack-rhel7/HDF5
|
|
tcl:
|
|
blacklist_implicits: true
|
|
include: *HDF5_pckgs
|
|
all:
|
|
autoload: direct
|
|
conflict:
|
|
- '{name}'
|
|
- 'HDF5_serial'
|
|
environment:
|
|
set:
|
|
${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
|
|
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
|
|
${PACKAGE}_VERSION: '{version}'
|
|
projections: *unified_modules_projections
|
|
HDF5_serial:
|
|
use_view: HDF5_serial
|
|
arch_folder: false
|
|
enable:
|
|
- tcl
|
|
roots:
|
|
tcl: /afs/psi.ch/sys/spack-rhel7/HDF5_serial
|
|
tcl:
|
|
blacklist_implicits: true
|
|
include: *HDF5_serial_pckgs
|
|
all:
|
|
autoload: direct
|
|
conflict:
|
|
- '{name}'
|
|
- 'HDF5_serial'
|
|
environment:
|
|
set:
|
|
${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
|
|
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
|
|
${PACKAGE}_VERSION: '{version}'
|
|
projections: *unified_modules_projections
|
|
Librairies:
|
|
use_view: Librairies
|
|
arch_folder: false
|
|
enable:
|
|
- tcl
|
|
roots:
|
|
tcl: /afs/psi.ch/sys/spack-rhel7/Librairies
|
|
tcl:
|
|
blacklist_implicits: true
|
|
include: *Librairies_pckgs
|
|
all:
|
|
autoload: direct
|
|
conflict:
|
|
- '{name}'
|
|
environment:
|
|
set:
|
|
${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
|
|
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
|
|
${PACKAGE}_VERSION: '{version}'
|
|
projections: *unified_modules_projections
|
|
MPI:
|
|
use_view: MPI
|
|
arch_folder: false
|
|
enable:
|
|
- tcl
|
|
roots:
|
|
tcl: /afs/psi.ch/sys/spack-rhel7/MPI
|
|
tcl:
|
|
blacklist_implicits: true
|
|
include: *MPI_pckgs
|
|
all:
|
|
autoload: direct
|
|
conflict:
|
|
- '{name}'
|
|
environment:
|
|
set:
|
|
${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
|
|
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
|
|
${PACKAGE}_VERSION: '{version}'
|
|
projections: *unified_modules_projections
|
|
MX:
|
|
use_view: MX
|
|
arch_folder: false
|
|
enable:
|
|
- tcl
|
|
roots:
|
|
tcl: /afs/psi.ch/sys/spack-rhel7/MX
|
|
tcl:
|
|
blacklist_implicits: true
|
|
include: *MX_pckgs
|
|
all:
|
|
autoload: direct
|
|
conflict:
|
|
- '{name}'
|
|
environment:
|
|
set:
|
|
${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
|
|
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
|
|
${PACKAGE}_VERSION: '{version}'
|
|
projections: *unified_modules_projections
|
|
Programming:
|
|
use_view: Programming
|
|
arch_folder: false
|
|
enable:
|
|
- tcl
|
|
roots:
|
|
tcl: /afs/psi.ch/sys/spack-rhel7/Programming
|
|
tcl:
|
|
blacklist_implicits: true
|
|
include: *Programming_pckgs
|
|
all:
|
|
autoload: direct
|
|
conflict:
|
|
- '{name}'
|
|
environment:
|
|
set:
|
|
${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
|
|
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
|
|
${PACKAGE}_VERSION: '{version}'
|
|
projections: *unified_modules_projections
|
|
System:
|
|
use_view: System
|
|
arch_folder: false
|
|
enable:
|
|
- tcl
|
|
roots:
|
|
tcl: /afs/psi.ch/sys/spack-rhel7/System
|
|
tcl:
|
|
blacklist_implicits: true
|
|
include: *System_pckgs
|
|
all:
|
|
autoload: direct
|
|
conflict:
|
|
- '{name}'
|
|
environment:
|
|
set:
|
|
${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
|
|
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
|
|
${PACKAGE}_VERSION: '{version}'
|
|
projections: *unified_modules_projections
|
|
Tools:
|
|
use_view: Tools
|
|
arch_folder: false
|
|
enable:
|
|
- tcl
|
|
roots:
|
|
tcl: /afs/psi.ch/sys/spack-rhel7/Tools
|
|
tcl:
|
|
blacklist_implicits: true
|
|
include: *Tools_pckgs
|
|
all:
|
|
autoload: direct
|
|
conflict:
|
|
- '{name}'
|
|
environment:
|
|
set:
|
|
${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
|
|
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
|
|
${PACKAGE}_VERSION: '{version}'
|
|
projections: *unified_modules_projections
|
|
prefix_inspections:
|
|
'':
|
|
- CMAKE_PREFIX_PATH
|
|
bin:
|
|
- PATH
|
|
include:
|
|
- C_INCLUDE_PATH
|
|
- CPLUS_INCLUDE_PATH
|
|
lib:
|
|
- LIBRARY_PATH
|
|
- LD_LIBRARY_PATH
|
|
lib/pkgconfig:
|
|
- PKG_CONFIG_PATH
|
|
lib64:
|
|
- LIBRARY_PATH
|
|
- LD_LIBRARY_PATH
|
|
lib64/pkgconfig:
|
|
- PKG_CONFIG_PATH
|
|
man:
|
|
- MANPATH
|
|
share/aclocal:
|
|
- ACLOCAL_PATH
|
|
share/man:
|
|
- MANPATH
|
|
share/pkgconfig:
|
|
- PKG_CONFIG_PATH
|
|
#<<<
|
|
specs:
|
|
- matrix:
|
|
- - $Compilers_pckgs
|
|
- - $compilers
|
|
view:
|
|
Compilers:
|
|
link: roots
|
|
link_type: symlink
|
|
projections: &unified_projections
|
|
^mpi: '{name}/{version}/{^mpi.name}/{^mpi.version}/{compiler.name}/{compiler.version}'
|
|
all: '{name}/{version}/{compiler.name}/{compiler.version}'
|
|
~mpi: '{name}_serial/{version}/{compiler.name}/{compiler.version}'
|
|
root: /afs/psi.ch/sys/spack-rhel7/Compilers
|
|
select: *Compilers_pckgs
|
|
Cuda:
|
|
link: roots
|
|
link_type: symlink
|
|
projections: *unified_projections
|
|
root: /afs/psi.ch/sys/spack-rhel7/cuda
|
|
select: *Cuda_pckgs
|
|
EM:
|
|
link: roots
|
|
link_type: symlink
|
|
projections: *unified_projections
|
|
root: /afs/psi.ch/sys/spack-rhel7/EM
|
|
select: *EM_pckgs
|
|
HDF5:
|
|
link: roots
|
|
link_type: symlink
|
|
projections: *unified_projections
|
|
root: /afs/psi.ch/sys/spack-rhel7/HDF5
|
|
select: *HDF5_pckgs
|
|
HDF5_serial:
|
|
link: roots
|
|
link_type: symlink
|
|
projections: *unified_projections
|
|
root: /afs/psi.ch/sys/spack-rhel7/HDF5_serial
|
|
select: *HDF5_serial_pckgs
|
|
Librairies:
|
|
link: roots
|
|
link_type: symlink
|
|
projections: *unified_projections
|
|
root: /afs/psi.ch/sys/spack-rhel7/Librairies
|
|
select: *Librairies_pckgs
|
|
MPI:
|
|
link: roots
|
|
link_type: symlink
|
|
projections: *unified_projections
|
|
root: /afs/psi.ch/sys/spack-rhel7/MPI
|
|
select: *MPI_pckgs
|
|
MX:
|
|
link: roots
|
|
link_type: symlink
|
|
projections: *unified_projections
|
|
root: /afs/psi.ch/sys/spack-rhel7/MX
|
|
select: *MX_pckgs
|
|
Programming:
|
|
link: roots
|
|
link_type: symlink
|
|
projections: *unified_projections
|
|
root: /afs/psi.ch/sys/spack-rhel7/Programming
|
|
select: *Programming_pckgs
|
|
System:
|
|
link: roots
|
|
link_type: symlink
|
|
projections: *unified_projections
|
|
root: /afs/psi.ch/sys/spack-rhel7/System
|
|
select: *System_pckgs
|
|
Tools:
|
|
link: roots
|
|
link_type: symlink
|
|
projections: *unified_projections
|
|
root: /afs/psi.ch/sys/spack-rhel7/Tools
|
|
select: *Tools_pckgs |