From 477d6c1b40ccc809ecd470ac2ffca9f9bf39f690 Mon Sep 17 00:00:00 2001 From: ajocksch Date: Fri, 6 Sep 2019 11:08:37 +0200 Subject: [PATCH] flexible alltoall OSU benchmark 2nd --- cscs-checks/microbenchmarks/osu/osu_tests.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/cscs-checks/microbenchmarks/osu/osu_tests.py b/cscs-checks/microbenchmarks/osu/osu_tests.py index 04b414283f..f0991fd627 100644 --- a/cscs-checks/microbenchmarks/osu/osu_tests.py +++ b/cscs-checks/microbenchmarks/osu/osu_tests.py @@ -51,6 +51,7 @@ def __init__(self, variant): } +@rfm.required_version('>=2.18') @rfm.simple_test class FlexAlltoallTest(rfm.RegressionTest): def __init__(self): @@ -72,6 +73,15 @@ 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'}