Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 30 additions & 11 deletions cscs-checks/microbenchmarks/osu/osu_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ def __init__(self, variant):
self.build_system = 'Make'
self.build_system.makefile = 'Makefile_alltoall'
self.executable = './osu_alltoall'
# The -x option controls the number of warm-up iterations
# The -i option controls the number of iterations
# The -m option sets the maximum message size
# The -x option sets the number of warm-up iterations
# The -i option sets the number of iterations
self.executable_opts = ['-m', '8', '-x', '1000', '-i', '20000']
self.valid_prog_environs = ['PrgEnv-cray', 'PrgEnv-gnu',
'PrgEnv-intel']
Expand All @@ -24,22 +25,24 @@ def __init__(self, variant):
'latency': sn.extractsingle(r'^8\s+(?P<latency>\S+)',
self.stdout, 'latency', float)
}
self.tags = {variant}
self.tags = {variant, 'benchmark'}
self.reference = {
'dom:gpu': {
'latency': (8.23, None, 0.1, 'us')
},
'daint:gpu': {
'latency': (20.73, None, 2.0, 'us')
},
'*': {
'latency': (0, None, None, 'us')
},
}
self.num_tasks_per_node = 1
self.num_gpus_per_node = 1
if self.current_system.name == 'dom':
self.num_tasks = 6

if self.current_system.name == 'daint':
self.num_tasks = 16
else:
self.num_tasks = 6

self.extra_resources = {
'switches': {
Expand Down Expand Up @@ -69,7 +72,7 @@ def __init__(self):
self.num_tasks_per_node = 1
self.num_tasks = 0
self.sanity_patterns = sn.assert_found(r'^1048576', self.stdout)
self.tags = {'diagnostic', 'ops'}
self.tags = {'diagnostic', 'ops', 'benchmark'}


@rfm.required_version('>=2.16')
Expand All @@ -96,7 +99,7 @@ def __init__(self, variant):
'latency': sn.extractsingle(r'^8\s+(?P<latency>\S+)',
self.stdout, 'latency', float)
}
self.tags = {'production'}
self.tags = {'production', 'benchmark'}
if variant == 'small':
self.num_tasks = 6
self.reference = {
Expand All @@ -108,6 +111,9 @@ def __init__(self, variant):
},
'daint:mc': {
'latency': (8.79, None, 0.25, 'us')
},
'*': {
'latency': (0, None, None, 'us')
}
}
else:
Expand All @@ -118,11 +124,12 @@ def __init__(self, variant):
},
'daint:mc': {
'latency': (10.85, None, 0.20, 'us')
},
'*': {
'latency': (0, None, None, 'us')
}
}

# Allow test to run on new systems without errors
self.reference['*:latency'] = (0, None, None, 'us')
self.num_tasks_per_node = 1
self.num_gpus_per_node = 1
self.extra_resources = {
Expand Down Expand Up @@ -175,7 +182,7 @@ def __init__(self):
self.valid_prog_environs = ['PrgEnv-cray', 'PrgEnv-gnu',
'PrgEnv-intel']
self.maintainers = ['RS', 'VK']
self.tags = {'production'}
self.tags = {'production', 'benchmark'}
self.sanity_patterns = sn.assert_found(r'^4194304', self.stdout)

self.extra_resources = {
Expand Down Expand Up @@ -213,6 +220,9 @@ def __init__(self):
},
'kesch:cn': {
'bw': (6311.48, -0.15, None, 'MB/s')
},
'*': {
'bw': (0, None, None, 'MB/s')
}
}
self.perf_patterns = {
Expand Down Expand Up @@ -250,6 +260,9 @@ def __init__(self):
},
'kesch:cn': {
'latency': (1.17, None, 0.1, 'us')
},
'*': {
'latency': (0, None, None, 'us')
}
}
self.perf_patterns = {
Expand Down Expand Up @@ -280,6 +293,9 @@ def __init__(self):
'kesch:cn': {
'bw': (6288.98, -0.1, None, 'MB/s')
},
'*': {
'bw': (0, None, None, 'MB/s')
}
}
self.perf_patterns = {
'bw': sn.extractsingle(r'^4194304\s+(?P<bw>\S+)',
Expand Down Expand Up @@ -317,6 +333,9 @@ def __init__(self):
'kesch:cn': {
'latency': (23.09, None, 0.1, 'us')
},
'*': {
'latency': (0, None, None, 'us')
}
}
self.perf_patterns = {
'latency': sn.extractsingle(r'^8\s+(?P<latency>\S+)',
Expand Down