Skip to content

Commit e90017a

Browse files
author
Vasileios Karakasis
authored
Merge pull request #1657 from lucamar/gromacs-eiger
[test] Adapt GROMACS test to Eiger
2 parents adb0d1d + f23b965 commit e90017a

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

cscs-checks/apps/gromacs/gromacs_check.py

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
# SPDX-License-Identifier: BSD-3-Clause
55

66
import contextlib
7-
import itertools
87
import os
98

109
import reframe as rfm
@@ -100,27 +99,37 @@ def __init__(self, scale, variant):
10099
class GromacsCPUCheck(GromacsBaseCheck):
101100
def __init__(self, scale, variant):
102101
super().__init__('md.log')
103-
self.valid_systems = ['daint:mc']
102+
self.valid_systems = ['daint:mc', 'eiger:mc']
104103
self.descr = 'GROMACS CPU check'
105104
self.executable_opts = ['mdrun', '-dlb yes', '-ntomp 1', '-npme -1',
106105
'-nb cpu', '-s herflat.tpr']
107106

108107
if scale == 'small':
109108
self.valid_systems += ['dom:mc']
110-
self.num_tasks = 216
111-
self.num_tasks_per_node = 36
109+
if (self.current_system.name in ['daint', 'dom']):
110+
self.num_tasks = 216
111+
self.num_tasks_per_node = 36
112+
elif (self.current_system.name in ['eiger']):
113+
self.num_tasks = 768
114+
self.num_tasks_per_node = 128
112115
else:
113-
self.num_tasks = 576
114-
self.num_tasks_per_node = 36
116+
if (self.current_system.name in ['daint', 'dom']):
117+
self.num_tasks = 576
118+
self.num_tasks_per_node = 36
119+
elif (self.current_system.name in ['eiger']):
120+
self.num_tasks = 2048
121+
self.num_tasks_per_node = 128
115122

116123
references = {
117124
'prod': {
118125
'small': {
119126
'dom:mc': {'perf': (40.0, -0.05, None, 'ns/day')},
120-
'daint:mc': {'perf': (38.8, -0.10, None, 'ns/day')}
127+
'daint:mc': {'perf': (38.8, -0.10, None, 'ns/day')},
128+
'eiger:mc': {'perf': (103.00, -0.10, None, 'ns/day')}
121129
},
122130
'large': {
123-
'daint:mc': {'perf': (68.0, -0.20, None, 'ns/day')}
131+
'daint:mc': {'perf': (68.0, -0.20, None, 'ns/day')},
132+
'eiger:mc': {'perf': (146.00, -0.20, None, 'ns/day')}
124133
}
125134
},
126135
}

0 commit comments

Comments
 (0)