Skip to content

Commit 44b2cb4

Browse files
author
Luca
committed
Quick fix
1 parent ff28278 commit 44b2cb4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cscs-checks/apps/cpmd/cpmd_check.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ def setup_run(self):
9393
# common setup for every architecture
9494
self.job.launcher.options = ['--cpu-bind=cores']
9595
self.job.options = ['--distribution=block:block']
96-
# FIXME: the current test case does not scale beyond 72 MPI tasks,
97-
# so the last node in 16-nodes jobs will be used only partially.
98-
# The test case needs to be updated (warning about XC_DRIVER IN &DFT)
99-
self.num_tasks = 72
96+
# FIXME: the current test case does not scale beyond 72 MPI tasks
97+
# and needs to be updated (see the warning about XC_DRIVER IN &DFT)
98+
self.num_tasks_per_node = 72 // self.num_nodes
99+
self.num_tasks = self.num_nodes * self.num_tasks_per_node
100100

101101
try:
102102
found = self.references[self.num_nodes][arch]

0 commit comments

Comments
 (0)