From 8cad7abf417fa990105d5245b6be38ef0188d68a Mon Sep 17 00:00:00 2001 From: Victor Holanda Rusu Date: Thu, 23 Apr 2020 13:12:10 +0200 Subject: [PATCH] Update GREASY test --- cscs-checks/apps/greasy/greasy_check.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/cscs-checks/apps/greasy/greasy_check.py b/cscs-checks/apps/greasy/greasy_check.py index eaf4fd89f0..4ed4ed4edc 100644 --- a/cscs-checks/apps/greasy/greasy_check.py +++ b/cscs-checks/apps/greasy/greasy_check.py @@ -42,6 +42,7 @@ def __init__(self, variant, partition, num_greasy_tasks, nworkes_per_node, # or not self.sleep_time = 60 self.build_system.cflags = ['-DSLEEP_TIME=%d' % self.sleep_time] + self.variant = variant if variant == 'openmp': self.build_system.cflags += ['-fopenmp'] elif variant == 'mpi': @@ -109,12 +110,19 @@ def daint_dom_gpu_specific_workaround(self): 'gres': 'gpu:0,craynetwork:4' } } - elif self.current_partition.fullname in ['daint:mc', 'dom:mc']: + elif self.current_partition.fullname in ['dom:mc']: self.extra_resources = { 'gres': { 'gres': 'craynetwork:72' } } + elif self.current_partition.fullname in ['daint:mc']: + if self.variant != 'serial': + self.extra_resources = { + 'gres': { + 'gres': 'craynetwork:72' + } + } @rfm.run_before('run') def change_executable_name(self):