forked from stackhpc/hpc-tests
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathreframe_config.py
315 lines (313 loc) · 13.1 KB
/
reframe_config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
# define csd3:cclake parameters common across reframe partitions:
csd3_cclake_common = {
'scheduler': 'slurm',
'launcher': 'srun',
'access': [
'--partition=cclake',
'--account=support-cpu',
'--exclude=cpu-p-[1-280,337-672]', # only use one rack's-worth of nodes at present: use rack 6 (cpu-p-[281-336]) as this is all ok
],
'max_jobs': 20,
}
site_configuration = {
'systems': [
{
'name':'csd3',
'descr': 'Cambridge Service for Data Driven Discovery: https://docs.hpc.cam.ac.uk/hpc/index.html',
'hostnames': ['login-e-*'],
'modules_system': 'tmod32',
'stagedir': '/rds/user/hpcbras1/hpc-work',
'partitions': [
{
**csd3_cclake_common,
**{
'name': 'cclake-ib-icc19-impi19-ucx',
'descr': '100Gb Infiniband using icc 19.1.2.254 and impi 2019 Update 8 with UCX',
'environs': ['sysinfo', 'imb', 'nxnlatbw', 'castep', 'wrf', 'intel-hpl'],
'variables': [
['UCX_NET_DEVICES', 'mlx5_0:1'], # only use IB
],
'modules': ['rhel7/default-ccl'],
},
},
{
**csd3_cclake_common,
**{
'name': 'cclake-roce-icc19-impi19-ucx',
'descr': '50Gb RoCE using icc 19.1.2.254 and impi 2019 Update 8 with UCX',
'environs': ['imb', 'castep', 'wrf', 'nxnlatbw', 'intel-hpl'],
'variables': [
['UCX_NET_DEVICES', 'mlx5_1:1'], # only use RoCE
],
'modules': ['rhel7/default-ccl'],
},
},
{
**csd3_cclake_common,
**{
'name': 'cclake-ib-gcc9-ompi3-ucx',
'descr': '100Gb Infiniband using gcc 9.1.0 and openmpi 3.1.6 with UCX',
'environs': ['imb', 'gromacs', 'omb', 'openfoam', 'nxnlatbw'],
'modules': ['openmpi-3.1.6-gcc-9.1.0-omffmfv'],
'variables': [
['SLURM_MPI_TYPE', 'pmix_v3'], # available for ompi3+
['UCX_NET_DEVICES', 'mlx5_0:1'], # only use IB
],
}
},
{
**csd3_cclake_common,
**{
'name': 'cclake-roce-gcc9-ompi3-ucx',
'descr': '50Gb Infiniband using gcc 9.1.0 and openmpi 3.1.6 with UCX',
'environs': ['imb', 'gromacs', 'omb', 'openfoam', 'nxnlatbw'],
'modules': ['openmpi-3.1.6-gcc-9.1.0-omffmfv'],
'variables': [
['SLURM_MPI_TYPE', 'pmix_v3'], # available for ompi3+
['UCX_NET_DEVICES', 'mlx5_1:1'], # only use RoCE
],
}
},
]
},
{
'name':'alaska',
# Changelist for non-reframe changes:
# - 10-09-20: C-states disabled
'descr':'Default AlaSKA OpenHPC p3-appliances slurm cluster',
'hostnames': ['openhpc-login-0', 'openhpc-compute'],
'modules_system':'lmod',
'partitions':[
{
'name':'ib-gcc9-impi-verbs',
'descr': '100Gb Infiniband with gcc 9.3.0 and Intel MPI 2019.7.217',
'scheduler': 'slurm',
'launcher':'mpirun',
'max_jobs':8,
'environs': ['imb', 'omb', 'intel-hpl', 'intel-hpcg'],
'modules': ['gcc/9.3.0-5abm3xg', 'intel-mpi/2019.7.217-bzs5ocr'],
'variables': [
#['FI_PROVIDER', 'mlx'] # doesn't work, needs ucx
['FI_VERBS_IFACE', 'ib'] # # Network interface to use - this is actually default
# these were (failed) attempts to make `srun` work:
#['I_MPI_PMI_LIBRARY', '/opt/ohpc/admin/pmix/lib/libpmi.so'], # see https://slurm.schedmd.com/mpi_guide.html#intel_mpi
#['SLURM_MPI_TYPE', 'pmi2'],
],
},
{
'name':'roce-gcc9-impi-verbs',
'descr': '25Gb RoCE with gcc 9.3.0 and Intel MPI 2019.7.217 using verbs',
'scheduler': 'slurm',
'launcher':'mpirun',
'max_jobs':8,
'environs': ['imb', 'omb', 'intel-hpl', 'intel-hpcg'],
'modules': ['gcc/9.3.0-5abm3xg', 'intel-mpi/2019.7.217-bzs5ocr'],
'variables': [
['FI_VERBS_IFACE', 'p3p2'] # Network interface to use.
],
},
{
'name':'ib-gcc9-openmpi4-ucx',
'descr':'100Gb Infiniband with gcc 9.3.0 and openmpi 4.0.3 using UCX transport layer',
'scheduler': 'slurm',
'launcher':'srun',
'max_jobs':8,
'environs':['imb', 'omb', 'gromacs', 'openfoam', 'cp2k', 'sysinfo', 'nxnlatbw'],
'modules': ['gcc/9.3.0-5abm3xg', 'openmpi/4.0.3-qpsxmnc'],
'variables': [
['SLURM_MPI_TYPE', 'pmix_v2'],
# force IB:
['UCX_NET_DEVICES', 'mlx5_0:1'],
]
},
{
'name':'roce-gcc9-openmpi4-ucx',
'descr':'25Gb RoCE with gcc 9.3.0 and openmpi 4.0.3 using UCX transport layer',
'scheduler': 'slurm',
'launcher':'srun',
'max_jobs':8,
'environs':['imb', 'omb', 'gromacs', 'openfoam', 'cp2k', 'nxnlatbw'],
'modules': ['gcc/9.3.0-5abm3xg', 'openmpi/4.0.3-qpsxmnc'],
'variables': [
['SLURM_MPI_TYPE', 'pmix_v2'],
# use roce:
['UCX_NET_DEVICES', 'mlx5_1:1'],
]
},
]
}, # end alaska
# < insert new systems here >
],
'environments': [
{
'name': 'imb', # a non-targeted environment seems to be necessary for reframe to load the config
# will also work for csd3:cclake-{ib,roce}-icc19-impi19-ucx as the partition's module makes this available
},
{
'name': 'imb',
'target_systems': ['alaska:ib-gcc9-openmpi4-ucx', 'alaska:roce-gcc9-openmpi4-ucx'],
'modules': ['intel-mpi-benchmarks/2019.5-dwg5q6j'],
},
{
'name': 'imb',
'target_systems': ['alaska:ib-gcc9-impi-verbs', 'alaska:roce-gcc9-impi-verbs'],
'modules': ['intel-mpi-benchmarks/2019.5-w54huiw'],
},
{
'name': 'imb',
'target_systems': ['csd3:cclake-ib-gcc9-ompi3-ucx', 'csd3:cclake-roce-gcc9-ompi3-ucx'],
'modules': ['intel-mpi-benchmarks-2019.6-gcc-9.1.0-5tbknir']
},
{
'name': 'gromacs',
},
{
'name': 'gromacs',
'target_systems': ['alaska:ib-gcc9-openmpi4-ucx', 'alaska:roce-gcc9-openmpi4-ucx'],
'modules': ['gromacs/2016.4-y5sjbs4']
},
{
'name': 'gromacs',
'target_systems': ['csd3:cclake-ib-gcc9-ompi3-ucx', 'csd3:cclake-roce-gcc9-ompi3-ucx'],
'modules': ['gromacs-2016.6-gcc-9.1.0-kgomb67']
},
{
'name': 'omb',
},
{
'name': 'omb',
'target_systems': ['alaska:ib-gcc9-openmpi4-ucx', 'alaska:roce-gcc9-openmpi4-ucx'],
'modules': ['osu-micro-benchmarks/5.6.2-vx3wtzo']
},
{
'name': 'omb',
'target_systems': ['alaska:ib-gcc9-impi-verbs', 'alaska:roce-gcc9-impi-verbs'],
'modules': ['osu-micro-benchmarks/5.6.2-ppxiddg']
},
{
'name': 'omb',
'target_systems': ['csd3:cclake-ib-gcc9-ompi3-ucx', 'csd3:cclake-roce-gcc9-ompi3-ucx'],
'modules': ['osu-micro-benchmarks-5.6.3-gcc-9.1.0-nsxydkj']
},
{
'name': 'intel-hpl',
},
{
'name': 'intel-hpl',
'target_systems': ['alaska:ib-gcc9-impi-verbs', 'alaska:roce-gcc9-impi-verbs'],
'modules': ['intel-mkl/2020.1.217-5tpgp7b'], # now installed
},
{
'name': 'intel-hpl',
'target_systems': ['csd3:cclake-ib-icc19-impi19-ucx', 'csd3:cclake-roce-icc19-impi19-ucx'],
'modules': [], # MKL provided as part of partition's modules
},
{
'name': 'intel-hpcg',
},
{
'name': 'intel-hpcg',
'target_systems': ['alaska:ib-gcc9-impi-verbs', 'alaska:roce-gcc9-impi-verbs'],
'modules': ['intel-mkl/2020.1.217-5tpgp7b'],
'variables':[
['PATH', '$PATH:$MKLROOT/benchmarks/hpcg/bin/'], # MKLROOT provided by mkl module
['XHPCG_BIN', 'xhpcg_avx2'],
['SLURM_CPU_BIND', 'verbose'], # doesn't work as task/affinity plugin not enabled
]
},
{
'name':'openfoam'
},
{
'name':'openfoam',
'target_systems': ['alaska:ib-gcc9-openmpi4-ucx', 'alaska:roce-gcc9-openmpi4-ucx'],
'modules': ['openfoam-org/7-4zgjbg2']
},
{
'name':'openfoam',
'target_systems': ['csd3:cclake-ib-gcc9-ompi3-ucx', 'csd3:cclake-roce-gcc9-ompi3-ucx'],
'modules': ['openfoam-org-7-gcc-9.1.0-dahapws']
},
{
'name':'cp2k',
},
{
'name':'cp2k',
'target_systems': ['alaska:ib-gcc9-openmpi4-ucx', 'alaska:roce-gcc9-openmpi4-ucx'],
'modules': ['cp2k/7.1-akb54dx']
},
{
'name': 'sysinfo',
},
{
'name': 'nxnlatbw',
'cc': 'mpicc',
},
{
'name': 'castep',
},
{
'name': 'castep',
'target_systems': ['csd3:cclake-ib-icc19-impi19-ucx', 'csd3:cclake-roce-icc19-impi19-ucx'],
'modules': ['castep'] # castep 17.2.1 with Intel MPI but I don't know which!
},
# {
# 'name': 'sysinfo',
# 'target_systems': ['alaska:ib-gcc9-openmpi4-ucx'] #, 'alaska:roce-gcc9-openmpi4-ucx'],
# },
{
'name': 'wrf',
},
{
'name': 'wrf',
'target_systems': ['csd3:cclake-ib-icc19-impi19-ucx', 'csd3:cclake-roce-icc19-impi19-ucx'],
'modules': [], # intel module already loaded in partition, wrf not defined as module (yet)
'variables': [['WRF_DIR', "$HOME/wrf-build-icc19-impi19-hsw/WRFV3.8.1"]] # TODO: use a module instead
},
],
'logging': [
{
'level': 'debug',
'handlers': [
{
'type': 'file',
'name': 'reframe.log',
'level': 'debug',
'format': '[%(asctime)s] %(levelname)s: %(check_name)s: %(message)s', # noqa: E501
'append': False
},
{
'type': 'stream',
'name': 'stdout',
'level': 'info',
'format': '%(message)s'
},
{
'type': 'file',
'name': 'reframe.out',
'level': 'info',
'format': '%(message)s',
'append': False
}
],
'handlers_perflog': [
{
'type': 'filelog',
# make this the same as output filenames which are ('sysname', 'partition', 'environ', 'testname', 'filename')
'prefix': '%(check_system)s/%(check_partition)s/%(check_environ)s/%(check_name)s', # <testname>.log gets appended
'level': 'info',
# added units here - see Reference: https://reframe-hpc.readthedocs.io/en/latest/config_reference.html?highlight=perflog#logging-.handlers_perflog
'format': '%(check_job_completion_time)s|reframe %(version)s|%(check_info)s|jobid=%(check_jobid)s|%(check_perf_var)s=%(check_perf_value)s|%(check_perf_unit)s|ref=%(check_perf_ref)s (l=%(check_perf_lower_thres)s, u=%(check_perf_upper_thres)s)|%(check_tags)s', # noqa: E501
'datefmt': '%FT%T%:z',
'append': True
}
]
}
],
'general': [
{
'check_search_path': ['./'],
'check_search_recursive': True
}
]
}