Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion cscs-checks/analytics/spark/spark_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def __init__(self):
self.stdout, 'pi', float)
self.sanity_patterns = sn.assert_lt(sn.abs(pi_value - math.pi), 0.01)
self.maintainers = ['TM']
self.tags = {'production'}
self.tags = {'production', 'craype'}

def setup(self, partition, environ, **job_opts):
if partition.fullname == 'daint:gpu':
Expand Down
2 changes: 1 addition & 1 deletion cscs-checks/compile/haswell_fma_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(self):
])

self.maintainers = ['AJ', 'VK']
self.tags = {'production'}
self.tags = {'production', 'craype'}

def setup(self, partition, environ, **job_opts):
if self.current_system.name == 'kesch':
Expand Down
2 changes: 1 addition & 1 deletion cscs-checks/compile/libsci_acc_symlink.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ def __init__(self, lib_name):
self.sanity_patterns = sn.assert_found(lib_name + '.so', self.stdout)

self.maintainers = ['AJ']
self.tags = {'production'}
self.tags = {'production', 'craype'}
4 changes: 2 additions & 2 deletions cscs-checks/compile/libsci_resolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def __init__(self):
'dom:login', 'dom:gpu']
self.modules = ['craype-haswell']
self.maintainers = ['AJ']
self.tags = {'production'}
self.tags = {'production', 'craype'}


@rfm.required_version('>=2.14')
Expand Down Expand Up @@ -91,4 +91,4 @@ def __init__(self):
])

self.maintainers = ['AJ']
self.tags = {'production'}
self.tags = {'production', 'craype'}
2 changes: 1 addition & 1 deletion cscs-checks/cuda/cuda_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def __init__(self):
self.nvidia_sm = '37'

self.maintainers = ['AJ', 'VK']
self.tags = {'production'}
self.tags = {'production', 'craype'}


@rfm.required_version('>=2.14')
Expand Down
2 changes: 1 addition & 1 deletion cscs-checks/cuda/cuda_memtest_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def __init__(self):
*assert_finished_tests,
sn.assert_not_found('(?i)ERROR', self.stdout),
sn.assert_not_found('(?i)ERROR', self.stderr)])
self.tags = {'diagnostic', 'ops'}
self.tags = {'diagnostic', 'ops', 'craype'}

@property
@sn.sanity_function
Expand Down
2 changes: 1 addition & 1 deletion cscs-checks/cuda/multi_gpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def __init__(self):
'kesch:cn:d2h': (7584, -0.1, None, 'MB/s'),
'kesch:cn:d2d': (137408, -0.1, None, 'MB/s')
}
self.tags = {'diagnostic', 'mch'}
self.tags = {'diagnostic', 'mch', 'craype'}
self.maintainers = ['AJ', 'VK']

def _xfer_pattern(self, xfer_kind, devno, nodename):
Expand Down
2 changes: 1 addition & 1 deletion cscs-checks/libraries/io/hdf5_compile_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ def __init__(self, lang, linkage):
self.post_run = ['h5dump h5ex_d_chunk.h5 > h5dump_out.txt']

self.maintainers = ['SO']
self.tags = {'production'}
self.tags = {'production', 'craype'}
2 changes: 1 addition & 1 deletion cscs-checks/libraries/io/netcdf_compile_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __init__(self, lang, linkage):
self.num_tasks_per_node = 1
self.sanity_patterns = sn.assert_found(r'SUCCESS', self.stdout)
self.maintainers = ['AJ', 'VK']
self.tags = {'production'}
self.tags = {'production', 'craype'}

def setup(self, partition, environ, **job_opts):
if self.current_system.name == 'kesch':
Expand Down
2 changes: 1 addition & 1 deletion cscs-checks/libraries/math/trilinos_compile_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def __init__(self, linkage):
self.stdout)

self.maintainers = ['WS', 'AJ']
self.tags = {'production'}
self.tags = {'production', 'craype'}

def setup(self, partition, environ, **job_opts):
prgenv_flags = self.prgenv_flags[environ.name]
Expand Down
2 changes: 1 addition & 1 deletion cscs-checks/libraries/petsc/petsc_helloworld.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ def __init__(self, variant):
self.stdout, 'norm', float, -1)
self.sanity_patterns = sn.assert_lt(norm, 1.0e-5)

self.tags = {'production'}
self.tags = {'production', 'craype'}
self.maintainers = ['WS', 'AJ', 'TM']
2 changes: 1 addition & 1 deletion cscs-checks/mch/automatic_arrays_acc.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __init__(self):
}

