Skip to content

Commit e0d543c

Browse files
RMelimsimberg
andauthored
CP2K 2025.1 fixes (#219)
Co-authored-by: Mikael Simberg <[email protected]>
1 parent 4a7bbdf commit e0d543c

File tree

5 files changed

+167
-4
lines changed

5 files changed

+167
-4
lines changed

recipes/cp2k/2025.1/gh200/environments.yaml

Lines changed: 72 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
cp2k:
2+
# NOTE: In the "cp2k" environment, DLA-Future is not used by CP2K
3+
# NOTE: However, DLA-Future is still included in the "cp2k" environment
4+
# NOTE: This is to ensure dependencies are the same and module names do not clash
25
compiler:
36
- toolchain: gcc
47
@@ -46,10 +49,10 @@ cp2k:
4649
# SIRIUS
4750
- hdf5
4851
- spfft
49-
- sirius +dlaf +elpa +scalapack
52+
- sirius +elpa ~dlaf +scalapack
5053
# CP2K
5154
52-
- [email protected] +libxc +libint +spglib +cosma +spla +elpa +dlaf +sirius +plumed +dftd4 lmax=5 build_system=cmake
55+
- [email protected] +libxc +libint +spglib +cosma +spla +elpa ~dlaf +sirius +plumed +dftd4 lmax=5 build_system=cmake
5356
variants:
5457
- +mpi
5558
- +openmp
@@ -65,3 +68,70 @@ cp2k:
6568
exclude: ["cp2k"]
6669
cp2k:
6770
link: roots
71+
cp2k-dlaf:
72+
compiler:
73+
- toolchain: gcc
74+
75+
unify: true
76+
specs:
77+
- cmake
78+
- ninja
79+
- [email protected] # Can't be newer than driver version, for DBCSR
80+
- openblas threads=openmp
81+
- netlib-scalapack
82+
- fftw
83+
- libxc@7 ~cuda build_system=cmake
84+
- spglib
85+
- spla
86+
- elpa
87+
- plumed
88+
# libint
89+
- libint
90+
- eigen@3
91+
# pika
92+
- [email protected] malloc=mimalloc
93+
- mimalloc
94+
- boost
95+
- fmt
96+
- spdlog
97+
- hwloc
98+
- whip
99+
# Umpire
100+
- umpire
101+
- blt
102+
- camp
103+
# DLA-Future
104+
- [email protected] +mpi_gpu_aware +mpi_gpu_force_contiguous +scalapack +miniapps
105+
- blaspp
106+
- lapackpp
107+
- dla-future-fortran
108+
# DFTD4
109+
- dftd4
110+
- multicharge
111+
- mctc-lib
112+
# COSMA
113+
- tiled-mm
114+
- costa
115+
- cosma +gpu_direct
116+
# SIRIUS
117+
- hdf5
118+
- spfft
119+
- sirius ~elpa +dlaf +scalapack
120+
# CP2K
121+
122+
- [email protected] +libxc +libint +spglib +cosma +spla +dlaf ~elpa +sirius +plumed +dftd4 lmax=5 build_system=cmake
123+
variants:
124+
- +mpi
125+
- +openmp
126+
- +cuda
127+
- cuda_arch=90
128+
- build_type=Release
129+
mpi:
130+
131+
gpu: cuda
132+
views:
133+
develop-dlaf:
134+
link: roots
135+
exclude: ["cp2k"]
136+
cp2k-dlaf:
137+
link: roots

recipes/cp2k/2025.1/gh200/extra/reframe.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@ develop:
88
ftn: mpifort
99
views:
1010
- develop
11+
develop:
12+
features:
13+
- cp2k-dev
14+
- cuda
15+
- mpi
16+
- dlaf
17+
cc: mpicc
18+
cxx: mpic++
19+
ftn: mpifort
20+
views:
21+
- develop-dlaf
1122
modules:
1223
features:
1324
- cp2k-dev
@@ -30,3 +41,14 @@ run:
3041
ftn: mpifort
3142
views:
3243
- cp2k
44+
run-dlaf:
45+
features:
46+
- cp2k
47+
- cuda
48+
- mpi
49+
- dlaf
50+
cc: mpicc
51+
cxx: mpic++
52+
ftn: mpifort
53+
views:
54+
- cp2k-dlaf

recipes/cp2k/2025.1/gh200/modules.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,7 @@ modules:
1919
exclude: ['%[email protected]', 'gcc %[email protected]']
2020
projections:
2121
all: '{name}/{version}'
22+
cp2k~dlaf: '{name}/{version}'
23+
cp2k+dlaf: '{name}-dlaf/{version}'
24+
sirius~dlaf: '{name}/{version}'
25+
sirius+dlaf: '{name}-dlaf/{version}'

recipes/cp2k/2025.1/mc/environments.yaml

Lines changed: 65 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
cp2k:
2+
# NOTE: In the "cp2k" environment, DLA-Future is not used by CP2K
3+
# NOTE: However, DLA-Future is still included in the "cp2k" environment
4+
# NOTE: This is to ensure dependencies are the same and module names do not clash
25
compiler:
36
- toolchain: gcc
47
@@ -40,10 +43,10 @@ cp2k:
4043
# SIRIUS
4144
- hdf5
4245
- spfft
43-
- sirius +dlaf +elpa +scalapack
46+
- sirius ~dlaf +elpa +scalapack
4447
# CP2K
4548
46-
- [email protected] +libxc +libint +spglib +cosma +spla +elpa +dlaf +sirius +plumed +dftd4 lmax=5 build_system=cmake
49+
- [email protected] +libxc +libint +spglib +cosma +spla +elpa ~dlaf +sirius +plumed +dftd4 lmax=5 build_system=cmake
4750
variants:
4851
- +mpi
4952
- +openmp
@@ -58,3 +61,63 @@ cp2k:
5861
exclude: ["cp2k"]
5962
cp2k:
6063
link: roots
64+
cp2k-dlaf:
65+
compiler:
66+
- toolchain: gcc
67+
68+
unify: true
69+
specs:
70+
- cmake
71+
- ninja
72+
- openblas threads=openmp
73+
- netlib-scalapack
74+
- fftw
75+
- libxc@7 build_system=cmake
76+
- spglib
77+
- spla
78+
- elpa
79+
- libxsmm
80+
- plumed
81+
# libint
82+
- libint
83+
- eigen@3
84+
# pika
85+
- [email protected] malloc=mimalloc
86+
- mimalloc
87+
- boost
88+
- fmt
89+
- spdlog
90+
- hwloc
91+
# DLA-Future
92+
- [email protected] +scalapack +miniapps
93+
- blaspp
94+
- lapackpp
95+
- dla-future-fortran
96+
# DFTD4
97+
- dftd4
98+
- multicharge
99+
- mctc-lib
100+
# COSMA
101+
- costa
102+
- cosma
103+
# SIRIUS
104+
- hdf5
105+
- spfft
106+
- sirius +dlaf ~elpa +scalapack
107+
# CP2K
108+
109+
- [email protected] +libxc +libint +spglib +cosma +spla ~elpa +dlaf +sirius +plumed +dftd4 lmax=5 build_system=cmake
110+
variants:
111+
- +mpi
112+
- +openmp
113+
- build_type=Release
114+
- ~cuda
115+
- ~rocm
116+
mpi:
117+
118+
views:
119+
develop-dlaf:
120+
link: roots
121+
exclude: ["cp2k"]
122+
cp2k-dlaf:
123+
link: roots

recipes/cp2k/2025.1/mc/modules.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,7 @@ modules:
1919
exclude: ['%[email protected]', 'gcc %[email protected]']
2020
projections:
2121
all: '{name}/{version}'
22+
cp2k~dlaf: '{name}/{version}'
23+
cp2k+dlaf: '{name}-dlaf/{version}'
24+
sirius~dlaf: '{name}/{version}'
25+
sirius+dlaf: '{name}-dlaf/{version}'

0 commit comments

Comments
 (0)