Skip to content

Commit

Permalink
Merge remote-tracking branch 'GFDL/main' into feature/update-to-GFDL-…
Browse files Browse the repository at this point in the history
…20211019
  • Loading branch information
jiandewang committed Oct 20, 2021
2 parents 36f17eb + 8d80d64 commit fd02017
Show file tree
Hide file tree
Showing 147 changed files with 5,659 additions and 2,395 deletions.
1 change: 1 addition & 0 deletions .github/actions/testing-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ runs:
echo "::group::Install linux packages"
sudo apt-get update
sudo apt-get install netcdf-bin libnetcdf-dev libnetcdff-dev mpich libmpich-dev
sudo apt-get install linux-tools-common
echo "::endgroup::"
- name: Compile FMS library
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/expression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
run: make run.symmetric -k -s

- name: Run tests
run: make test.repros test.dims -k -s
run: make test.repro test.dim -k -s
2 changes: 1 addition & 1 deletion .github/workflows/other.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
run: make run.symmetric -k -s

- name: Run tests
run: make test.openmps test.nans test.restarts -k -s
run: make test.openmp test.nan test.restart -k -s
36 changes: 36 additions & 0 deletions .github/workflows/perfmon.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Performance Monitor

on: [pull_request]

jobs:
build-test-perfmon:

runs-on: ubuntu-latest
defaults:
run:
working-directory: .testing

steps:
- uses: actions/checkout@v2
with:
submodules: recursive

- uses: ./.github/actions/testing-setup

- name: Compile optimized models
run: >-
make -j build.prof
MOM_TARGET_SLUG=$GITHUB_REPOSITORY
MOM_TARGET_LOCAL_BRANCH=$GITHUB_BASE_REF
DO_REGRESSION_TESTS=true
- name: Generate profile data
run: >-
pip install f90nml &&
make profile
DO_REGRESSION_TESTS=true
- name: Generate perf data
run: |
sudo sysctl -w kernel.perf_event_paranoid=2
make perf DO_REGRESSION_TESTS=true
2 changes: 1 addition & 1 deletion .github/workflows/regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
run: make run.symmetric -k -s

- name: Regression test
run: make test.regressions DO_REGRESSION_TESTS=true -k -s
run: make test.regression DO_REGRESSION_TESTS=true -k -s
2 changes: 1 addition & 1 deletion .github/workflows/stencil.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
run: make run.symmetric -k -s

- name: Run tests
run: make test.grids test.layouts test.rotations -k -s
run: make test.grid test.layout test.rotate -k -s
Loading

0 comments on commit fd02017

Please sign in to comment.