|
8 | 8 | @rfm.parameterized_test(['C++'], ['F90']) |
9 | 9 | class Ipm(rfm.RegressionTest): |
10 | 10 | def __init__(self, lang): |
11 | | - super().__init__() |
12 | 11 | self.name = 'Ipm_%s' % lang.replace('+', 'p') |
| 12 | + self.descr = self.name |
13 | 13 | 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'] |
16 | 16 | self.prgenv_flags = { |
17 | 17 | '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'], |
19 | 21 | 'PrgEnv-intel': ['-O2', '-g', '-openmp'], |
20 | 22 | 'PrgEnv-pgi': ['-O2', '-g', '-mp'] |
21 | 23 | } |
22 | 24 | ipm_ver = '2.0.6' |
23 | | - tc_ver = '19.03' |
| 25 | + tc_ver = '19.06' |
24 | 26 | self.ipm_modules = { |
25 | 27 | 'PrgEnv-gnu': ['IPM/%s-CrayGNU-%s' % (ipm_ver, tc_ver)], |
26 | 28 | 'PrgEnv-cray': ['IPM/%s-CrayCCE-%s' % (ipm_ver, tc_ver)], |
| 29 | + 'PrgEnv-cray_classic': [ |
| 30 | + 'IPM/%s-CrayCCE-%s-classic' % (ipm_ver, tc_ver)], |
27 | 31 | 'PrgEnv-intel': ['IPM/%s-CrayIntel-%s' % (ipm_ver, tc_ver)], |
28 | 32 | 'PrgEnv-pgi': ['IPM/%s-CrayPGI-%s' % (ipm_ver, tc_ver)] |
29 | 33 | } |
30 | 34 | self.sourcesdir = os.path.join('src', lang) |
31 | 35 | self.executable = './jacobi' |
32 | 36 | self.build_system = 'Make' |
33 | | - if lang == 'F90': |
34 | | - self.build_system.max_concurrency = 1 |
35 | 37 |
|
36 | 38 | self.num_tasks = 3 |
37 | 39 | self.num_tasks_per_node = 3 |
|
0 commit comments