Skip to content

Commit 7d1720f

Browse files
authored
Merge pull request #104 from bedroge/cp2k_a64fx_parallel
Limit CP2K build on A64FX to max 6 cores
2 parents 706f9e8 + f43b244 commit 7d1720f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

eb_hooks.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1703,6 +1703,9 @@ def set_maximum(parallel, max_value):
17031703
# Deucalion has 32GB HBM for 48 cores per node
17041704
CPU_TARGET_A64FX: (divide_by_factor, 4),
17051705
# software-specific limits
1706+
'CP2K': {
1707+
CPU_TARGET_A64FX: (set_maximum, 6),
1708+
},
17061709
'libxc': {
17071710
'*': (divide_by_factor, 2),
17081711
CPU_TARGET_A64FX: (set_maximum, 12),

0 commit comments

Comments
 (0)