-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Dockerfile. Create a new yml just for compression.
- Loading branch information
Showing
3 changed files
with
141 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
name: h5bench (HDF5 1.14.0) | ||
|
||
on: | ||
pull_request: | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
h5bench: | ||
runs-on: ubuntu-20.04 | ||
container: | ||
image: hpcio/hdf5-1.14.1-compress | ||
timeout-minutes: 60 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
|
||
- name: Build Argobots | ||
run: | | ||
current="$PWD" | ||
export ABT_DIR=$current/vol-async/argobots | ||
cd $ABT_DIR | ||
./autogen.sh | ||
./configure --prefix=$ABT_DIR/install | ||
make -j 8 | ||
make install | ||
- name: Build h5bench SYNC | ||
run: | | ||
current="$PWD" | ||
export HDF5_HOME=/opt/hdf5 | ||
mkdir build-sync | ||
cd build-sync | ||
cmake .. \ | ||
-DCMAKE_C_COMPILER=$HDF5_HOME/bin/h5pcc \ | ||
-DH5BENCH_ALL=ON | ||
make | ||
- name: Test h5bench SYNC write/read | ||
run: | | ||
cd build-sync | ||
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-read-contig-1d-small.json | ||
- name: Test h5bench SYNC write/read 1D N_BIT filter | ||
run: | | ||
cd build-sync | ||
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-read-chunked-1d-N_BIT.json | ||
- name: Test h5bench SYNC write/read 1D SZIP filter | ||
run: | | ||
cd build-sync | ||
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-read-chunked-1d-SZIP.json | ||
- name: Test h5bench SYNC write/read 1D GZIP filter | ||
run: | | ||
cd build-sync | ||
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-read-chunked-1d-GZIP.json | ||
- name: Test h5bench SYNC write/read 1D SZ3 filter | ||
run: | | ||
cd build-sync | ||
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-read-chunked-1d-SZ3.json | ||
- name: Test h5bench SYNC write/read 1D ZFP filter | ||
run: | | ||
export LD_LIBRARY_PATH=/opt/zfp/installer/lib64:$LD_LIBRARY_PATH | ||
cd build-sync | ||
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-read-chunked-1d-ZFP.json | ||
- name: Test h5bench SYNC write/read 2D N_BIT filter | ||
run: | | ||
cd build-sync | ||
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-read-chunked-2d-N_BIT.json | ||
- name: Test h5bench SYNC write/read 2D SZIP filter | ||
run: | | ||
cd build-sync | ||
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-read-chunked-2d-SZIP.json | ||
- name: Test h5bench SYNC write/read 2D GZIP filter | ||
run: | | ||
cd build-sync | ||
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-read-chunked-2d-GZIP.json | ||
- name: Test h5bench SYNC write/read 2D SZ3 filter | ||
run: | | ||
cd build-sync | ||
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-read-chunked-2d-SZ3.json | ||
- name: Test h5bench SYNC write/read 2D ZFP filter | ||
run: | | ||
export LD_LIBRARY_PATH=/opt/zfp/installer/lib64:$LD_LIBRARY_PATH | ||
cd build-sync | ||
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-read-chunked-2d-ZFP.json | ||
- name: Test h5bench SYNC write/read 3D N_BIT filter | ||
run: | | ||
cd build-sync | ||
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-read-chunked-3d-N_BIT.json | ||
- name: Test h5bench SYNC write/read 3D SZIP filter | ||
run: | | ||
cd build-sync | ||
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-read-chunked-3d-SZIP.json | ||
- name: Test h5bench SYNC write/read 3D GZIP filter | ||
run: | | ||
cd build-sync | ||
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-read-chunked-3d-GZIP.json | ||
- name: Test h5bench SYNC write/read 3D SZ3 filter | ||
run: | | ||
cd build-sync | ||
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-read-chunked-3d-SZ3.json | ||
- name: Test h5bench SYNC write/read 3D ZFP filter | ||
run: | | ||
export LD_LIBRARY_PATH=/opt/zfp/installer/lib64:$LD_LIBRARY_PATH | ||
cd build-sync | ||
./h5bench --debug --abort-on-failure --validate-mode ../samples/sync-write-read-chunked-3d-ZFP.json | ||
- name: Upload artifact | ||
if: always() | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: test | ||
path: build*/storage/**/std* | ||
retention-days: 1 |