Skip to content

Commit 44c5783

Browse files
author
Theofilos Manitaras
authored
Merge pull request #894 from teojgo/test/update_ipm_pe19.06
[test] Update IPM tests for PE19.06
2 parents cc63063 + 90bda58 commit 44c5783

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

cscs-checks/tools/profiling_and_debugging/ipm_mpi_omp.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,30 +8,32 @@
88
@rfm.parameterized_test(['C++'], ['F90'])
99
class Ipm(rfm.RegressionTest):
1010
def __init__(self, lang):
11-
super().__init__()
1211
self.name = 'Ipm_%s' % lang.replace('+', 'p')
12+
self.descr = self.name
1313
self.valid_systems = ['daint:gpu', 'daint:mc', 'dom:gpu', 'dom:mc']
14-
self.valid_prog_environs = ['PrgEnv-cray', 'PrgEnv-gnu',
15-
'PrgEnv-intel', 'PrgEnv-pgi']
14+
self.valid_prog_environs = ['PrgEnv-cray', 'PrgEnv-cray_classic',
15+
'PrgEnv-gnu', 'PrgEnv-intel', 'PrgEnv-pgi']
1616
self.prgenv_flags = {
1717
'PrgEnv-gnu': ['-O2', '-g', '-fopenmp'],
18-
'PrgEnv-cray': ['-O2', '-g', '-homp'],
18+
'PrgEnv-cray': ['-O2', '-g',
19+
'-homp' if lang == 'F90' else '-fopenmp'],
20+
'PrgEnv-cray_classic': ['-O2', '-g', '-homp'],
1921
'PrgEnv-intel': ['-O2', '-g', '-openmp'],
2022
'PrgEnv-pgi': ['-O2', '-g', '-mp']
2123
}
2224
ipm_ver = '2.0.6'
23-
tc_ver = '19.03'
25+
tc_ver = '19.06'
2426
self.ipm_modules = {
2527
'PrgEnv-gnu': ['IPM/%s-CrayGNU-%s' % (ipm_ver, tc_ver)],
2628
'PrgEnv-cray': ['IPM/%s-CrayCCE-%s' % (ipm_ver, tc_ver)],
29+
'PrgEnv-cray_classic': [
30+
'IPM/%s-CrayCCE-%s-classic' % (ipm_ver, tc_ver)],
2731
'PrgEnv-intel': ['IPM/%s-CrayIntel-%s' % (ipm_ver, tc_ver)],
2832
'PrgEnv-pgi': ['IPM/%s-CrayPGI-%s' % (ipm_ver, tc_ver)]
2933
}
3034
self.sourcesdir = os.path.join('src', lang)
3135
self.executable = './jacobi'
3236
self.build_system = 'Make'
33-
if lang == 'F90':
34-
self.build_system.max_concurrency = 1
3537

3638
self.num_tasks = 3
3739
self.num_tasks_per_node = 3

0 commit comments

Comments
 (0)