Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ci fix #4

Closed
wants to merge 106 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
3fb6556
Add dependencies to CCPP metadata (#180)
climbfuji Sep 2, 2020
407df4e
github actions utest (#169)
MinsukJi-NOAA Sep 9, 2020
60d3ae2
Python 3 bugfix in ccpp-framework, ESMF 8.1.0bs27, cleanup rt_utils.s…
climbfuji Sep 15, 2020
a31bb7c
fv3 changes for s2s one step cold start (#202)
junwang-noaa Sep 16, 2020
2a6528d
update to latest WW3 (#199)
JessicaMeixner-NOAA Sep 17, 2020
b8c5c22
Update Hera, Orion and WCOSS Dell modulefiles to use hpc-stack libs (…
DusanJovic-NOAA Sep 21, 2020
d021e7b
RRTMG cloud overlap method update (#184)
climbfuji Sep 28, 2020
208f36d
CCPP tendencies bugfixes, global restart reproducibility, halo bounda…
climbfuji Oct 1, 2020
f3db58e
Use top-level build.sh in regression test compile scripts (#209)
DusanJovic-NOAA Oct 2, 2020
2190530
Preparation for S2S cmake (#213)
aerorahul Oct 7, 2020
b00a11f
Merge NCAR feature/transition-to-capgen-1 (prepare for cap_gen.py, st…
climbfuji Oct 9, 2020
fd001d4
Change horizontal advection options in input namelist (#215)
XiaqiongZhou-NOAA Oct 19, 2020
764a38c
Enable building of coupled model (#217)
aerorahul Oct 20, 2020
58e5a8c
Update documentation and license in develop from release/public-v1 (#…
climbfuji Oct 21, 2020
85dd899
remove incorrect tests and replace with correct tests
DeniseWorthen Oct 21, 2020
78da812
add correct default vars for coupled model
DeniseWorthen Oct 21, 2020
a9393ce
add correct edit_inputs for coupled model
DeniseWorthen Oct 21, 2020
c173100
remove incorrect fv3_conf files for coupled model and add correct ones
DeniseWorthen Oct 21, 2020
5ed9459
fix MOM_input templates and nems.configure for coupled model
DeniseWorthen Oct 21, 2020
c06e423
additional small changes
DeniseWorthen Oct 21, 2020
4e0de1a
update rt.conf with correct test names
DeniseWorthen Oct 21, 2020
8a3f59d
Merges in changes from final S2S PR (194)
DeniseWorthen Oct 22, 2020
a2e58be
Add optional data atmoshpere component (#225)
aerorahul Oct 22, 2020
92cfc32
Merge branch 'develop' into feature/fixcoupled_tests
DeniseWorthen Oct 22, 2020
238d194
add wcoss_cray logs (from Minsuk)
DeniseWorthen Oct 23, 2020
4694a1d
point to new baseline skip-ci
DeniseWorthen Oct 23, 2020
a36faa7
fix missed rtpwd setting skip-ci
DeniseWorthen Oct 23, 2020
e5be00c
add orion logs
DeniseWorthen Oct 23, 2020
3dcbb0c
add dell-p3 logs
DeniseWorthen Oct 23, 2020
c8e2d31
add hera logs
DeniseWorthen Oct 23, 2020
00a51e1
Add low resolution coupled tests (#232)
DeniseWorthen Oct 26, 2020
c12980d
Add new tests for DATM-MOM6-CICE6 model (#256)
binli2337 Oct 30, 2020
08d06b6
Add parallel netcdf capability for regional grids (#206)
junwang-noaa Nov 3, 2020
9429797
Add/update HWRF physics (#223)
climbfuji Nov 5, 2020
4e8ef6a
update cmeps, fix debug compile, rename nems.configure files for coup…
DeniseWorthen Nov 9, 2020
2e25df5
Changes to regression test files for recent changes to RRTMG and RRTM…
dustinswales Nov 13, 2020
b771e5b
Bring GFS.v16 features back to develop branch (#274)
junwang-noaa Nov 17, 2020
248b609
rt update (#261)
MinsukJi-NOAA Nov 19, 2020
bfce1df
Fix to allow quilting with non-factors for layout (#250)
chan-hoo Nov 23, 2020
fe5a943
Update develop from gsd/develop 2020/11/20: Unified gravity wave drag…
climbfuji Nov 25, 2020
ff98902
Update .gitmodules and submodule pointer for fv3atm for gsl/develop b…
climbfuji Nov 25, 2020
bbc3771
Updates to stochastic_physics_wrapper (#280)
pjpegion Nov 30, 2020
d4de9e6
RUC ice for gsl/develop (replaces #47) (#49)
DomHeinzeller Dec 1, 2020
63591b6
Update for Jet, bug fixes in running with frac_grid=T and GFDL MP, an…
climbfuji Dec 2, 2020
125c442
Feature/update mom6 and retain b4b results for 025x025 resolution (#290)
jiandewang Dec 4, 2020
0cf031e
Update CICE, Move regression test input outside baseline directory (#…
DeniseWorthen Dec 7, 2020
7a249f2
Update gsl/develop from develop 2020/12/08 (#50)
climbfuji Dec 8, 2020
9bd6b59
Updates to build for JEDI linking/control, add wcoss2 (#295)
mark-a-potts Dec 12, 2020
b6d13d7
Final-final GFS v16 updates / restart reproducibility bugfixes (#325)
climbfuji Dec 15, 2020
c1a7920
Add optional bulk flux calculation in ufs-datm (#266)
DeniseWorthen Dec 15, 2020
d5fa4c1
Update submodule pointer for fv3atm / ccpp-physics - MYNN surface lay…
climbfuji Dec 16, 2020
22c39c5
Add 2 new tests for DATM-MOM6-CICE6 application (#332)
binli2337 Dec 16, 2020
01af65b
RRTMGP and Thompson MP coupling (#323)
dustinswales Dec 18, 2020
ffe417a
Regression test log for PR #323 for jet.intel (#336)
climbfuji Dec 18, 2020
57a8258
Update stochastic_physics submodule to point to NOAA-GSL gsl/develop …
climbfuji Dec 18, 2020
27caecf
Update modules with hpc-stack v1.1.0 (#319)
kgerheiser Dec 18, 2020
1c7d2a1
Replace old regional SDF with FV3_GFS_v15_thompson_mynn (#333)
RatkoVasic-NOAA Dec 22, 2020
fba47b7
Feature/ww3update (#334)
aliabdolali Dec 28, 2020
cfe6ed2
Remove IPD (step 1) (#331)
climbfuji Dec 29, 2020
cfe90f9
Update the format of rt.conf (#349)
DusanJovic-NOAA Dec 30, 2020
742bf4e
Add checkpoint restarts for ufs-cpld (#342)
DeniseWorthen Dec 31, 2020
63b155b
add frac grid input, update and add additional cpld tests (#354)
DeniseWorthen Jan 6, 2021
5adf1d8
Remove unnecessary SIMD instruction sets for Jet, first round of clea…
climbfuji Jan 7, 2021
e7bcc2d
Implementation of CCPP timestep_init and timestep_final phases (#337)
climbfuji Jan 9, 2021
72d48f3
Land stochastic perturbations (#57)
DomHeinzeller Jan 9, 2021
6daad90
Update CMEPS (#345)
DeniseWorthen Jan 12, 2021
1869696
update CMEPS
DeniseWorthen Jan 13, 2021
c61c845
add Dusan's fix for rt_utils.sh
DeniseWorthen Jan 13, 2021
99324d7
update cpl gfsv16 tests
junwang-noaa Jan 14, 2021
d4a36a2
Remove IPD steps 3 and 5 (#357)
climbfuji Jan 15, 2021
31b8a2b
Merge remote-tracking branch 'upstream/develop' into cpl_gfsv16test_fix
junwang-noaa Jan 15, 2021
4f69ddf
point fv3 to EMC develop branch (#377)
junwang-noaa Jan 15, 2021
1ba5078
Merge remote-tracking branch 'upstream/develop' into cpl_gfsv16test_fix
junwang-noaa Jan 15, 2021
77c14ae
Merge branch 'develop' into bugfix/cmeps_charstring_report_compile_fa…
DeniseWorthen Jan 15, 2021
955050b
replace seaice_newland.grb with global_slmask.t1534.3072.1536.grb
junwang-noaa Jan 15, 2021
e437ea2
recover input.mom6.nml.IN
junwang-noaa Jan 15, 2021
d8b4069
Merge pull request #6 from DeniseWorthen/bugfix/cmeps_charstring_repo…
junwang-noaa Jan 15, 2021
c5c03d7
point to Dustins rrtmgp fix branch
junwang-noaa Jan 15, 2021
d7d9fcb
update input directory
junwang-noaa Jan 17, 2021
c4a35de
update global thread and decomp tests
junwang-noaa Jan 19, 2021
1e91672
update fdiag for global control
junwang-noaa Jan 19, 2021
dcba8d3
add RT log file from hera
junwang-noaa Jan 19, 2021
ac40116
commit cray log files; skip-ci
junwang-noaa Jan 19, 2021
9bf1508
add orion log files; skip-ci
junwang-noaa Jan 19, 2021
77f56a4
Stochastic land perturbations: add roughness length over land to the …
climbfuji Jan 19, 2021
fea2496
Update utest. Change ccpp_control_run.IN for utest restart run.
MinsukJi-NOAA Jan 19, 2021
0f40e77
update log files from cheyenne, gaea, jet and dell
junwang-noaa Jan 20, 2021
015afa1
add hera gnu log files
junwang-noaa Jan 20, 2021
2ebd8c3
update fv3 branch
junwang-noaa Jan 20, 2021
3080c9e
update git modules
junwang-noaa Jan 20, 2021
350a934
Modify ci.sh to change to input-data structure
MinsukJi-NOAA Jan 20, 2021
3801d48
Merge remote-tracking branch 'jun/cpl_gfsv16test_fix' into ci-fix
MinsukJi-NOAA Jan 20, 2021
0315aa2
Merge branch 'develop' of https://github.com/ufs-community/ufs-weathe…
climbfuji Jan 20, 2021
62991a1
update cpl gfsv16 tests, rrtmgp fix and bug fixes in cmeps (#378)
junwang-noaa Jan 20, 2021
94ad00e
Merge branch 'develop' of https://github.com/ufs-community/ufs-weathe…
climbfuji Jan 20, 2021
4662cc2
Update submodule pointer for fv3atm; skip-ci
climbfuji Jan 20, 2021
b0a8ddc
Update regression test baseline tag in tests/rt.sh; skip-ci
climbfuji Jan 20, 2021
7429f86
No longer compile all suites on gaea.intel
climbfuji Jan 21, 2021
a19921b
Regression test logs for cheyenne.{gnu,intel}, hera.{gnu,intel}, gaea…
climbfuji Jan 21, 2021
d496ba0
Regression test logs for wcoss_dell_p3 and wcoss_cray
climbfuji Jan 21, 2021
7a1e585
Modify tests/fv3_ccpp_control to reduce number of output files
MinsukJi-NOAA Jan 21, 2021
30ab3f3
Update submodule pointer for fv3atm; skip-ci
climbfuji Jan 21, 2021
fcb9550
Revert change to .gitmodules for stochastic_physics, update submodule…
climbfuji Jan 21, 2021
7577fb5
Update submodule pointer for fv3atm; skip-ci
climbfuji Jan 21, 2021
05b5a63
Dockerfile update to use updated ubuntu-hpc container
MinsukJi-NOAA Jan 21, 2021
7c8a733
Merge in Dom's latest branch
MinsukJi-NOAA Jan 21, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Dockerfile
.git
.gitignore
tests/*.log
tests/log_ut_linux.gnu
8 changes: 2 additions & 6 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
Provide a detailed description of what this PR does.
What bug does it fix, or what feature does it add?
Is a change of answers expected from this PR?


Are any library updates included in this PR (modulefiles etc.)?

### Issue(s) addressed

Expand All @@ -14,15 +13,12 @@ Link the issues to be closed with this PR, whether in this repository, or in ano
- fixes #<issue_number>
- fixes noaa-emc/fv3atm/issues/<issue_number>



## Testing

How were these changes tested?
What compilers / HPCs was it tested with?
Are the changes covered by regression tests? (If not, why? Do new tests need to be added?)


Have regression tests and unit tests (utests) been run? On which platforms and with which compilers? (Note that unit tests can only be run on tier-1 platforms)

## Dependencies

Expand Down
121 changes: 121 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
name: Pull Request Tests

on:
push:
branches:
- develop
pull_request:
branches:
- develop

jobs:
setup:
name: Set up
runs-on: ubuntu-latest

outputs:
tn: ${{ steps.parse.outputs.tn }}
bld: ${{ steps.parse.outputs.bld }}
test: ${{ steps.parse.outputs.test }}
img: ${{ steps.parse.outputs.img }}

steps:
- name: Checkout codes
uses: actions/checkout@v2

- name: Parse cases
id: parse
run: |
cd ${GITHUB_WORKSPACE}/tests/ci
parsed_output=( $(./parse.sh) )
name_=${parsed_output[0]}
bld_=${parsed_output[1]}
test_=${parsed_output[2]}
img_=${parsed_output[3]}

echo "::set-output name=tn::$name_"
echo "::set-output name=bld::$bld_"
echo "::set-output name=test::$test_"
echo "::set-output name=img::$img_"

echo "test name : $name_"
echo "build set : $bld_"
echo "test set : $test_"
echo "image name: $img_"

build:
name: Build (${{ matrix.bld_set }})
needs: setup
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix: ${{ fromJson(needs.setup.outputs.bld) }}

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

- name: Build
run: |
printf '{\n "experimental": true\n}' | sudo tee /etc/docker/daemon.json >/dev/null
sudo systemctl restart docker
sleep 10
cd tests/ci && ./ci.sh -n ${{ needs.setup.outputs.tn }} -b ${{ matrix.bld_set }}

- name: Free up disk space
run: |
sudo docker rmi $(sudo docker image ls | grep -E -m1 '<none>' | awk '{ print $3 }')
sudo docker rmi $(sudo docker image ls | awk '/ubuntu-hpc/ { print $3 }')

- name: Prepare artifacts
run: |
cd tests/ci
sudo docker save ${{ needs.setup.outputs.img }} | gzip >${{ needs.setup.outputs.img }}.tar.gz
tar cvjf artifact.tar.bz2 ${{ needs.setup.outputs.img }}.tar.gz ci.sh ci.test

- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.bld_set }}.artifact.tar.bz2
path: tests/ci/artifact.tar.bz2

utest:
name: Unit test (${{ needs.setup.outputs.tn }}, ${{ matrix.test_set }})
needs: [setup,build]
runs-on: ubuntu-latest
#runs-on: self-hosted

strategy:
fail-fast: false
matrix: ${{ fromJson(needs.setup.outputs.test) }}

steps:
- name: Download artifacts
uses: actions/download-artifact@v2
with:
name: ${{ matrix.artifact }}.artifact.tar.bz2

- name: Prepare artifacts
run: |
tar xvjf artifact.tar.bz2 && rm -f artifact.tar.bz2
sudo docker load --input ${{ needs.setup.outputs.img }}.tar.gz && rm -f ${{ needs.setup.outputs.img }}.tar.gz

- name: Run utest
run: ./ci.sh -n ${{ needs.setup.outputs.tn }} -r ${{ matrix.test_set }}

- name: Upload memory usage file
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: memory_stat_${{ matrix.test_set }}
path: memory_stat

- name: Clean up
if: ${{ always() }}
run: |
rm -f ci.sh ci.test
sudo docker rm my-container && sudo docker rmi ${{ needs.setup.outputs.img }}:latest
sudo docker volume rm DataVolume
54 changes: 54 additions & 0 deletions .github/workflows/manage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Manage workflows

on:
workflow_run:
workflows: ["Pull Request Tests"]
types:
- requested

jobs:
job1:
name: Job 1
runs-on: ubuntu-latest

steps:
- name: Checkout codes
uses: actions/checkout@v2

- name: Check if skip-ci is requested
run: |
cd ${GITHUB_WORKSPACE}/tests/ci
repo="${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/actions/runs"
tr_id=$(cat ${GITHUB_EVENT_PATH} | ./json_helper.py get_trigger_id)
tr_br=$(cat ${GITHUB_EVENT_PATH} | ./json_helper.py get_trigger_br)
check=$(cat ${GITHUB_EVENT_PATH} | ./json_helper.py check_skip)
echo "TRIGGER_ID=${tr_id}" >> $GITHUB_ENV
echo "TRIGGER_BR=${tr_br}" >> $GITHUB_ENV
echo "skip-ci: ${check}"
if [[ $check == yes ]]; then
echo "skip-ci is requested"
echo "CURR_JOB=cancelled" >> $GITHUB_ENV
curl -X POST -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -H "Accept: application/vnd.github.v3+json" ${repo}/$tr_id/cancel
else
echo "CURR_JOB=running" >> $GITHUB_ENV
fi

- name: Cancel redundant jobs
run: |
echo "CURR_JOB is $CURR_JOB"
echo "TRIGGER_ID is $TRIGGER_ID"
echo "TRIGGER_BR is $TRIGGER_BR"
export GITHUB_ACTOR
export GITHUB_RUN_ID
export TRIGGER_ID
export TRIGGER_BR
cd ${GITHUB_WORKSPACE}/tests/ci
repo="${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/actions/runs"
cancel_ids=$(curl -H "Accept: application/vnd.github.v3+json" ${repo} | ./json_helper.py cancel_workflow)
echo "cancel ids: $cancel_ids"
if [[ $cancel_ids != '' ]]; then
for i in $cancel_ids; do
curl -X POST -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -H "Accept: application/vnd.github.v3+json" ${repo}/$i/cancel
done
fi
if: ${{ env.CURR_JOB == 'running' }}
68 changes: 68 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,70 @@
# Prerequisites
*.d

# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod
*.smod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app
*.x

# system files
*.swp
*~
.DS_Store

# python files
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# CMake files and directories
build*/
install*/
CMakeLists.txt.user
CMakeCache.txt
CMakeFiles
CMakeScripts
cmake_install.cmake
install_manifest.txt
compile_commands.json
CTestTestfile.cmake
_deps

# repo-specific ignorables
coupled*.mk
rt.conf.single
ufs_model
tests/modules.fv3_*
tests/ecflow_run/
tests/log_*/
tests/lock/
tests/Compile_*.log
tests/fail_test
log*
build*.log*
52 changes: 37 additions & 15 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,20 +1,42 @@
[submodule "FV3"]
path = FV3
url = https://github.com/NOAA-EMC/fv3atm
branch = develop
path = FV3
#url = https://github.com/NOAA-GSL/fv3atm
#branch = gsl/develop
url = https://github.com/climbfuji/fv3atm
branch = update_develop_from_gsl_develop
[submodule "NEMS"]
path = NEMS
url = https://github.com/NOAA-EMC/NEMS
branch = develop
path = NEMS
url = https://github.com/NOAA-EMC/NEMS
branch = develop
[submodule "FMS"]
path = FMS
url = https://github.com/NOAA-GFDL/FMS
branch = master
path = FMS
url = https://github.com/NOAA-GFDL/FMS
branch = master
[submodule "WW3"]
path = WW3
url = https://github.com/NOAA-EMC/WW3
branch = develop
path = WW3
url = https://github.com/NOAA-EMC/WW3
branch = develop
[submodule "stochastic_physics"]
path = stochastic_physics
url = https://github.com/noaa-psd/stochastic_physics
branch = master
path = stochastic_physics
url = https://github.com/noaa-psd/stochastic_physics
branch = master
[submodule "CMakeModules"]
path = CMakeModules
url = https://github.com/NOAA-EMC/CMakeModules
branch = develop
[submodule "CMEPS"]
path = CMEPS-interface/CMEPS
url = https://github.com/NOAA-EMC/CMEPS.git
branch = emc/develop
[submodule "MOM6"]
path = MOM6-interface/MOM6
url = https://github.com/NOAA-EMC/MOM6
branch = dev/emc
[submodule "CICE"]
path = CICE-interface/CICE
url = https://github.com/NOAA-EMC/CICE
branch = emc/develop
[submodule "DATM"]
path = DATM
url = https://github.com/NOAA-EMC/NEMSdatm
branch = develop
1 change: 1 addition & 0 deletions CICE-interface/CICE
Submodule CICE added at f773ef
Loading