-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'spcl:master' into master
- Loading branch information
Showing
130 changed files
with
12,468 additions
and
1,577 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
name: NASA/NOAA Pace repository build test | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
build_pace: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [3.8.10] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
repository: '[email protected]:GEOS-ESM/pace.git' | ||
ref: 'ci/DaCe' | ||
submodules: 'recursive' | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies & pull correct DaCe | ||
run: | | ||
cd pace | ||
python -m pip install --upgrade pip wheel setuptools | ||
cd external/dace | ||
git checkout ${{ github.sha }} | ||
cd ../.. | ||
pip install -e external/gt4py | ||
pip install -e external/dace | ||
pip install -r requirements_dev.txt | ||
- name: Download data | ||
run: | | ||
cd pace | ||
mkdir -p test_data | ||
cd test_data | ||
wget https://portal.nccs.nasa.gov/datashare/astg/smt/pace-regression-data/8.1.3_c12_6_ranks_standard.D_SW.tar.gz | ||
tar -xzvf 8.1.3_c12_6_ranks_standard.D_SW.tar.gz | ||
wget https://portal.nccs.nasa.gov/datashare/astg/smt/pace-regression-data/8.1.3_c12_6_ranks_standard.RiemSolverC.tar.gz | ||
tar -xzvf 8.1.3_c12_6_ranks_standard.RiemSolverC.tar.gz | ||
wget https://portal.nccs.nasa.gov/datashare/astg/smt/pace-regression-data/8.1.3_c12_6_ranks_standard.Remapping.tar.gz | ||
tar -xzvf 8.1.3_c12_6_ranks_standard.Remapping.tar.gz | ||
cd ../.. | ||
- name: "Regression test: Riemman Solver on C-grid" | ||
run: | | ||
export FV3_DACEMODE=BuildAndRun | ||
export PACE_CONSTANTS=GFS | ||
cd pace | ||
pytest -v -s --data_path=./test_data/8.1.3/c12_6ranks_standard/dycore \ | ||
--backend=dace:cpu --which_modules=Riem_Solver_C \ | ||
--threshold_overrides_file=./fv3core/tests/savepoint/translate/overrides/standard.yaml \ | ||
./fv3core/tests/savepoint | ||
- name: "Regression test: D-grid shallow water lagrangian dynamics (D_SW)" | ||
run: | | ||
export FV3_DACEMODE=BuildAndRun | ||
export PACE_CONSTANTS=GFS | ||
cd pace | ||
pytest -v -s --data_path=./test_data/8.1.3/c12_6ranks_standard/dycore \ | ||
--backend=dace:cpu --which_modules=D_SW \ | ||
--threshold_overrides_file=./fv3core/tests/savepoint/translate/overrides/standard.yaml \ | ||
./fv3core/tests/savepoint | ||
- name: "Regression test: Remapping (on rank 0 only)" | ||
run: | | ||
export FV3_DACEMODE=BuildAndRun | ||
export PACE_CONSTANTS=GFS | ||
cd pace | ||
pytest -v -s --data_path=./test_data/8.1.3/c12_6ranks_standard/dycore \ | ||
--backend=dace:cpu --which_modules=Remapping --which_rank=0 \ | ||
--threshold_overrides_file=./fv3core/tests/savepoint/translate/overrides/standard.yaml \ | ||
./fv3core/tests/savepoint |
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
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 |
---|---|---|
|
@@ -30,7 +30,7 @@ | |
x < 5 | ||
/------>[s2]--------\\ | ||
[s1] \ ->[s5] | ||
[s1] \\ ->[s5] | ||
------>[s3]->[s4]--/ | ||
x >= 5 | ||
|
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
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
Oops, something went wrong.