2026-01-15 16:23:23 +01:00
|
|
|
# Spack environment file for an MPI parallel CP2K binary with all available dependencies
|
2025-03-23 23:41:58 +01:00
|
|
|
|
2026-02-16 08:14:16 +01:00
|
|
|
# Edit this file with care because it is automatically changed by the make_cp2k.sh script
|
|
|
|
|
|
2025-03-23 23:41:58 +01:00
|
|
|
spack:
|
|
|
|
|
concretizer:
|
|
|
|
|
unify: true
|
2026-01-15 16:23:23 +01:00
|
|
|
|
2025-03-23 23:41:58 +01:00
|
|
|
config:
|
2026-04-15 11:07:57 +02:00
|
|
|
connect_timeout: 30
|
2025-03-23 23:41:58 +01:00
|
|
|
install_tree:
|
2026-01-24 23:30:36 +01:00
|
|
|
padded_length: 128
|
2025-03-23 23:41:58 +01:00
|
|
|
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
|
|
|
|
2025-03-23 23:41:58 +01:00
|
|
|
packages:
|
|
|
|
|
all:
|
2025-07-16 10:45:06 +02:00
|
|
|
buildable: true
|
2026-01-16 09:35:42 +01:00
|
|
|
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"
|
2026-01-16 17:10:56 +01:00
|
|
|
- "+mpi_f08"
|
2026-07-01 16:13:06 +02:00
|
|
|
- "~opencl"
|
2026-01-15 16:23:23 +01:00
|
|
|
- "+openmp"
|
|
|
|
|
- "+pic"
|
|
|
|
|
- "~rocm"
|
2026-06-12 10:35:35 +02:00
|
|
|
- "~tests"
|
2026-01-20 09:48:58 +01:00
|
|
|
- "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:
|
2026-02-11 11:40:01 +01:00
|
|
|
- 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
|
2025-03-23 23:41:58 +01:00
|
|
|
mpi:
|
|
|
|
|
require:
|
|
|
|
|
- mpich
|
2026-01-15 16:23:23 +01:00
|
|
|
|
2026-02-20 18:39:40 +01:00
|
|
|
mpich:
|
|
|
|
|
require:
|
|
|
|
|
- "~xpmem"
|
2026-02-23 09:40:41 +01:00
|
|
|
# - "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
|
2025-03-23 23:41:58 +01:00
|
|
|
blas:
|
|
|
|
|
require:
|
|
|
|
|
- openblas
|
2026-01-15 16:23:23 +01:00
|
|
|
|
2025-03-23 23:41:58 +01:00
|
|
|
lapack:
|
|
|
|
|
require:
|
|
|
|
|
- openblas
|
2026-01-15 16:23:23 +01:00
|
|
|
|
2026-06-06 23:20:56 +02:00
|
|
|
libxs:
|
|
|
|
|
require:
|
|
|
|
|
- "+fortran"
|
|
|
|
|
|
2026-01-16 17:10:56 +01:00
|
|
|
libxsmm:
|
|
|
|
|
require:
|
2026-06-19 22:18:04 +08:00
|
|
|
- "+fortran"
|
2026-01-16 17:10:56 +01:00
|
|
|
|
2025-03-23 23:41:58 +01:00
|
|
|
openblas:
|
|
|
|
|
require:
|
2026-01-15 16:23:23 +01:00
|
|
|
- "threads=openmp"
|
2026-01-20 11:45:01 +01:00
|
|
|
- "build_system=makefile"
|
2026-01-15 16:23:23 +01:00
|
|
|
|
2025-04-10 16:24:06 +02:00
|
|
|
scalapack:
|
|
|
|
|
require:
|
|
|
|
|
- netlib-scalapack
|
2026-01-15 16:23:23 +01:00
|
|
|
|
|
|
|
|
# Libraries needed by CP2K
|
|
|
|
|
adios2:
|
|
|
|
|
require:
|
|
|
|
|
- "~bzip2"
|
|
|
|
|
|
2025-03-23 23:41:58 +01:00
|
|
|
cosma:
|
|
|
|
|
require:
|
2026-02-25 13:50:19 +01:00
|
|
|
- "~cuda ~gpu_direct"
|
2026-01-15 16:23:23 +01:00
|
|
|
- "+scalapack"
|
|
|
|
|
|
2025-03-23 23:41:58 +01:00
|
|
|
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
|
|
|
|
2025-05-05 16:58:59 +02:00
|
|
|
deepmdkit:
|
|
|
|
|
require:
|
2026-01-15 16:23:23 +01:00
|
|
|
- "+pytorch"
|
|
|
|
|
|
2025-03-27 18:08:49 +01:00
|
|
|
dla-future:
|
|
|
|
|
require:
|
2026-01-15 16:23:23 +01:00
|
|
|
- "+scalapack"
|
|
|
|
|
|
2025-03-23 23:41:58 +01:00
|
|
|
elpa:
|
|
|
|
|
require:
|
2026-01-15 16:23:23 +01:00
|
|
|
- "+openmp"
|
|
|
|
|
|
2025-03-23 23:41:58 +01:00
|
|
|
fftw:
|
|
|
|
|
require:
|
2026-01-15 16:23:23 +01:00
|
|
|
- "+openmp"
|
|
|
|
|
|
2026-06-03 17:24:08 +02:00
|
|
|
gauxc:
|
|
|
|
|
require:
|
|
|
|
|
- "+c"
|
2026-06-12 10:35:35 +02:00
|
|
|
- "~cutlass"
|
2026-06-03 17:24:08 +02:00
|
|
|
- "+fortran"
|
|
|
|
|
- "+openmp"
|
2026-07-10 18:09:11 +02:00
|
|
|
- "+skala skala_version=1.1"
|
2026-06-03 17:24:08 +02:00
|
|
|
|
2025-03-23 23:41:58 +01:00
|
|
|
hdf5:
|
|
|
|
|
require:
|
2026-01-15 16:23:23 +01:00
|
|
|
- "+fortran"
|
|
|
|
|
|
2026-02-13 15:38:07 +01:00
|
|
|
libfabric:
|
|
|
|
|
require:
|
2026-02-25 09:19:26 +01:00
|
|
|
- "~cuda ~gdrcopy"
|
|
|
|
|
# - "fabrics=efa,ucx"
|
2026-02-13 15:38:07 +01:00
|
|
|
|
2025-03-23 23:41:58 +01:00
|
|
|
libint:
|
|
|
|
|
require:
|
2026-01-15 16:23:23 +01:00
|
|
|
- "+fortran"
|
|
|
|
|
|
2025-03-23 23:41:58 +01:00
|
|
|
libxc:
|
|
|
|
|
require:
|
2026-02-10 12:15:01 +01:00
|
|
|
- "~cuda"
|
2026-01-15 16:23:23 +01:00
|
|
|
- "+kxc"
|
|
|
|
|
|
2026-02-13 15:38:07 +01:00
|
|
|
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"
|
|
|
|
|
|
2025-03-25 11:38:40 +01:00
|
|
|
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
|
|
|
|
2025-03-23 23:41:58 +01:00
|
|
|
sirius:
|
|
|
|
|
require:
|
2026-02-13 15:38:07 +01:00
|
|
|
- "~apps"
|
|
|
|
|
- "+dftd3"
|
2026-07-11 16:53:23 +02:00
|
|
|
- "+dlaf"
|
2026-02-13 15:38:07 +01:00
|
|
|
- "+elpa"
|
2026-01-15 16:23:23 +01:00
|
|
|
- "+fortran"
|
|
|
|
|
- "+pugixml"
|
2026-02-13 15:38:07 +01:00
|
|
|
- "+scalapack"
|
2026-01-15 16:23:23 +01:00
|
|
|
- "+vdwxc"
|
|
|
|
|
|
2025-03-23 23:41:58 +01:00
|
|
|
spla:
|
|
|
|
|
require:
|
2026-01-15 16:23:23 +01:00
|
|
|
- "+fortran"
|
|
|
|
|
|
2025-03-23 23:41:58 +01:00
|
|
|
trexio:
|
|
|
|
|
require:
|
2026-01-15 16:23:23 +01:00
|
|
|
- "+hdf5"
|
|
|
|
|
|
2026-02-12 17:39:29 +01:00
|
|
|
repos:
|
|
|
|
|
builtin:
|
2026-07-09 20:53:15 +02:00
|
|
|
commit: fc7222b5b8ababa8588be2e23ff39b33ecc9ce12 # 2026-07-09
|
2026-03-20 09:32:15 +01:00
|
|
|
|
2025-03-23 23:41:58 +01:00
|
|
|
specs:
|
2026-01-20 11:45:01 +01:00
|
|
|
# Build tools
|
2026-01-21 11:06:06 +01:00
|
|
|
- "cmake@3.27:"
|
2026-01-28 13:34:10 +01:00
|
|
|
- "gcc@10:"
|
2026-01-20 13:50:41 +01:00
|
|
|
- "gmake@4.2:"
|
2026-04-13 18:45:15 +08:00
|
|
|
- "mpich@5.0.1"
|
2026-02-20 15:50:32 +01:00
|
|
|
- "ninja@1.13"
|
2026-03-16 17:32:31 +01:00
|
|
|
# - "openmpi@5.0.10"
|
2026-01-21 11:06:06 +01:00
|
|
|
- "python@3.11:"
|
2026-01-20 11:45:01 +01:00
|
|
|
# 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"
|
2026-03-30 14:32:51 +02:00
|
|
|
# - "dftd4@4.0.2"
|
2026-07-11 16:53:23 +02:00
|
|
|
- "dla-future@0.10.0"
|
|
|
|
|
- "dla-future-fortran@0.5.0"
|
2026-07-08 10:58:30 +02:00
|
|
|
- "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"
|
2026-01-20 09:48:58 +01:00
|
|
|
- "greenx@2.2"
|
2026-03-12 17:30:11 +01:00
|
|
|
- "hdf5@2.1.0"
|
2026-05-01 13:33:30 +02:00
|
|
|
- "libfabric@2.5.1"
|
2026-05-13 14:17:27 +02:00
|
|
|
- "libfci@0.1.0"
|
2026-07-06 16:12:20 +02:00
|
|
|
# - "libgint@release_v1"
|
2026-03-08 06:44:57 +01:00
|
|
|
- "libint@2.13.1-cp2k-lmax-5"
|
2026-01-20 09:48:58 +01:00
|
|
|
- "libsmeagol@1.2"
|
2026-02-12 20:03:03 +01:00
|
|
|
- "libvdwxc@0.5.0"
|
2026-01-20 09:48:58 +01:00
|
|
|
- "libvori@220621"
|
|
|
|
|
- "libxc@7.0.0"
|
2026-06-27 22:26:19 +02:00
|
|
|
- "libxs@1.0.0"
|
2026-07-01 08:47:44 +02:00
|
|
|
- "libxsmm@2.0.0"
|
2026-07-01 16:13:06 +02:00
|
|
|
# - "libxstream@1.0.0"
|
2026-01-20 09:48:58 +01:00
|
|
|
- "mimic-mcl@3.0.0"
|
2026-03-26 11:04:00 +01:00
|
|
|
- "netlib-scalapack@2.2.3"
|
2026-05-19 17:28:28 +02:00
|
|
|
- "openblas@0.3.33"
|
2026-02-12 20:10:41 +01:00
|
|
|
- "openpmd-api@0.17.0"
|
2026-06-01 02:17:32 +08:00
|
|
|
- "pace@2025.12.4.1"
|
2026-01-20 09:48:58 +01:00
|
|
|
- "pexsi@2.0.0"
|
2026-07-08 09:48:43 +02:00
|
|
|
- "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"
|
2026-01-20 09:48:58 +01:00
|
|
|
- "spfft@1.1.1"
|
2026-02-07 19:55:06 +01:00
|
|
|
- "spglib@2.7.0"
|
2026-01-20 09:48:58 +01:00
|
|
|
- "spla@1.6.1"
|
2026-05-17 02:06:18 +08:00
|
|
|
- "tblite@0.6.0"
|
2026-01-20 09:48:58 +01:00
|
|
|
- "trexio@2.5.0"
|
2026-01-15 16:23:23 +01:00
|
|
|
|
2025-03-23 23:41:58 +01:00
|
|
|
view:
|
|
|
|
|
default:
|
2025-12-22 13:20:39 +01:00
|
|
|
root: /opt/spack/view
|
2025-03-23 23:41:58 +01:00
|
|
|
exclude:
|
2026-05-19 14:34:59 +02:00
|
|
|
- curl
|
2025-03-23 23:41:58 +01:00
|
|
|
- gcc-runtime
|
2026-05-19 14:34:59 +02:00
|
|
|
- readline
|