|
11 | 11 |
|
12 | 12 | class LAMMPSCheck(rfm.RunOnlyRegressionTest): |
13 | 13 | scale = parameter(['small', 'large']) |
14 | | - variant = parameter(['maint', 'prod']) |
15 | 14 | modules = ['cray-python', 'LAMMPS'] |
16 | | - tags = {'scs', 'external-resources'} |
| 15 | + tags = {'external-resources', 'maintenance', 'production'} |
17 | 16 | maintainers = ['LM'] |
18 | 17 | strict_check = False |
19 | 18 | extra_resources = { |
@@ -78,14 +77,13 @@ def setup_by_scale(self): |
78 | 77 | self.num_tasks = 32 |
79 | 78 | self.num_tasks_per_node = 2 |
80 | 79 |
|
81 | | - self.reference = self.references_by_variant[self.variant][self.scale] |
82 | | - self.tags |= {'maintenance', 'production'} |
| 80 | + self.reference = self.refs_by_scale[self.scale] |
83 | 81 |
|
84 | 82 |
|
85 | 83 | @rfm.simple_test |
86 | 84 | class LAMMPSCPUCheck(LAMMPSCheck): |
87 | 85 | valid_systems = ['daint:mc', 'eiger:mc', 'pilatus:mc'] |
88 | | - res_by_scale = { |
| 86 | + refs_by_scale = { |
89 | 87 | 'small': { |
90 | 88 | 'dom:mc': {'perf': (4394, -0.05, None, 'timesteps/s')}, |
91 | 89 | 'daint:mc': {'perf': (3350, -0.30, None, 'timesteps/s')}, |
@@ -121,5 +119,4 @@ def setup_by_scale(self): |
121 | 119 | self.num_tasks_per_node = 128 |
122 | 120 | self.num_tasks = 256 if self.scale == 'small' else 512 |
123 | 121 |
|
124 | | - self.reference = self.references_by_variant[self.variant][self.scale] |
125 | | - self.tags |= {'maintenance', 'production'} |
| 122 | + self.reference = self.refs_by_scale[self.scale] |
0 commit comments