Skip to content

Commit

Permalink
Merge branch 'master' into read-the-docs-setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanbez authored Aug 30, 2023
2 parents d4153ac + f6df3af commit 624324c
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 3 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/nersc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: NERSC

on:
workflow_dispatch:
push:

jobs:
synchronize:
runs-on: ubuntu-20.04
timeout-minutes: 5
steps:
- name: Synchronize NERSC CI
run: |
curl --request POST --header "PRIVATE-TOKEN: ${{ secrets.NERSC_GITLAB_TOKEN }}" "${{ secrets.NERSC_GITLAB_URL }}"
4 changes: 3 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ stages:

build-perlmutter:
stage: build
when: manual
allow_failure: false
rules:
- if: '$METRICS == null'
tags:
Expand Down Expand Up @@ -47,7 +49,7 @@ test-perlmutter:
script:
- echo "Test h5bench SYNC"
- cd ${H5BENCH_BUILD_PATH}/perlmutter
- export LD_LIBRARY_PATH=$HDF5_DIR/lib:$LD_LIBRARY_PATH
- export LD_LIBRARY_PATH=$HDF5_DIR/lib:$H5BENCH_INSTALL_PATH/perlmutter/lib:$LD_LIBRARY_PATH
- echo "Test h5bench SYNC write/read"
- python3 ../../samples/update-perlmutter.py ../../samples/sync-write-read-contig-1d-small.json
- ./h5bench --debug --abort-on-failure --validate-mode ../../samples/sync-write-read-contig-1d-small.json
Expand Down
4 changes: 2 additions & 2 deletions RELEASE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
h5bench version 1.2
h5bench version 1.4
===================


Expand Down Expand Up @@ -36,4 +36,4 @@ RELEASE
- h5bench v.1.1

- New flexible JSON configuration framework to run workflows
- Update documention
- Update documention
6 changes: 6 additions & 0 deletions samples/update-perlmutter.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,11 @@

data['mpi']['configuration'] = 'srun -A m2621 --qos=debug --constraint=cpu --tasks-per-node=64 -N 1 -n 4 -t 00:30:00'

if 'library' in data['vol']:
data['vol']['library'] = '{}:{}'.format(
data['vol']['library'],
os.getenv('LD_LIBRARY_PATH')
)

with open(ARGS.setup, 'w') as f:
json.dump(data, f, indent=4, sort_keys=False)

0 comments on commit 624324c

Please sign in to comment.