cp2k/tools/spack/cp2k_deps_p.yaml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

244 lines
4 KiB
YAML
Raw Normal View History

2026-01-15 16:23:23 +01:00
# Spack environment file for an MPI parallel CP2K binary with all available dependencies
# Edit this file with care because it is automatically changed by the make_cp2k.sh script
spack:
concretizer:
unify: true
2026-01-15 16:23:23 +01:00
config:
connect_timeout: 30
install_tree:
2026-01-24 23:30:36 +01:00
padded_length: 128
root: /opt/spack
2026-01-15 16:23:23 +01:00
2026-01-08 20:40:17 +01:00
modules:
prefix_inspections:
2026-02-12 11:26:14 +01:00
bin:
- PATH
lib:
2026-01-08 20:40:17 +01:00
- LD_LIBRARY_PATH
2026-02-12 11:26:14 +01:00
lib64:
2026-01-08 20:40:17 +01:00
- LD_LIBRARY_PATH
2026-01-15 16:23:23 +01:00
packages:
all:
buildable: true
prefer:
2026-01-15 16:23:23 +01:00
- "~cuda"
2026-06-03 17:24:08 +02:00
- "+fortran"
2026-01-15 16:23:23 +01:00
- "+mpi"
- "+mpi_f08"
- "~opencl"
2026-01-15 16:23:23 +01:00
- "+openmp"
- "+pic"
- "~rocm"
- "~tests"
- "build_system=cmake"
- "build_type=Release"
2026-01-15 16:23:23 +01:00
2026-02-10 12:15:01 +01:00
cuda:
buildable: false
externals:
- spec: cuda@12.9
2026-02-10 12:15:01 +01:00
prefix: /usr/local/cuda
2026-01-15 16:23:23 +01:00
# Build tools
mpi:
require:
- mpich
2026-01-15 16:23:23 +01:00
2026-02-20 18:39:40 +01:00
mpich:
require:
- "~xpmem"
# - "netmod=ofi"
2026-02-20 18:39:40 +01:00
xpmem:
require:
- "xpmem@master ~kernel-module"
2026-01-15 16:23:23 +01:00
# ScaLAPACK, LAPACK, BLAS
blas:
require:
- openblas
2026-01-15 16:23:23 +01:00
lapack:
require:
- openblas
2026-01-15 16:23:23 +01:00
libxs:
require:
- "+fortran"
libxsmm:
require:
2026-06-19 22:18:04 +08:00
- "+fortran"
openblas:
require:
2026-01-15 16:23:23 +01:00
- "threads=openmp"
- "build_system=makefile"
2026-01-15 16:23:23 +01:00
scalapack:
require:
- netlib-scalapack
2026-01-15 16:23:23 +01:00
# Libraries needed by CP2K
adios2:
require:
- "~bzip2"
cosma:
require:
- "~cuda ~gpu_direct"
2026-01-15 16:23:23 +01:00
- "+scalapack"
dbcsr:
require:
2026-01-15 16:23:23 +01:00
- "~examples"
- "+openmp"
2026-06-28 06:48:27 +02:00
- "smm=libxs"
2026-01-15 16:23:23 +01:00
deepmdkit:
require:
2026-01-15 16:23:23 +01:00
- "+pytorch"
dla-future:
require:
2026-01-15 16:23:23 +01:00
- "+scalapack"
elpa:
require:
2026-01-15 16:23:23 +01:00
- "+openmp"
fftw:
require:
2026-01-15 16:23:23 +01:00
- "+openmp"
2026-06-03 17:24:08 +02:00
gauxc:
require:
- "+c"
- "~cutlass"
2026-06-03 17:24:08 +02:00
- "+fortran"
- "+openmp"
- "+skala skala_version=1.1"
2026-06-03 17:24:08 +02:00
hdf5:
require:
2026-01-15 16:23:23 +01:00
- "+fortran"
libfabric:
require:
2026-02-25 09:19:26 +01:00
- "~cuda ~gdrcopy"
# - "fabrics=efa,ucx"
libint:
require:
2026-01-15 16:23:23 +01:00
- "+fortran"
libxc:
require:
2026-02-10 12:15:01 +01:00
- "~cuda"
2026-01-15 16:23:23 +01:00
- "+kxc"
mctc-lib:
require:
- "~openmp"
2026-01-06 12:57:32 +01:00
openpmd-api:
require:
2026-01-15 16:23:23 +01:00
- "+adios2"
2025-05-14 12:27:02 +02:00
pexsi:
require:
2026-01-15 16:23:23 +01:00
- "+fortran"
py-torch:
require:
2026-01-15 16:23:23 +01:00
- "~distributed"
2026-06-21 07:39:04 +02:00
- "~fbgemm"
2026-01-15 16:23:23 +01:00
- "~kineto"
- "~mkldnn"
- "~rocm"
- "~valgrind"
2026-06-21 07:39:04 +02:00
- "~xnnpack"
2026-01-15 16:23:23 +01:00
sirius:
require:
- "~apps"
- "+dftd3"
- "+dlaf"
- "+elpa"
2026-01-15 16:23:23 +01:00
- "+fortran"
- "+pugixml"
- "+scalapack"
2026-01-15 16:23:23 +01:00
- "+vdwxc"
spla:
require:
2026-01-15 16:23:23 +01:00
- "+fortran"
trexio:
require:
2026-01-15 16:23:23 +01:00
- "+hdf5"
repos:
builtin:
commit: fc7222b5b8ababa8588be2e23ff39b33ecc9ce12 # 2026-07-09
2026-03-20 09:32:15 +01:00
specs:
# Build tools
- "cmake@3.27:"
2026-01-28 13:34:10 +01:00
- "gcc@10:"
- "gmake@4.2:"
2026-04-13 18:45:15 +08:00
- "mpich@5.0.1"
- "ninja@1.13"
2026-03-16 17:32:31 +01:00
# - "openmpi@5.0.10"
- "python@3.11:"
# CP2K
2026-04-29 07:07:37 +02:00
- "adios2@2.12.0"
2026-04-20 10:55:15 +02:00
- "cosma@2.8.4"
2026-06-28 06:48:27 +02:00
- "dbcsr@2.10.0"
2026-04-01 15:41:42 +02:00
- "deepmdkit@3.1.3"
# - "dftd4@4.0.2"
- "dla-future@0.10.0"
- "dla-future-fortran@0.5.0"
- "elpa@2026.02.002"
2026-04-29 07:07:37 +02:00
- "fftw@3.3.11"
2026-06-24 13:58:07 +02:00
- "gauxc@dev20260608"
- "greenx@2.2"
2026-03-12 17:30:11 +01:00
- "hdf5@2.1.0"
- "libfabric@2.5.1"
- "libfci@0.1.0"
# - "libgint@release_v1"
- "libint@2.13.1-cp2k-lmax-5"
- "libsmeagol@1.2"
2026-02-12 20:03:03 +01:00
- "libvdwxc@0.5.0"
- "libvori@220621"
- "libxc@7.0.0"
2026-06-27 22:26:19 +02:00
- "libxs@1.0.0"
- "libxsmm@2.0.0"
# - "libxstream@1.0.0"
- "mimic-mcl@3.0.0"
2026-03-26 11:04:00 +01:00
- "netlib-scalapack@2.2.3"
- "openblas@0.3.33"
2026-02-12 20:10:41 +01:00
- "openpmd-api@0.17.0"
- "pace@2025.12.4.1"
- "pexsi@2.0.0"
- "plumed@2.10.1"
2026-07-02 12:20:55 +02:00
- "py-torch@2.12.1"
2026-04-29 07:07:37 +02:00
- "sirius@7.11.1"
- "spfft@1.1.1"
2026-02-07 19:55:06 +01:00
- "spglib@2.7.0"
- "spla@1.6.1"
- "tblite@0.6.0"
- "trexio@2.5.0"
2026-01-15 16:23:23 +01:00
view:
default:
2025-12-22 13:20:39 +01:00
root: /opt/spack/view
exclude:
- curl
- gcc-runtime
- readline