-
Notifications
You must be signed in to change notification settings - Fork 25
380 lines (340 loc) · 15.3 KB
/
run.yml
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
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
name: Run Benchpark and Simple Benchmark Suite
on:
workflow_call:
jobs:
saxpy:
runs-on: ubuntu-latest
steps:
- name: Checkout Benchpark
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Add needed Python libs
run: |
pip install -r ./requirements.txt
- name: Build Saxpy Workspace
run: |
./bin/benchpark setup saxpy/openmp nosite-x86_64 workspace/
- name: Setup Ramble & Spack
run: |
. workspace/setup.sh
spack mirror add ci-buildcache oci://ghcr.io/llnl/benchpark-binary-cache
spack config add "packages:all:target:[x86_64_v3]"
env | grep SPACK >> "$GITHUB_ENV"
env | grep RAMBLE >> "$GITHUB_ENV"
echo "PATH=$PATH" >> "$GITHUB_ENV"
- name: Setup Saxpy Workspace
working-directory: ./workspace/saxpy/openmp/nosite-x86_64/workspace/
run: |
ramble \
--workspace-dir . \
--disable-progress-bar \
--disable-logger \
-c config:spack_flags:install:'--no-check-signature' \
workspace setup
- name: Run Saxpy Experiments
working-directory: ./workspace/saxpy/openmp/nosite-x86_64/workspace/
run: |
ramble \
--workspace-dir . \
--disable-progress-bar \
--disable-logger \
on \
--executor '{execute_experiment}' \
--where '{n_nodes} == 1'
- name: Analyze Saxpy Results
working-directory: ./workspace/saxpy/openmp/nosite-x86_64/workspace/
run: |
ramble \
--workspace-dir . \
--disable-progress-bar \
--disable-logger \
workspace analyze
- name: Archive Experiment Workspace
working-directory: ./workspace/saxpy/openmp/nosite-x86_64/workspace/
if: always()
run: |
ramble \
--workspace-dir . \
--disable-progress-bar \
--disable-logger \
workspace archive
- name: Upload Workspace Archive as CI Artifact
if: always()
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
with:
name: workspace-archive
path: './workspace/saxpy/openmp/nosite-x86_64/workspace/archive/**'
- name: Upload Binaries to CI Cache
if: github.ref == 'refs/heads/develop'
run: |
spack mirror set \
--push \
--oci-username ${{ github.actor }} \
--oci-password "${{ secrets.GITHUB_TOKEN }}" \
ci-buildcache
spack buildcache push \
-j $(($(nproc) + 1)) \
--base-image ubuntu:22.04 \
--unsigned \
--update-index ci-buildcache \
$(spack find --format '/{hash}')
dryrunexperiments:
runs-on: ubuntu-latest
steps:
- name: Checkout Benchpark
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Add needed Python libs
run: |
pip install -r ./requirements.txt
- name: Dry run amg2023/openmp on Dane with allocation modifier
run: |
./bin/benchpark setup amg2023/openmp LLNL-Dane-DELL-sapphirerapids-OmniPath workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/amg2023/openmp/LLNL-Dane-DELL-sapphirerapids-OmniPath/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
- name: Dry run dynamic amg2023-openmp on Dane with allocation modifier
run: |
./bin/benchpark experiment init --dest=amg2023-openmp amg2023 openmp=oui
./bin/benchpark setup ./amg2023-openmp LLNL-Dane-DELL-sapphirerapids-OmniPath workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/amg2023-openmp/LLNL-Dane-DELL-sapphirerapids-OmniPath/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
- name: Dry run amg2023/cuda on Sierra with allocation modifier
run: |
./bin/benchpark setup amg2023/cuda LLNL-Sierra-IBM-power9-V100-Infiniband workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/amg2023/cuda/LLNL-Sierra-IBM-power9-V100-Infiniband/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
- name: Dry run amg2023/cuda on Pascal with allocation modifier
run: |
./bin/benchpark setup amg2023/cuda LLNL-Pascal-Penguin-broadwell-P100-OmniPath workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/amg2023/cuda/LLNL-Pascal-Penguin-broadwell-P100-OmniPath/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
- name: Dry run dynamic kripke-openmp on nosite-x86_64 with allocation modifier
run: |
./bin/benchpark experiment init --dest=kripke-openmp kripke openmp=oui
./bin/benchpark setup ./kripke-openmp nosite-x86_64 workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/kripke-openmp/nosite-x86_64/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
- name: Dry run dynamic kripke-rocm on LLNL-Tioga-HPECray-zen3-MI250X-Slingshot with allocation modifier
run: |
./bin/benchpark experiment init --dest=kripke-rocm kripke rocm=oui
./bin/benchpark setup ./kripke-openmp LLNL-Tioga-HPECray-zen3-MI250X-Slingshot workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/kripke-openmp/LLNL-Tioga-HPECray-zen3-MI250X-Slingshot/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
- name: Dry run kripke/cuda on Sierra with allocation modifier
run: |
./bin/benchpark setup kripke/cuda LLNL-Sierra-IBM-power9-V100-Infiniband workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/kripke/cuda/LLNL-Sierra-IBM-power9-V100-Infiniband/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
- name: Dry run kripke/rocm on dynamic Tioga with allocation modifier
run: |
./bin/benchpark system init --dest=tioga-system tioga rocm=551 compiler=cce ~gtl
./bin/benchpark setup kripke/rocm ./tioga-system workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/kripke/rocm/Tioga-975af3c/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
- name: Dry run dynamic saxpy/rocm with static Tioga
run: |
./bin/benchpark experiment init --dest=saxpy-rocm saxpy rocm=oui
./bin/benchpark setup ./saxpy-rocm LLNL-Tioga-HPECray-zen3-MI250X-Slingshot workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/saxpy-rocm/LLNL-Tioga-HPECray-zen3-MI250X-Slingshot/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
- name: Dry run dynamic saxpy/rocm with dynamic Tioga
run: |
./bin/benchpark system init --dest=tioga-system2 tioga rocm=551 compiler=cce ~gtl
./bin/benchpark experiment init --dest=saxpy-rocm2 saxpy rocm=oui
./bin/benchpark setup ./saxpy-rocm2 ./tioga-system2 workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/saxpy-rocm2/Tioga-975af3c/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
- name: Dry run dynamic saxpy/cuda with dynamic Sierra
run: |
./bin/benchpark system init --dest=sierra-system sierra cuda=10-1-243 compiler=xl
./bin/benchpark experiment init --dest=saxpy-cuda saxpy cuda=oui
./bin/benchpark setup ./saxpy-cuda ./sierra-system workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/saxpy-cuda/Sierra-bdc4915/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
- name: Dry run dynamic laghos/mpi-only on LLNL-Magma-Penguin-icelake-OmniPath with allocation modifier
run: |
./bin/benchpark experiment init --dest=laghos-mpi-only laghos
./bin/benchpark setup ./laghos-mpi-only LLNL-Magma-Penguin-icelake-OmniPath workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/laghos-mpi-only/LLNL-Magma-Penguin-icelake-OmniPath/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
- name: Dry run laghos/mpi-only on LLNL-Ruby-icelake-OmniPath with allocation modifier
run: |
./bin/benchpark setup laghos-mpi-only LLNL-Ruby-icelake-OmniPath workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/laghos-mpi-only/LLNL-Ruby-icelake-OmniPath/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
- name: Dry run lammps/rocm on Tioga with allocation modifier
run: |
./bin/benchpark setup lammps/rocm LLNL-Tioga-HPECray-zen3-MI250X-Slingshot workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/lammps/rocm/LLNL-Tioga-HPECray-zen3-MI250X-Slingshot/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
- name: Dry run hpl/openmp with Caliper-topdown modifier on Magma
run: |
./bin/benchpark setup hpl/openmp --modifier=caliper-topdown LLNL-Magma-Penguin-icelake-OmniPath workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/hpl/openmp/LLNL-Magma-Penguin-icelake-OmniPath/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
- name: Dry run dynamic quicksilver-openmp on nosite-x86_64 with allocation modifier
run: |
./bin/benchpark experiment init --dest=quicksilver-openmp quicksilver openmp=oui experiment=weak
./bin/benchpark setup ./quicksilver-openmp nosite-x86_64 workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/quicksilver-openmp/nosite-x86_64/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
- name: Dry run phloem/mpi-only on nosite-x86_64 with allocation modifier
run: |
./bin/benchpark setup phloem/mpi-only nosite-x86_64 workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/phloem/mpi-only/nosite-x86_64/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
- name: Dry run genesis/openmp with allocation modifier on Fugaku
run: |
./bin/benchpark setup genesis/openmp RCCS-Fugaku-Fujitsu-A64FX-TofuD workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/genesis/openmp/RCCS-Fugaku-Fujitsu-A64FX-TofuD/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
- name: Dry run genesis/openmp with allocation modifier on nosite-x86_64
run: |
./bin/benchpark setup genesis/openmp nosite-x86_64 workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/genesis/openmp/nosite-x86_64/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
- name: Dry run salmon/openmp with allocation modifier on Fugaku
run: |
./bin/benchpark setup salmon/openmp RCCS-Fugaku-Fujitsu-A64FX-TofuD workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/salmon/openmp/RCCS-Fugaku-Fujitsu-A64FX-TofuD/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
- name: Dry run qws/openmp with allocation modifier on Fugaku
run: |
./bin/benchpark setup qws/openmp RCCS-Fugaku-Fujitsu-A64FX-TofuD workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/qws/openmp/RCCS-Fugaku-Fujitsu-A64FX-TofuD/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
- name: Dry run qws/openmp with allocation modifier on nosite-x86_64
run: |
./bin/benchpark setup qws/openmp nosite-x86_64 workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/qws/openmp/nosite-x86_64/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
- name: Dry run dynamic saxpy/openmp with dynamic CTS ruby
run: |
./bin/benchpark system init --dest=ruby-system cts cluster=ruby
./bin/benchpark experiment init --dest=saxpy-openmp saxpy openmp=oui
./bin/benchpark setup ./saxpy-openmp ./ruby-system workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/saxpy-openmp/Cts-6d48f81/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
- name: Dry run dynamic saxpy/openmp with dynamic CTS dane
run: |
./bin/benchpark system init --dest=dane-system cts cluster=dane
./bin/benchpark experiment init --dest=saxpy-openmp2 saxpy openmp=oui
./bin/benchpark setup ./saxpy-openmp2 ./dane-system workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/saxpy-openmp2/Cts-2c51a80/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
- name: Dry run dynamic saxpy/openmp with dynamic CTS magma
run: |
./bin/benchpark system init --dest=magma-system cts cluster=magma
./bin/benchpark experiment init --dest=saxpy-openmp3 saxpy openmp=oui
./bin/benchpark setup ./saxpy-openmp3 ./magma-system workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/saxpy-openmp3/Cts-54a5761/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
- name: Dry run dynamic saxpy/openmp with dynamic generic x86
run: |
./bin/benchpark system init --dest=x86-system genericx86
./bin/benchpark experiment init --dest=saxpy-omp-generic saxpy openmp=oui
./bin/benchpark setup ./saxpy-omp-generic ./x86-system workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/saxpy-omp-generic/Genericx86-040898b/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run