self.maintainers = ['AJ', 'VK']
self.tags = {'production', 'mch'}
self.tags = {'production', 'mch', 'craype'}

def setup(self, partition, environ, **job_opts):
if environ.name.startswith('PrgEnv-cray'):
Expand Down
2 changes: 1 addition & 1 deletion cscs-checks/mch/collectives_halo.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def __init__(self, variant, bench_reference):
}

self.maintainers = ['AJ', 'VK']
self.tags = {'production', 'mch'}
self.tags = {'production', 'mch', 'craype'}

def setup(self, *args, **kwargs):
super().setup(*args, **kwargs)
Expand Down
2 changes: 1 addition & 1 deletion cscs-checks/mch/cuda_stress_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ def __init__(self):
'time': (2.25, None, 0.05)
}
}
self.tags = {'production', 'mch'}
self.tags = {'production', 'mch', 'craype'}
self.maintainers = ['VK', 'AJ']
2 changes: 1 addition & 1 deletion cscs-checks/mch/gpu_direct_acc.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def __init__(self):
])
self.launch_options = []
self.maintainers = ['AJ', 'VK']
self.tags = {'production', 'mch'}
self.tags = {'production', 'mch', 'craype'}

def setup(self, partition, environ, **job_opts):
if environ.name.startswith('PrgEnv-cray'):
Expand Down
2 changes: 1 addition & 1 deletion cscs-checks/mch/gpu_direct_cuda.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ def __init__(self):
self.stdout, 'result', float)
self.sanity_patterns = sn.assert_reference(result, 1., -1e-5, 1e-5)
self.maintainers = ['AJ', 'VK']
self.tags = {'production', 'mch'}
self.tags = {'production', 'mch', 'craype'}
2 changes: 1 addition & 1 deletion cscs-checks/mch/openacc_cuda_mpi_cppstd.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def __init__(self):
self.executable = 'openacc_cuda_mpi_cppstd'
self.sanity_patterns = sn.assert_found(r'Result:\s+OK', self.stdout)
self.maintainers = ['AJ', 'VK']
self.tags = {'production', 'mch'}
self.tags = {'production', 'mch', 'craype'}

def setup(self, partition, environ, **job_opts):
if environ.name.startswith('PrgEnv-cray'):
Expand Down
2 changes: 1 addition & 1 deletion cscs-checks/microbenchmarks/alloc_speed/alloc_speed.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ def __init__(self, hugepages):
self.reference = self.sys_reference[hugepages]

self.maintainers = ['AK', 'VH']
self.tags = {'production'}
self.tags = {'production', 'craype'}
2 changes: 1 addition & 1 deletion cscs-checks/microbenchmarks/dgemm/dgemm.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self):
}

self.maintainers = ['AJ', 'VH', 'VK']
self.tags = {'benchmark', 'diagnostic'}
self.tags = {'benchmark', 'diagnostic', 'craype'}

def setup(self, partition, environ, **job_opts):

Expand Down
2 changes: 1 addition & 1 deletion cscs-checks/microbenchmarks/fft/fftw_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ def __init__(self, exec_mode):
}

self.maintainers = ['AJ']
self.tags = {'benchmark', 'scs'}
self.tags = {'benchmark', 'scs', 'craype'}
2 changes: 1 addition & 1 deletion cscs-checks/microbenchmarks/gpu_burn/gpu_burn_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def __init__(self):
self.num_tasks_per_node = 1

self.maintainers = ['AJ', 'VK', 'TM']
self.tags = {'diagnostic', 'benchmark'}
self.tags = {'diagnostic', 'benchmark', 'craype'}

@property
@sn.sanity_function
Expand Down
4 changes: 2 additions & 2 deletions cscs-checks/microbenchmarks/hpcg/hpcg_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def __init__(self):
}

self.maintainers = ['SK']
self.tags = {'diagnostic', 'benchmark'}
self.tags = {'diagnostic', 'benchmark', 'craype'}

@property
@sn.sanity_function
Expand Down Expand Up @@ -129,7 +129,7 @@ def __init__(self):
}

self.maintainers = ['SK']
self.tags = {'diagnostic', 'benchmark'}
self.tags = {'diagnostic', 'benchmark', 'craype'}

@property
@sn.sanity_function
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def __init__(self, kernel_version):
self.reference = self.sys_reference[kernel_version]

