-
Notifications
You must be signed in to change notification settings - Fork 27
520 lines (373 loc) · 17.6 KB
/
h5bench-hdf5-1.14.0.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
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
name: h5bench (HDF5 1.14.0)
on:
pull_request:
workflow_dispatch:
push:
branches:
- master
jobs:
h5bench:
runs-on: ubuntu-20.04
container:
image: hpcio/hdf5-1.14.0
timeout-minutes: 60
env:
OMPI_ALLOW_RUN_AS_ROOT: 1
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Configuration
run: |
git config --global user.email "[email protected]"
git config --global user.name "Github CI"
- name: Dependencies
run: |
# VOL-ASYNC
git clone --recursive https://github.com/hpc-io/vol-async.git --branch v1.7 /opt/vol-async
- name: Build Argobots
run: |
export ABT_DIR=/opt/argobots
cd /opt/vol-async/argobots
./autogen.sh
./configure --prefix=$ABT_DIR
make -j 2
make install
- name: Build VOL-ASYNC
run: |
export HDF5_DIR=/opt/hdf5
export ABT_DIR=/opt/argobots
export ASYNC_DIR=/opt/vol-async
cd $ASYNC_DIR
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$ASYNC_DIR -DCMAKE_PREFIX_PATH=$HDF5_DIR -DENABLE_WRITE_MEMCPY=ON
make
make install
- name: Test VOL-ASYNC
run: |
export HDF5_DIR=/opt/hdf5
export HDF5_HOME=$HDF5_DIR
export ABT_DIR=/opt/argobots
export ASYNC_DIR=/opt/vol-async
export LD_LIBRARY_PATH=$ASYNC_DIR/lib:$HDF5_DIR/lib:$ABT_DIR/lib:$LD_LIBRARY_PATH
export HDF5_PLUGIN_PATH="$ASYNC_DIR/include"
export HDF5_VOL_CONNECTOR="async under_vol=0;under_info={}"
cd $ASYNC_DIR/build
export LD_PRELOAD=$ASYNC_DIR/lib/libh5async.so:$ABT_DIR/lib/libabt.so:$HDF5_DIR/lib/libhdf5.so
ctest
- name: Build h5bench SYNC
run: |
export HDF5_HOME=/opt/hdf5
mkdir build-sync
cd build-sync
cmake .. \
-DH5BENCH_ALL=ON
make -j 2
sudo make install
ldconfig
- name: Build h5bench ASYNC
run: |
export HDF5_HOME=/opt/hdf5
export ABT_HOME=/opt/argobots
export ASYNC_HOME=/opt/vol-async
export LD_LIBRARY_PATH=$ASYNC_HOME/lib:$HDF5_HOME/lib:$ABT_HOME/lib:$LD_LIBRARY_PATH
mkdir build-async
cd build-async
cmake .. \
-DWITH_ASYNC_VOL:BOOL=ON \
-DCMAKE_C_FLAGS="-I$ASYNC_HOME/include -L$ASYNC_HOME/lib" \
-DH5BENCH_ALL=ON
make -j 2
sudo make install
ldconfig
- name: Test h5bench SYNC write/read
run: |
export LD_LIBRARY_PATH=/opt/hdf5/lib:$LD_LIBRARY_PATH
cd build-sync
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-read-contig-1d-small.json
- name: Test h5bench SYNC write 1D contiguous (memory) strided (file)
run: |
export LD_LIBRARY_PATH=/opt/hdf5/lib:$LD_LIBRARY_PATH
cd build-sync
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-1d-contig-strided.json
- name: Test h5bench SYNC write 1D contiguous (memory) contiguous (file)
run: |
export LD_LIBRARY_PATH=/opt/hdf5/lib:$LD_LIBRARY_PATH
cd build-sync
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-1d-contig-contig.json
- name: Test h5bench SYNC write 1D contiguous (memory) interleaved (file)
run: |
export LD_LIBRARY_PATH=/opt/hdf5/lib:$LD_LIBRARY_PATH
cd build-sync
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-1d-contig-interleaved.json
- name: Test h5bench SYNC write 1D interleaved (memory) contiguous (file)
run: |
export LD_LIBRARY_PATH=/opt/hdf5/lib:$LD_LIBRARY_PATH
cd build-sync
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-1d-interleaved-contig.json
- name: Test h5bench SYNC write 1D interleaved (memory) interleaved (file)
run: |
export LD_LIBRARY_PATH=/opt/hdf5/lib:$LD_LIBRARY_PATH
cd build-sync
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-1d-interleaved-interleaved.json
- name: Test h5bench SYNC write 2D contiguous (memory) contiguous (file)
run: |
export LD_LIBRARY_PATH=/opt/hdf5/lib:$LD_LIBRARY_PATH
cd build-sync
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-2d-contig-contig.json
- name: Test h5bench SYNC write 2D contiguous (memory) interleaved (file)
run: |
export LD_LIBRARY_PATH=/opt/hdf5/lib:$LD_LIBRARY_PATH
cd build-sync
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-2d-contig-interleaved.json
- name: Test h5bench SYNC write 2D interleaved (memory) contiguous (file)
run: |
export LD_LIBRARY_PATH=/opt/hdf5/lib:$LD_LIBRARY_PATH
cd build-sync
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-2d-interleaved-contig.json
- name: Test h5bench SYNC write 2D interleaved (memory) interleaved (file)
run: |
export LD_LIBRARY_PATH=/opt/hdf5/lib:$LD_LIBRARY_PATH
cd build-sync
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-2d-interleaved-interleaved.json
- name: Test h5bench SYNC write 3D contiguous (memory) contiguous (file)
run: |
export LD_LIBRARY_PATH=/opt/hdf5/lib:$LD_LIBRARY_PATH
cd build-sync
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-3d-contig-contig.json
- name: Test h5bench SYNC read 1D contiguous (memory) contiguous (file) full
run: |
export LD_LIBRARY_PATH=/opt/hdf5/lib:$LD_LIBRARY_PATH
cd build-sync
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-1d-contig-contig-read-full.json
- name: Test h5bench SYNC read 1D contiguous (memory) contiguous (file) partial
run: |
export LD_LIBRARY_PATH=/opt/hdf5/lib:$LD_LIBRARY_PATH
cd build-sync
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-1d-contig-contig-read-partial.json
- name: Test h5bench SYNC read 1D contiguous (memory) contiguous (file) strided
run: |
export LD_LIBRARY_PATH=/opt/hdf5/lib:$LD_LIBRARY_PATH
cd build-sync
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-1d-contig-contig-read-strided.json
- name: Test h5bench SYNC read 2D contiguous (memory) contiguous (file) full
run: |
export LD_LIBRARY_PATH=/opt/hdf5/lib:$LD_LIBRARY_PATH
cd build-sync
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-2d-contig-contig-read-full.json
- name: Test h5bench SYNC read 3D contiguous (memory) contiguous (file) full
run: |
export LD_LIBRARY_PATH=/opt/hdf5/lib:$LD_LIBRARY_PATH
cd build-sync
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-2d-contig-contig-read-full.json
- name: Test h5bench SYNC write unlimited
run: |
export LD_LIBRARY_PATH=/opt/hdf5/lib:$LD_LIBRARY_PATH
cd build-sync
./h5bench --debug --abort-on-failure ../samples/sync-write-unlimited.json
- name: Test h5bench SYNC overwrite
run: |
export LD_LIBRARY_PATH=/opt/hdf5/lib:$LD_LIBRARY_PATH
cd build-sync
./h5bench --debug --abort-on-failure ../samples/sync-overwrite.json
- name: Test h5bench SYNC append
run: |
export LD_LIBRARY_PATH=/opt/hdf5/lib:$LD_LIBRARY_PATH
cd build-sync
./h5bench --debug --abort-on-failure ../samples/sync-append.json
- name: Test h5bench SYNC exerciser
run: |
export LD_LIBRARY_PATH=/opt/hdf5/lib:$LD_LIBRARY_PATH
cd build-sync
./h5bench --debug --abort-on-failure ../samples/sync-exerciser.json
- name: Test h5bench SYNC metadata
run: |
export LD_LIBRARY_PATH=/opt/hdf5/lib:$LD_LIBRARY_PATH
cd build-sync
./h5bench --debug --abort-on-failure ../samples/sync-metadata.json
- name: Test h5bench SYNC amrex
run: |
export LD_LIBRARY_PATH=/opt/hdf5/lib:$LD_LIBRARY_PATH
cd build-sync
./h5bench --debug --abort-on-failure ../samples/sync-amrex.json
- name: Test h5bench SYNC openpmd
run: |
export LD_LIBRARY_PATH=/opt/hdf5/lib:$LD_LIBRARY_PATH
cd build-sync
./h5bench --debug --abort-on-failure ../samples/sync-openpmd.json
- name: Test h5bench SYNC e3sm
run: |
export LD_LIBRARY_PATH=/opt/hdf5/lib:$LD_LIBRARY_PATH
cd build-sync
./h5bench --debug --abort-on-failure ../samples/sync-e3sm.json
- name: Test h5bench SYNC macsio
run: |
export LD_LIBRARY_PATH=/opt/hdf5/lib:$LD_LIBRARY_PATH
cd build-sync
./h5bench --debug --abort-on-failure ../samples/sync-macsio.json
- name: Test h5bench ASYNC write/read
run: |
export HDF5_DIR=/opt/hdf5
export ABT_DIR=/opt/argobots
export ASYNC_DIR=/opt/vol-async
export HDF5_ASYNC_MAX_MEM_MB=1024
cd build-async
python3 ../samples/update.py ../samples/async-write-read-contig-1d-small.json
./h5bench --debug --abort-on-failure ../samples/async-write-read-contig-1d-small.json
- name: Test h5bench ASYNC write 1D contiguous (memory) strided (file)
run: |
export HDF5_DIR=/opt/hdf5
export ABT_DIR=/opt/argobots
export ASYNC_DIR=/opt/vol-async
export HDF5_ASYNC_MAX_MEM_MB=1024
cd build-async
python3 ../samples/update.py ../samples/async-write-1d-contig-strided.json
./h5bench --debug --abort-on-failure --validate-mode ../samples/async-write-1d-contig-strided.json
- name: Test h5bench ASYNC write 1D contiguous (memory) contiguous (file)
run: |
export HDF5_DIR=/opt/hdf5
export ABT_DIR=/opt/argobots
export ASYNC_DIR=/opt/vol-async
export HDF5_ASYNC_MAX_MEM_MB=1024
cd build-async
python3 ../samples/update.py ../samples/async-write-1d-contig-contig.json
./h5bench --debug --abort-on-failure --validate-mode ../samples/async-write-1d-contig-contig.json
- name: Test h5bench ASYNC write 1D contiguous (memory) interleaved (file)
run: |
export HDF5_DIR=/opt/hdf5
export ABT_DIR=/opt/argobots
export ASYNC_DIR=/opt/vol-async
export HDF5_ASYNC_MAX_MEM_MB=1024
cd build-async
python3 ../samples/update.py ../samples/async-write-1d-contig-interleaved.json
./h5bench --debug --abort-on-failure --validate-mode ../samples/async-write-1d-contig-interleaved.json
- name: Test h5bench ASYNC write 1D interleaved (memory) contiguous (file)
run: |
export HDF5_DIR=/opt/hdf5
export ABT_DIR=/opt/argobots
export ASYNC_DIR=/opt/vol-async
export HDF5_ASYNC_MAX_MEM_MB=1024
cd build-async
python3 ../samples/update.py ../samples/async-write-1d-interleaved-contig.json
./h5bench --debug --abort-on-failure --validate-mode ../samples/async-write-1d-interleaved-contig.json
- name: Test h5bench ASYNC write 1D interleaved (memory) interleaved (file)
run: |
export HDF5_DIR=/opt/hdf5
export ABT_DIR=/opt/argobots
export ASYNC_DIR=/opt/vol-async
export HDF5_ASYNC_MAX_MEM_MB=1024
cd build-async
python3 ../samples/update.py ../samples/async-write-1d-interleaved-interleaved.json
./h5bench --debug --abort-on-failure --validate-mode ../samples/async-write-1d-interleaved-interleaved.json
- name: Test h5bench ASYNC write 2D contiguous (memory) contiguous (file)
run: |
export HDF5_DIR=/opt/hdf5
export ABT_DIR=/opt/argobots
export ASYNC_DIR=/opt/vol-async
export HDF5_ASYNC_MAX_MEM_MB=1024
cd build-async
python3 ../samples/update.py ../samples/async-write-2d-contig-contig.json
./h5bench --debug --abort-on-failure --validate-mode ../samples/async-write-2d-contig-contig.json
- name: Test h5bench ASYNC write 2D contiguous (memory) interleaved (file)
run: |
current="$PWD"
export HDF5_DIR=/opt/hdf5
export ABT_DIR=/opt/argobots
export ASYNC_DIR=/opt/vol-async
export HDF5_ASYNC_MAX_MEM_MB=1024
cd build-async
python3 ../samples/update.py ../samples/async-write-2d-contig-interleaved.json
./h5bench --debug --abort-on-failure --validate-mode ../samples/async-write-2d-contig-interleaved.json
- name: Test h5bench ASYNC write 2D interleaved (memory) contiguous (file)
run: |
export HDF5_DIR=/opt/hdf5
export ABT_DIR=/opt/argobots
export ASYNC_DIR=/opt/vol-async
export HDF5_ASYNC_MAX_MEM_MB=1024
cd build-async
python3 ../samples/update.py ../samples/async-write-2d-interleaved-contig.json
./h5bench --debug --abort-on-failure --validate-mode ../samples/async-write-2d-interleaved-contig.json
- name: Test h5bench ASYNC write 2D interleaved (memory) interleaved (file)
run: |
export HDF5_DIR=/opt/hdf5
export ABT_DIR=/opt/argobots
export ASYNC_DIR=/opt/vol-async
export HDF5_ASYNC_MAX_MEM_MB=1024
cd build-async
python3 ../samples/update.py ../samples/async-write-2d-interleaved-interleaved.json
./h5bench --debug --abort-on-failure --validate-mode ../samples/async-write-2d-interleaved-interleaved.json
- name: Test h5bench ASYNC write 3D contiguous (memory) contiguous (file)
run: |
export HDF5_DIR=/opt/hdf5
export ABT_DIR=/opt/argobots
export ASYNC_DIR=/opt/vol-async
export HDF5_ASYNC_MAX_MEM_MB=1024
cd build-async
python3 ../samples/update.py ../samples/async-write-3d-contig-contig.json
./h5bench --debug --abort-on-failure --validate-mode ../samples/async-write-3d-contig-contig.json
- name: Test h5bench ASYNC read 1D contiguous (memory) contiguous (file) full
run: |
export HDF5_DIR=/opt/hdf5
export ABT_DIR=/opt/argobots
export ASYNC_DIR=/opt/vol-async
export HDF5_ASYNC_MAX_MEM_MB=1024
cd build-async
python3 ../samples/update.py ../samples/async-write-1d-contig-contig-read-full.json
./h5bench --debug --abort-on-failure --validate-mode ../samples/async-write-1d-contig-contig-read-full.json
- name: Test h5bench ASYNC read 1D contiguous (memory) contiguous (file) partial
run: |
export HDF5_DIR=/opt/hdf5
export ABT_DIR=/opt/argobots
export ASYNC_DIR=/opt/vol-async
export HDF5_ASYNC_MAX_MEM_MB=1024
cd build-async
python3 ../samples/update.py ../samples/async-write-1d-contig-contig-read-partial.json
./h5bench --debug --abort-on-failure --validate-mode ../samples/async-write-1d-contig-contig-read-partial.json
- name: Test h5bench ASYNC read 1D contiguous (memory) contiguous (file) strided
run: |
export HDF5_DIR=/opt/hdf5
export ABT_DIR=/opt/argobots
export ASYNC_DIR=/opt/vol-async
export HDF5_ASYNC_MAX_MEM_MB=1024
cd build-async
python3 ../samples/update.py ../samples/async-write-1d-contig-contig-read-strided.json
./h5bench --debug --abort-on-failure --validate-mode ../samples/async-write-1d-contig-contig-read-strided.json
- name: Test h5bench ASYNC read 2D contiguous (memory) contiguous (file) full
run: |
export HDF5_DIR=/opt/hdf5
export ABT_DIR=/opt/argobots
export ASYNC_DIR=/opt/vol-async
export HDF5_ASYNC_MAX_MEM_MB=1024
cd build-async
python3 ../samples/update.py ../samples/async-write-2d-contig-contig-read-full.json
./h5bench --debug --abort-on-failure --validate-mode ../samples/async-write-2d-contig-contig-read-full.json
- name: Test h5bench ASYNC read 3D contiguous (memory) contiguous (file) full
run: |
export HDF5_DIR=/opt/hdf5
export ABT_DIR=/opt/argobots
export ASYNC_DIR=/opt/vol-async
export HDF5_ASYNC_MAX_MEM_MB=1024
cd build-async
python3 ../samples/update.py ../samples/async-write-2d-contig-contig-read-full.json
./h5bench --debug --abort-on-failure --validate-mode ../samples/async-write-2d-contig-contig-read-full.json
- name: Test h5bench ASYNC amrex
run: |
export HDF5_DIR=/opt/hdf5
export ABT_DIR=/opt/argobots
export ASYNC_DIR=/opt/vol-async
export HDF5_ASYNC_MAX_MEM_MB=1024
cd build-async
python3 ../samples/update.py ../samples/async-amrex.json
./h5bench --debug --abort-on-failure ../samples/async-amrex.json
- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
- name: Upload artifact
if: always()
uses: actions/upload-artifact@v2
with:
name: test
path: build*/storage/**/std*
retention-days: 5