From 44b2cb4100b1b6b5c73717951ce24ed10a2f31f6 Mon Sep 17 00:00:00 2001 From: Luca Date: Wed, 16 Mar 2022 19:27:34 +0100 Subject: [PATCH] Quick fix --- cscs-checks/apps/cpmd/cpmd_check.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cscs-checks/apps/cpmd/cpmd_check.py b/cscs-checks/apps/cpmd/cpmd_check.py index 9ddd653cb4..5da0145bad 100644 --- a/cscs-checks/apps/cpmd/cpmd_check.py +++ b/cscs-checks/apps/cpmd/cpmd_check.py @@ -93,10 +93,10 @@ def setup_run(self): # common setup for every architecture self.job.launcher.options = ['--cpu-bind=cores'] self.job.options = ['--distribution=block:block'] - # FIXME: the current test case does not scale beyond 72 MPI tasks, - # so the last node in 16-nodes jobs will be used only partially. - # The test case needs to be updated (warning about XC_DRIVER IN &DFT) - self.num_tasks = 72 + # FIXME: the current test case does not scale beyond 72 MPI tasks + # and needs to be updated (see the warning about XC_DRIVER IN &DFT) + self.num_tasks_per_node = 72 // self.num_nodes + self.num_tasks = self.num_nodes * self.num_tasks_per_node try: found = self.references[self.num_nodes][arch]