self.maintainers = ['TM']
self.tags = {'benchmark', 'diagnostic'}
self.tags = {'benchmark', 'diagnostic', 'craype'}

@property
@sn.sanity_function
Expand Down
2 changes: 1 addition & 1 deletion cscs-checks/microbenchmarks/latency/latency.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def lat_pattern(index):
}

self.maintainers = ['SK']
self.tags = {'benchmark', 'diagnostic'}
self.tags = {'benchmark', 'diagnostic', 'craype'}

@property
@sn.sanity_function
Expand Down
8 changes: 4 additions & 4 deletions cscs-checks/microbenchmarks/osu/osu_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self, variant):
'latency': sn.extractsingle(r'^8\s+(?P<latency>\S+)',
self.stdout, 'latency', float)
}
self.tags = {variant, 'benchmark'}
self.tags = {variant, 'benchmark', 'craype'}
self.reference = {
'dom:gpu': {
'latency': (8.23, None, 0.1, 'us')
Expand Down Expand Up @@ -72,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', 'benchmark'}
self.tags = {'diagnostic', 'ops', 'benchmark', 'craype'}


@rfm.required_version('>=2.16')
Expand All @@ -99,7 +99,7 @@ def __init__(self, variant):
'latency': sn.extractsingle(r'^8\s+(?P<latency>\S+)',
self.stdout, 'latency', float)
}
self.tags = {'production', 'benchmark'}
self.tags = {'production', 'benchmark', 'craype'}
if variant == 'small':
self.num_tasks = 6
self.reference = {
Expand Down Expand Up @@ -182,7 +182,7 @@ def __init__(self):
self.valid_prog_environs = ['PrgEnv-cray', 'PrgEnv-gnu',
'PrgEnv-intel']
self.maintainers = ['RS', 'VK']
self.tags = {'production', 'benchmark'}
self.tags = {'production', 'benchmark', 'craype'}
self.sanity_patterns = sn.assert_found(r'^4194304', self.stdout)

self.extra_resources = {
Expand Down
2 changes: 1 addition & 1 deletion cscs-checks/microbenchmarks/shmem/shmem.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(self):
}

self.maintainers = ['SK']
self.tags = {'benchmark', 'diagnostic'}
self.tags = {'benchmark', 'diagnostic', 'craype'}

@property
@sn.sanity_function
Expand Down
2 changes: 1 addition & 1 deletion cscs-checks/microbenchmarks/stream/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def __init__(self):
'*': {'triad': (0.0, None, None, 'MB/s')},
}
}
self.tags = {'production'}
self.tags = {'production', 'craype'}
self.maintainers = ['RS', 'VK']

def setup(self, partition, environ, **job_opts):
Expand Down
2 changes: 1 addition & 1 deletion cscs-checks/prgenv/affinity_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def __init__(self, variant):
self.executable = './affinity/affinity'
self.variant = variant
self.maintainers = ['RS', 'VK']
self.tags = {'production', 'scs', 'maintenance'}
self.tags = {'production', 'scs', 'maintenance', 'craype'}

def setup(self, partition, environ, **job_opts):

Expand Down
2 changes: 1 addition & 1 deletion cscs-checks/prgenv/cpu_target_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ def __init__(self):
self.stdout)

self.maintainers = ['TM']
self.tags = {'production', 'maintenance'}
self.tags = {'production', 'maintenance', 'craype'}
4 changes: 2 additions & 2 deletions cscs-checks/prgenv/environ_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def __init__(self):
self.valid_prog_environs = ['PrgEnv-cray']
self.valid_systems = ['daint:login', 'dom:login']
self.maintainers = ['VK', 'CB']
self.tags = {'production'}
self.tags = {'production', 'craype'}

# We need to override setup, because otherwise environ will be loaded and
# we could not check if PrgEnv-cray is the default environment. This,
Expand Down Expand Up @@ -50,7 +50,7 @@ def __init__(self):
self.sanity_patterns = sn.assert_found(self.env_module_patt,
self.stderr)
self.maintainers = ['VK', 'CB']
self.tags = {'production'}
self.tags = {'production', 'craype'}

@property
@sn.sanity_function
Expand Down
12 changes: 3 additions & 9 deletions cscs-checks/prgenv/helloworld.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(self, variant, lang, linkage):
self.compilation_time_seconds = None

self.maintainers = ['CB', 'VK']
self.tags = {'production'}
self.tags = {'production', 'craype'}

