diff --git a/cscs-checks/microbenchmarks/osu/osu_tests.py b/cscs-checks/microbenchmarks/osu/osu_tests.py index 04b414283f..287353c3d5 100644 --- a/cscs-checks/microbenchmarks/osu/osu_tests.py +++ b/cscs-checks/microbenchmarks/osu/osu_tests.py @@ -2,11 +2,10 @@ import reframe.utility.sanity as sn -@rfm.required_version('>=2.16') +@rfm.required_version('>=2.19') @rfm.parameterized_test(['production']) class AlltoallTest(rfm.RegressionTest): def __init__(self, variant): - super().__init__() self.strict_check = False self.valid_systems = ['daint:gpu', 'dom:gpu'] self.descr = 'Alltoall OSU microbenchmark' @@ -51,10 +50,10 @@ def __init__(self, variant): } +@rfm.required_version('>=2.19') @rfm.simple_test class FlexAlltoallTest(rfm.RegressionTest): def __init__(self): - super().__init__() self.valid_systems = ['daint:gpu', 'daint:mc', 'dom:gpu', 'dom:mc', 'kesch:cn', 'kesch:pn', 'leone:normal'] @@ -72,14 +71,22 @@ def __init__(self): self.num_tasks_per_node = 1 self.num_tasks = 0 self.sanity_patterns = sn.assert_found(r'^1048576', self.stdout) + self.perf_patterns = { + 'latency': sn.extractsingle(r'^8\s+(?P\S+)', + self.stdout, 'latency', float) + } + self.reference = { + '*': { + 'latency': (0, None, None, 'us') + }, + } self.tags = {'diagnostic', 'ops', 'benchmark'} -@rfm.required_version('>=2.16') +@rfm.required_version('>=2.19') @rfm.parameterized_test(['small'], ['large']) class AllreduceTest(rfm.RegressionTest): def __init__(self, variant): - super().__init__() self.strict_check = False self.valid_systems = ['daint:gpu', 'daint:mc'] if variant == 'small': @@ -167,7 +174,6 @@ def __init__(self, num_tasks): class P2PBaseTest(rfm.RegressionTest): def __init__(self): - super().__init__() self.exclusive_access = True self.strict_check = False self.num_tasks = 2 @@ -192,7 +198,7 @@ def __init__(self): } -@rfm.required_version('>=2.16') +@rfm.required_version('>=2.19') @rfm.simple_test class P2PCPUBandwidthTest(P2PBaseTest): def __init__(self): @@ -232,7 +238,7 @@ def __init__(self): self.tags |= {'monch_acceptance'} -@rfm.required_version('>=2.16') +@rfm.required_version('>=2.19') @rfm.simple_test class P2PCPULatencyTest(P2PBaseTest): def __init__(self): @@ -272,7 +278,7 @@ def __init__(self): self.tags |= {'monch_acceptance'} -@rfm.required_version('>=2.16') +@rfm.required_version('>=2.19') @rfm.simple_test class G2GBandwidthTest(P2PBaseTest): def __init__(self): @@ -312,7 +318,7 @@ def __init__(self): self.build_system.cppflags = ['-D_ENABLE_CUDA_'] -@rfm.required_version('>=2.16') +@rfm.required_version('>=2.19') @rfm.simple_test class G2GLatencyTest(P2PBaseTest): def __init__(self):