FIX: OpenBLAS_OMP bug

This commit is contained in:
Germann Elsa Sylvia
2022-08-23 15:53:31 +02:00
parent 715a6b0e5c
commit cc6b7e71f6

625
env/merlin/spack.yaml vendored
View File

@ -2,9 +2,9 @@ spack:
concretizer: concretizer:
unify: false unify: false
definitions: definitions:
- Batchsystem_pckgs: - Batchsystem_pckgs: &Batchsystem_pckgs
- slurm - slurm
- Compiler_pckgs: - Compiler_pckgs: &Compiler_pckgs
- atlas - atlas
- boost - boost
- clapack - clapack
@ -25,15 +25,15 @@ spack:
- root - root
- superlu - superlu
- vtk - vtk
- Cuda_pckgs: - Cuda_pckgs: &Cuda_pckgs
- cuda - cuda
- EM_pckgs: - EM_pckgs: &EM_pckgs
- cistem - cistem
- ctffind - ctffind
- motioncor2 - motioncor2
- relion - relion
- unblur - unblur
- Librairies_pckgs: - Librairies_pckgs: &Librairies_pckgs
- alsa-lib - alsa-lib
- gdrcopy - gdrcopy
- giflib - giflib
@ -51,12 +51,12 @@ spack:
- wxwidgets - wxwidgets
- x264 - x264
- zlib - zlib
- MX_pckgs: - MX_pckgs: &MX_pckgs
- cbflib - cbflib
- lz4 - lz4
- openbabel - openbabel
- visit - visit
- HDF5_pckgs: - HDF5_pckgs: &HDF5_pckgs
- alps - alps
- h5hut+mpi - h5hut+mpi
- hdf5-blosc - hdf5-blosc
@ -66,11 +66,11 @@ spack:
- netcdf-fortran - netcdf-fortran
- netcdf-c +parallel-netcdf - netcdf-c +parallel-netcdf
- trilinos - trilinos
- HDF5_serial_pckgs: - HDF5_serial_pckgs: &HDF5_serial_pckgs
- hdf5~mpi - hdf5~mpi
- h5hut~mpi - h5hut~mpi
- ncview - ncview
- MPI_pckgs: - MPI_pckgs: &MPI_pckgs
- amrex - amrex
- boxlib - boxlib
- cp2k - cp2k
@ -81,7 +81,7 @@ spack:
- gromacs - gromacs
- lammps - lammps
- astra - astra
- Programming_pckgs: - Programming_pckgs: &Programming_pckgs
- autoconf - autoconf
- automake - automake
- binutils - binutils
@ -105,7 +105,7 @@ spack:
- r - r
- tcl - tcl
- tk - tk
- System_pckgs: - System_pckgs: &System_pckgs
- bash - bash
- filebench - filebench
- ior - ior
@ -113,7 +113,7 @@ spack:
- nmap - nmap
- patchelf - patchelf
- unison - unison
- Tools_pckgs: - Tools_pckgs: &Tools_pckgs
- aria2 - aria2
- asciidoc - asciidoc
- coreutils - coreutils
@ -154,66 +154,52 @@ spack:
enable: enable:
- tcl - tcl
roots: roots:
tcl: /afs/psi.ch/sys/spack-rhel7/Batchsystem tcl: &Batchsystem_module_root /afs/psi.ch/sys/spack-rhel7/Batchsystem
tcl: tcl:
blacklist_implicits: true blacklist_implicits: true
include: include: *Batchsystem_pckgs
- slurm
all: all:
autoload: direct autoload: direct
conflict: conflict:
- '{name}' - '{name}'
environment: environment:
append_path: append_path:
MODULEPATH: /afs/psi.ch/sys/spack-rhel7/Batchsystem # equivalent to module-addgroup Batchsystem
MODULEPATH: *Batchsystem_module_root
set: set:
${PACKAGE}_INCLUDE_DIR: '{prefix}/include' ${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib' ${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
slurm: slurm:
environment: environment:
prepend_path: prepend_path:
SLURM_CONF: /etc/slurm/slurm.conf SLURM_CONF: '/etc/slurm/slurm.conf'
projections: projections: &unified_modules_projections
all: modulefiles/{compiler.name}/{compiler.version}/{name}/{version} 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}/{version}/{^mpi.name}/{^mpi.version}'
~mpi: modulefiles/{compiler.name}/{compiler.version}/{name}_serial/{version} ~mpi: 'modulefiles/{compiler.name}/{compiler.version}/{name}_serial/{version}'
threads=openmp: modulefiles/{compiler.name}/{compiler.version}/{name}_OMP/{version} threads=openmp: 'modulefiles/{compiler.name}/{compiler.version}/{name}_OMP/{version}'
MPI: MPI:
use_view: MPI use_view: MPI
arch_folder: false arch_folder: false
enable: enable:
- tcl - tcl
roots: roots:
tcl: /afs/psi.ch/sys/spack-rhel7/MPI tcl: &MPI_module_root /afs/psi.ch/sys/spack-rhel7/MPI
tcl: tcl:
blacklist_implicits: true blacklist_implicits: true
include: include: *MPI_pckgs
- amrex
- boxlib
- cp2k
- cpmd
- elegant
- elpa
- fftw
- gromacs
- lammps
- astra
all: all:
autoload: direct autoload: direct
conflict: conflict:
- '{name}' - '{name}'
environment: environment:
append_path: append_path:
MODULEPATH: /afs/psi.ch/sys/spack-rhel7/MPI MODULEPATH: *MPI_module_root
set: set:
${PACKAGE}_INCLUDE_DIR: '{prefix}/include' ${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib' ${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
${PACKAGE}_VERSION: '{version}' ${PACKAGE}_VERSION: '{version}'
projections: 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}
threads=openmp: modulefiles/{compiler.name}/{compiler.version}/{name}_OMP/{version}
Compiler: Compiler:
use_view: Compiler use_view: Compiler
arch_folder: false arch_folder: false
@ -223,27 +209,7 @@ spack:
tcl: /afs/psi.ch/sys/spack-rhel7/Compiler tcl: /afs/psi.ch/sys/spack-rhel7/Compiler
tcl: tcl:
blacklist_implicits: true blacklist_implicits: true
include: include: *Compiler_pckgs
- atlas
- boost
- clapack
- clhep
- eigen
- geant4
- gsl
- googletest
- intel-oneapi-mpi
- kokkos
- libint tune=cp2k-lmax-6
- libxc
- libxsmm
- mpich
- openblas threads=none
- openblas threads=openmp
- openmpi
- root
- superlu
- vtk
all: all:
autoload: direct autoload: direct
conflict: conflict:
@ -256,21 +222,23 @@ spack:
intel-oneapi-mpi: intel-oneapi-mpi:
environment: environment:
append_path: append_path:
MODULEPATH: /afs/psi.ch/sys/spack-rhel7/MPI # equivalent to module-addgroup MPI
MODULEPATH: *MPI_module_root
set: set:
I_MPI_CXX: mpiicpc I_MPI_CXX: 'mpiicpc'
I_MPI_F77: mpiifort I_MPI_F77: 'mpiifort'
I_MPI_F90: mpiifort I_MPI_F90: 'mpiifort'
I_MPI_FC: mpiifort I_MPI_FC: 'mpiifort'
I_MPI_ICC: mpiicc I_MPI_ICC: 'mpiicc'
MPIEXEC: mpiexec.hydra MPIEXEC: 'mpiexec.hydra'
MPIFC: mpiifort MPIFC: 'mpiifort'
MPIFORTRAN: mpiifort MPIFORTRAN: 'mpiifort'
MPIRUN: mpirun MPIRUN: 'mpirun'
mpich: mpich:
environment: environment:
append_path: append_path:
MODULEPATH: /afs/psi.ch/sys/spack-rhel7/MPI # equivalent to module-addgroup MPI
MODULEPATH: *MPI_module_root
set: set:
MPIEXEC: ${prefix}/bin/mpiexec MPIEXEC: ${prefix}/bin/mpiexec
MPIFC: ${prefix}/bin/mpif90 MPIFC: ${prefix}/bin/mpif90
@ -283,7 +251,8 @@ spack:
openmpi: openmpi:
environment: environment:
append_path: append_path:
MODULEPATH: /afs/psi.ch/sys/spack-rhel7/MPI # equivalent to module-addgroup MPI
MODULEPATH: *MPI_module_root
set: set:
MPIEXEC: ${prefix}/bin/mpiexec MPIEXEC: ${prefix}/bin/mpiexec
MPIFC: ${prefix}/bin/mpif90 MPIFC: ${prefix}/bin/mpif90
@ -293,31 +262,28 @@ spack:
environment: environment:
set: set:
ROOTSYS: ${prefix} ROOTSYS: ${prefix}
projections: 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}
threads=openmp: modulefiles/{compiler.name}/{compiler.version}/{name}_OMP/{version}
Cuda: Cuda:
use_view: Cuda use_view: Cuda
arch_folder: false arch_folder: false
enable: enable:
- tcl - tcl
roots: roots:
tcl: /afs/psi.ch/sys/spack-rhel7/cuda tcl: &Cuda_module_root /afs/psi.ch/sys/spack-rhel7/cuda
tcl: tcl:
blacklist_implicits: true blacklist_implicits: true
include: include: *Cuda_pckgs
- cuda
all: all:
autoload: direct autoload: direct
conflict: conflict:
- '{name}' - '{name}'
environment: environment:
append_path: append_path:
MODULEPATH: /afs/psi.ch/sys/spack-rhel7/cuda # equivalent to module-addgroup cuda
MODULEPATH: *Cuda_module_root
prepend_path: prepend_path:
${PACKAGE}_PATH: '{prefix}' ${PACKAGE}_PATH: '{prefix}'
LIBRARY_PATH: '{prefix}/lib64/stubs'
LIBRARY_PATH: '{prefix}/targets/x86_64-linux/lib/stubs' LIBRARY_PATH: '{prefix}/targets/x86_64-linux/lib/stubs'
set: set:
${PACKAGE}_DIR: '{prefix}' ${PACKAGE}_DIR: '{prefix}'
@ -325,225 +291,143 @@ spack:
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib' ${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
${PACKAGE}_PATH: '{prefix}' ${PACKAGE}_PATH: '{prefix}'
${PACKAGE}_VERSION: '{version}' ${PACKAGE}_VERSION: '{version}'
projections: 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}
threads=openmp: modulefiles/{compiler.name}/{compiler.version}/{name}_OMP/{version}
EM: EM:
use_view: EM use_view: EM
arch_folder: false arch_folder: false
enable: enable:
- tcl - tcl
roots: roots:
tcl: /afs/psi.ch/sys/spack-rhel7/EM tcl: &EM_module_root /afs/psi.ch/sys/spack-rhel7/EM
tcl: tcl:
blacklist_implicits: true blacklist_implicits: true
include: include: *EM_pckgs
- cistem
- ctffind
- motioncor2
- relion
- unblur
all: all:
autoload: direct autoload: direct
conflict: conflict:
- '{name}' - '{name}'
environment: environment:
append_path: append_path:
MODULEPATH: /afs/psi.ch/sys/spack-rhel7/EM MODULEPATH: *EM_module_root
set: set:
${PACKAGE}_INCLUDE_DIR: '{prefix}/include' ${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib' ${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
${PACKAGE}_VERSION: '{version}' ${PACKAGE}_VERSION: '{version}'
projections: 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}
threads=openmp: modulefiles/{compiler.name}/{compiler.version}/{name}_OMP/{version}
HDF5: HDF5:
use_view: HDF5 use_view: HDF5
arch_folder: false arch_folder: false
enable: enable:
- tcl - tcl
roots: roots:
tcl: /afs/psi.ch/sys/spack-rhel7/HDF5 tcl: &HDF5_module_root /afs/psi.ch/sys/spack-rhel7/HDF5
tcl: tcl:
blacklist_implicits: true blacklist_implicits: true
include: include: *HDF5_pckgs
- alps
- h5hut+mpi
- hdf5-blosc
- ioapi
- hdf5+mpi
- netcdf-c
- netcdf-fortran
- netcdf-c +parallel-netcdf
- trilinos
all: all:
autoload: direct autoload: direct
conflict: conflict:
- '{name}' - '{name}'
- HDF5_serial - 'HDF5_serial'
environment: environment:
append_path: append_path:
MODULEPATH: /afs/psi.ch/sys/spack-rhel7/HDF5 # equivalent to module-addgroup HDF5
MODULEPATH: *HDF5_module_root
set: set:
${PACKAGE}_ROOT: '{prefix}' ${PACKAGE}_ROOT: '{prefix}'
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib' ${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
${PACKAGE}_INCLUDE_DIR: '{prefix}/include' ${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
projections: 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}
threads=openmp: modulefiles/{compiler.name}/{compiler.version}/{name}_OMP/{version}
HDF5_serial: HDF5_serial:
use_view: HDF5_serial use_view: HDF5_serial
arch_folder: false arch_folder: false
enable: enable:
- tcl - tcl
roots: roots:
tcl: /afs/psi.ch/sys/spack-rhel7/HDF5_serial tcl: &HDF5_serial_module_root /afs/psi.ch/sys/spack-rhel7/HDF5_serial
tcl: tcl:
blacklist_implicits: true blacklist_implicits: true
include: include: *HDF5_serial_pckgs
- hdf5~mpi
- h5hut~mpi
- ncview
all: all:
autoload: direct autoload: direct
conflict: conflict:
- '{name}' - '{name}'
- HDF5_serial - 'HDF5_serial'
environment: environment:
append_path: append_path:
MODULEPATH: /afs/psi.ch/sys/spack-rhel7/HDF5_serial # equivalent to module-addgroup HDF5_serial
MODULEPATH: *HDF5_serial_module_root
set: set:
${PACKAGE}_DIR: '{prefix}' ${PACKAGE}_DIR: '{prefix}'
${PACKAGE}_HOME: '{prefix}' ${PACKAGE}_HOME: '{prefix}'
${PACKAGE}_INCLUDE_DIR: '{prefix}/include' ${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib64' ${PACKAGE}_LIBRARY_DIR: '{prefix}/lib64'
${PACKAGE}_PREFIX: '{prefix}' ${PACKAGE}_PREFIX: '{prefix}'
${PACKAGE}_ROOT: '{prefix}' ${PACKAGE}_ROOT: '{prefix}'
${PACKAGE}_VERSION: '{version}' ${PACKAGE}_VERSION: '{version}'
projections: 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}
threads=openmp: modulefiles/{compiler.name}/{compiler.version}/{name}_OMP/{version}
Librairies: Librairies:
use_view: Librairies use_view: Librairies
arch_folder: false arch_folder: false
enable: enable:
- tcl - tcl
roots: roots:
tcl: /afs/psi.ch/sys/spack-rhel7/Librairies tcl: &Librairies_module_root /afs/psi.ch/sys/spack-rhel7/Librairies
tcl: tcl:
blacklist_implicits: true blacklist_implicits: true
include: include: *Librairies_pckgs
- alsa-lib
- gdrcopy
- giflib
- gmp
- hwloc
- isl
- knem
- libtasn1
- mpc
- mpfr
- nettle
- pmix
- ucx
- udunits
- wxwidgets
- x264
- zlib
all: all:
autoload: direct autoload: direct
conflict: conflict:
- '{name}' - '{name}'
environment: environment:
append_path: append_path:
MODULEPATH: /afs/psi.ch/sys/spack-rhel7/Librairies MODULEPATH: *Librairies_module_root
set: set:
${PACKAGE}_INCLUDE_DIR: '{prefix}/include' ${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib' ${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
${PACKAGE}_VERSION: '{version}' ${PACKAGE}_VERSION: '{version}'
projections: 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}
threads=openmp: modulefiles/{compiler.name}/{compiler.version}/{name}_OMP/{version}
MX: MX:
use_view: MX use_view: MX
arch_folder: false arch_folder: false
enable: enable:
- tcl - tcl
roots: roots:
tcl: /afs/psi.ch/sys/spack-rhel7/MX tcl: &MX_module_root /afs/psi.ch/sys/spack-rhel7/MX
tcl: tcl:
blacklist_implicits: true blacklist_implicits: true
include: include: *MX_pckgs
- cbflib
- lz4
- openbabel
- visit
all: all:
autoload: direct autoload: direct
conflict: conflict:
- '{name}' - '{name}'
environment: environment:
append_path: append_path:
MODULEPATH: /afs/psi.ch/sys/spack-rhel7/MX MODULEPATH: *MX_module_root
set: set:
${PACKAGE}_INCLUDE_DIR: '{prefix}/include' ${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib' ${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
${PACKAGE}_VERSION: '{version}' ${PACKAGE}_VERSION: '{version}'
projections: 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}
threads=openmp: modulefiles/{compiler.name}/{compiler.version}/{name}_OMP/{version}
Programming: Programming:
use_view: Programming use_view: Programming
arch_folder: false arch_folder: false
enable: enable:
- tcl - tcl
roots: roots:
tcl: /afs/psi.ch/sys/spack-rhel7/Programming tcl: &Programming_module_root /afs/psi.ch/sys/spack-rhel7/Programming
tcl: tcl:
blacklist_implicits: true blacklist_implicits: true
include: include: *Programming_pckgs
- autoconf
- automake
- binutils
- bison
- cmake
- erlang
- gcc
- go
- intel
- openjdk
- julia
- libtool
- lua
- m4
- nasm
- perl
- nvhpc
- python
- py-tensorflow
- qt
- r
- tcl
- tk
all: all:
autoload: direct autoload: direct
conflict: conflict:
- '{name}' - '{name}'
environment: environment:
append_path: append_path:
MODULEPATH: /afs/psi.ch/sys/spack-rhel7/Programming MODULEPATH: *Programming_module_root
set: set:
${PACKAGE}_INCLUDE_DIR: '{prefix}/include' ${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib' ${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
@ -559,101 +443,54 @@ spack:
NVARCH: '{arch}' NVARCH: '{arch}'
NVCOMPILERS: '{prefix}' NVCOMPILERS: '{prefix}'
PGI: '{prefix}' PGI: '{prefix}'
projections: 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}
threads=openmp: modulefiles/{compiler.name}/{compiler.version}/{name}_OMP/{version}
System: System:
use_view: System use_view: System
arch_folder: false arch_folder: false
enable: enable:
- tcl - tcl
roots: roots:
tcl: /afs/psi.ch/sys/spack-rhel7/System tcl: &System_module_root /afs/psi.ch/sys/spack-rhel7/System
tcl: tcl:
blacklist_implicits: true blacklist_implicits: true
include: include: *System_pckgs
- bash
- filebench
- ior
- mdtest
- nmap
- patchelf
- unison
all: all:
autoload: direct autoload: direct
conflict: conflict:
- '{name}' - '{name}'
environment: environment:
append_path: append_path:
MODULEPATH: /afs/psi.ch/sys/spack-rhel7/System MODULEPATH: *System_module_root
set: set:
${PACKAGE}_INCLUDE_DIR: '{prefix}/include' ${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib' ${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
${PACKAGE}_VERSION: '{version}' ${PACKAGE}_VERSION: '{version}'
projections: 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}
threads=openmp: modulefiles/{compiler.name}/{compiler.version}/{name}_OMP/{version}
Tools: Tools:
use_view: Tools use_view: Tools
arch_folder: false arch_folder: false
enable: enable:
- tcl - tcl
roots: roots:
tcl: /afs/psi.ch/sys/spack-rhel7/Tools tcl: &Tools_module_root /afs/psi.ch/sys/spack-rhel7/Tools
tcl: tcl:
blacklist_implicits: true blacklist_implicits: true
include: include: *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
all: all:
autoload: direct autoload: direct
conflict: conflict:
- '{name}' - '{name}'
environment: environment:
append_path: append_path:
MODULEPATH: /afs/psi.ch/sys/spack-rhel7/Tools MODULEPATH: *Tools_module_root
set: set:
${PACKAGE}_INCLUDE_DIR: '{prefix}/include' ${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib' ${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
${PACKAGE}_VERSION: '{version}' ${PACKAGE}_VERSION: '{version}'
projections: 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}
threads=openmp: modulefiles/{compiler.name}/{compiler.version}/{name}_OMP/{version}
prefix_inspections: prefix_inspections:
? '' '':
: - CMAKE_PREFIX_PATH - CMAKE_PREFIX_PATH
bin: bin:
- PATH - PATH
include: include:
@ -680,262 +517,94 @@ spack:
#<<< #<<<
specs: specs:
- matrix: - matrix:
- [cmake, cuda, fftw, gromacs, kokkos, mpich, nvhpc, openblas threads=none, openblas - [cmake,cuda,fftw,gromacs,kokkos,mpich,nvhpc,openblas threads=none,openblas threads=openmp,
threads=openmp, python, root, slurm, gsl] python,root,slurm,gsl]
- ['%gcc'] - ['%gcc']
- matrix: - matrix:
- [boost] - [boost, hdf5~mpi, openmpi]
- ['%clang','%gcc','%nvhpc','%oneapi'] - ['%clang','%gcc','%nvhpc','%oneapi']
exclude:
- hdf5~mpi%clang
- openmpi%clang
- matrix: - matrix:
- [hdf5+mpi, hdf5~mpi, netcdf-c, netcdf-fortran, netcdf-c +parallel-netcdf, openmpi] - [hdf5+mpi +fortran +hl +shared, netcdf-fortran, netcdf-c +parallel-netcdf]
- ['%gcc','%nvhpc','%oneapi'] - ['%gcc','%nvhpc','%oneapi']
- [^openmpi]
- intel-oneapi-mpi%oneapi - intel-oneapi-mpi%oneapi
view: view:
Batchsystem: Batchsystem:
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}'
threads=openmp: '{name}_OMP/{version}/{compiler.name}/{compiler.version}'
root: /afs/psi.ch/sys/spack-rhel7/Batchsystem root: /afs/psi.ch/sys/spack-rhel7/Batchsystem
projections: select: *Batchsystem_pckgs
^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}'
threads=openmp: modulefiles/{compiler.name}/{compiler.version}/{name}_OMP/{version}
select:
- slurm
link_type: symlink
link: roots
Compiler: Compiler:
link: roots
link_type: symlink
projections: *unified_projections
root: /afs/psi.ch/sys/spack-rhel7/Compiler root: /afs/psi.ch/sys/spack-rhel7/Compiler
projections: select: *Compiler_pckgs
^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}'
threads=openmp: modulefiles/{compiler.name}/{compiler.version}/{name}_OMP/{version}
select:
- atlas
- boost
- clapack
- clhep
- eigen
- geant4
- gsl
- googletest
- intel-oneapi-mpi
- kokkos
- libint tune=cp2k-lmax-6
- libxc
- libxsmm
- mpich
- openblas threads=none
- openblas threads=openmp
- openmpi
- root
- superlu
- vtk
link_type: symlink
link: roots
Cuda: Cuda:
link: roots
link_type: symlink
projections: *unified_projections
root: /afs/psi.ch/sys/spack-rhel7/cuda root: /afs/psi.ch/sys/spack-rhel7/cuda
projections: select: *Cuda_pckgs
^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}'
threads=openmp: modulefiles/{compiler.name}/{compiler.version}/{name}_OMP/{version}
select:
- cuda
link_type: symlink
link: roots
EM: EM:
link: roots
link_type: symlink
projections: *unified_projections
root: /afs/psi.ch/sys/spack-rhel7/EM root: /afs/psi.ch/sys/spack-rhel7/EM
projections: select: *EM_pckgs
^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}'
threads=openmp: modulefiles/{compiler.name}/{compiler.version}/{name}_OMP/{version}
select:
- cistem
- ctffind
- motioncor2
- relion
- unblur
link_type: symlink
link: roots
HDF5: HDF5:
link: roots
link_type: symlink
projections: *unified_projections
root: /afs/psi.ch/sys/spack-rhel7/HDF5 root: /afs/psi.ch/sys/spack-rhel7/HDF5
projections: select: *HDF5_pckgs
^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}'
threads=openmp: modulefiles/{compiler.name}/{compiler.version}/{name}_OMP/{version}
select:
- alps
- h5hut+mpi
- hdf5-blosc
- ioapi
- hdf5+mpi
- netcdf-c
- netcdf-fortran
- netcdf-c +parallel-netcdf
- trilinos
link_type: symlink
link: roots
HDF5_serial: HDF5_serial:
link: roots
link_type: symlink
projections: *unified_projections
root: /afs/psi.ch/sys/spack-rhel7/HDF5_serial root: /afs/psi.ch/sys/spack-rhel7/HDF5_serial
projections: select: *HDF5_serial_pckgs
^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}'
threads=openmp: modulefiles/{compiler.name}/{compiler.version}/{name}_OMP/{version}
select:
- hdf5~mpi
- h5hut~mpi
- ncview
link_type: symlink
link: roots
Librairies: Librairies:
link: roots
link_type: symlink
projections: *unified_projections
root: /afs/psi.ch/sys/spack-rhel7/Librairies root: /afs/psi.ch/sys/spack-rhel7/Librairies
projections: select: *Librairies_pckgs
^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}'
threads=openmp: modulefiles/{compiler.name}/{compiler.version}/{name}_OMP/{version}
select:
- alsa-lib
- gdrcopy
- giflib
- gmp
- hwloc
- isl
- knem
- libtasn1
- mpc
- mpfr
- nettle
- pmix
- ucx
- udunits
- wxwidgets
- x264
- zlib
link_type: symlink
link: roots
MPI: MPI:
link: roots
link_type: symlink
projections: *unified_projections
root: /afs/psi.ch/sys/spack-rhel7/MPI root: /afs/psi.ch/sys/spack-rhel7/MPI
projections: select: *MPI_pckgs
^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}'
threads=openmp: modulefiles/{compiler.name}/{compiler.version}/{name}_OMP/{version}
select:
- amrex
- boxlib
- cp2k
- cpmd
- elegant
- elpa
- fftw
- gromacs
- lammps
- astra
link_type: symlink
link: roots
MX: MX:
link: roots
link_type: symlink
projections: *unified_projections
root: /afs/psi.ch/sys/spack-rhel7/MX root: /afs/psi.ch/sys/spack-rhel7/MX
projections: select: *MX_pckgs
^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}'
threads=openmp: modulefiles/{compiler.name}/{compiler.version}/{name}_OMP/{version}
select:
- cbflib
- lz4
- openbabel
- visit
link_type: symlink
link: roots
Programming: Programming:
link: roots
link_type: symlink
projections: *unified_projections
root: /afs/psi.ch/sys/spack-rhel7/Programming root: /afs/psi.ch/sys/spack-rhel7/Programming
projections: select: *Programming_pckgs
^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}'
threads=openmp: modulefiles/{compiler.name}/{compiler.version}/{name}_OMP/{version}
select:
- autoconf
- automake
- binutils
- bison
- cmake
- erlang
- gcc
- go
- intel
- openjdk
- julia
- libtool
- lua
- m4
- nasm
- perl
- nvhpc
- python
- py-tensorflow
- qt
- r
- tcl
- tk
link_type: symlink
link: roots
System: System:
link: roots
link_type: symlink
projections: *unified_projections
root: /afs/psi.ch/sys/spack-rhel7/System root: /afs/psi.ch/sys/spack-rhel7/System
projections: select: *System_pckgs
^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}'
threads=openmp: modulefiles/{compiler.name}/{compiler.version}/{name}_OMP/{version}
select:
- bash
- filebench
- ior
- mdtest
- nmap
- patchelf
- unison
link_type: symlink
link: roots
Tools: Tools:
root: /afs/psi.ch/sys/spack-rhel7/Tools
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}'
threads=openmp: modulefiles/{compiler.name}/{compiler.version}/{name}_OMP/{version}
select:
- 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
link_type: symlink
link: roots link: roots
link_type: symlink
projections: *unified_projections
root: /afs/psi.ch/sys/spack-rhel7/Tools
select: *Tools_pckgs