def setup(self, partition, environ, **job_opts):
result = sn.findall(r'Hello World from thread \s*(\d+) out '
Expand Down Expand Up @@ -93,12 +93,6 @@ def compile(self):
self.compilation_time_seconds = (
datetime.now() - self.compilation_time_seconds).total_seconds()

def cray_omp_flags(self, lang):
if lang != 'f90' and self.current_system.name in {'daint', 'dom'}:
return ['-fopenmp']

return ['-homp']


@rfm.required_version('>=2.14')
@rfm.parameterized_test(*([lang, linkage]
Expand Down Expand Up @@ -137,7 +131,7 @@ def __init__(self, lang, linkage):
self.sourcepath += '_openmp.' + lang
self.descr += ' OpenMP ' + str.capitalize(linkage)
self.prgenv_flags = {
'PrgEnv-cray': self.cray_omp_flags(lang),
'PrgEnv-cray': ['-homp' if lang == 'F90' else '-fopenmp'],
'PrgEnv-cray_classic': ['-homp'],
'PrgEnv-gnu': ['-fopenmp'],
'PrgEnv-intel': ['-qopenmp'],
Expand Down Expand Up @@ -193,7 +187,7 @@ def __init__(self, lang, linkage):
self.sourcepath += '_mpi_openmp.' + lang
self.descr += ' MPI + OpenMP ' + linkage.capitalize()
self.prgenv_flags = {
'PrgEnv-cray': self.cray_omp_flags(lang),
'PrgEnv-cray': ['-homp' if lang == 'F90' else '-fopenmp'],
'PrgEnv-cray_classic': ['-homp'],
'PrgEnv-gnu': ['-fopenmp'],
'PrgEnv-intel': ['-qopenmp'],
Expand Down
4 changes: 2 additions & 2 deletions cscs-checks/prgenv/mpi.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def __init__(self, required_thread):
self.mpithread_version[required_thread])
])
self.maintainers = ['JG']
self.tags = {'production'}
self.tags = {'production', 'craype'}


@rfm.simple_test
Expand All @@ -88,7 +88,7 @@ def __init__(self):
self.stdout, 'nprocs', int)
self.sanity_patterns = sn.assert_eq(num_processes,
self.num_tasks_assigned-1)
self.tags = {'diagnostic', 'ops'}
self.tags = {'diagnostic', 'ops', 'craype'}

@property
@sn.sanity_function
Expand Down
2 changes: 1 addition & 1 deletion cscs-checks/prgenv/openacc_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __init__(self, variant):
self.sanity_patterns = sn.assert_reference(result, 1., -1e-5, 1e-5)

self.maintainers = ['TM', 'VK']
self.tags = {'production'}
self.tags = {'production', 'craype'}

def setup(self, partition, environ, **job_opts):
if environ.name.startswith('PrgEnv-cray'):
Expand Down
2 changes: 1 addition & 1 deletion cscs-checks/prgenv/opencl_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class OpenCLCheck(rfm.RegressionTest):
def __init__(self):
super().__init__()
self.maintainers = ['TM', 'VK']
self.tags = {'production'}
self.tags = {'production', 'craype'}

self.valid_systems = ['daint:gpu', 'dom:gpu']
self.valid_prog_environs = ['PrgEnv-cray', 'PrgEnv-pgi']
Expand Down
4 changes: 2 additions & 2 deletions cscs-checks/prgenv/ssh_environ_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def __init__(self):
self.valid_systems = ['daint:login', 'dom:login']
self.valid_prog_environs = ['PrgEnv-cray']
reference = {
'CRAY_CPU_TARGET': 'haswell',
'CRAY_CPU_TARGET': ('haswell'),
'CRAYPE_NETWORK_TARGET': 'aries',
'MODULEPATH': r'[\S+]',
'MODULESHOME': r'/opt/cray/pe/modules/[\d+\.+]',
Expand All @@ -29,7 +29,7 @@ def __init__(self):
self.sanity_patterns = sn.all(
sn.map(self.assert_envvar, list(reference.items())))
self.maintainers = ['RS', 'LM']
self.tags = {'maintenance', 'production'}
self.tags = {'maintenance', 'production', 'craype'}

def assert_envvar(self, v):
return sn.assert_found('='.join(v), self.stdout)
2 changes: 1 addition & 1 deletion cscs-checks/prgenv/ulimit_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ def __init__(self):
])

self.maintainers = ['RS', 'VK']
self.tags = {'production', 'scs'}
self.tags = {'production', 'scs', 'craype'}
Loading