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

CMEPS Sync with Trigrid capability #122

Merged
merged 682 commits into from
Jul 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
682 commits
Select commit Hold shift + click to select a range
0ff2afe
resolve circular dependancy
jedwards4b May 19, 2023
689d674
remove CESMCOUPLED cppdef
jedwards4b May 19, 2023
b6ba816
pass the strict ext build test
jedwards4b May 19, 2023
79cf208
rework based on pr review
jedwards4b May 19, 2023
92ace68
fix yaml syntax
jedwards4b May 19, 2023
60b9f19
fix ext versions
jedwards4b May 19, 2023
0b862b9
fix ext versions
jedwards4b May 19, 2023
5b26040
add ispresent and isset
jedwards4b May 23, 2023
dabe6d3
make xgrid default (should have been in alpha12c) and fix sw flux to …
jedwards4b May 23, 2023
e94015a
slight change in logic
jedwards4b May 23, 2023
6a642a6
get ufs to work w/ ocnalb
DeniseWorthen May 24, 2023
f174edd
fix src path for cdeps
jedwards4b May 24, 2023
b7bc64e
Merge pull request #387 from jedwards4b/fix_aoflux_and_swtoocn
jedwards4b May 24, 2023
9817b91
cdeps path again
jedwards4b May 24, 2023
371d752
cdeps path again
jedwards4b May 24, 2023
8f59dba
try building ext with cdeps share
jedwards4b May 24, 2023
06b79ff
Merge pull request #386 from jedwards4b/add_check_for_nans_config_option
jedwards4b May 24, 2023
a34f315
Merge remote-tracking branch 'ESCOMP/main' into feature/updcmeps
DeniseWorthen May 24, 2023
a7a6dcb
testing indicates we are not yet ready for xgrid
jedwards4b May 26, 2023
5ad45de
Merge pull request #388 from jedwards4b/revert_aoflux_to_ogrid
jedwards4b May 26, 2023
d75d75e
remove file accidentally committed
DeniseWorthen May 26, 2023
a4d615e
add config variables for ufs use case
DeniseWorthen May 30, 2023
19042cf
Merge branch 'feature/updcmeps' into feature/fixsw
DeniseWorthen May 31, 2023
b6fd22c
add configuration options for albedo calcs
DeniseWorthen Jun 12, 2023
acbddd2
Merge branch 'emc/develop' into feature/fixsw
DeniseWorthen Jun 14, 2023
5f27114
both =0 is not an error
jedwards4b Jun 23, 2023
98dcf46
Merge pull request #392 from jedwards4b/fixforhighpecnt
jedwards4b Jul 10, 2023
6ef50f3
add surface flux rollover
jedwards4b Jul 24, 2023
5a3bd1c
Merge branch 'NOAA-EMC:emc/develop' into feature/fixsw
DeniseWorthen Jul 25, 2023
7b7d232
remove TODOs
DeniseWorthen Jul 27, 2023
4e09c3a
use log_error, not log_info
DeniseWorthen Jul 27, 2023
9bcf425
remove TODO
DeniseWorthen Jul 27, 2023
0dbe67e
fix the x case
jedwards4b Jul 28, 2023
427ebeb
add missing return error check for FldsExchange
DeniseWorthen Jul 29, 2023
957a0fb
address comments
DeniseWorthen Jul 31, 2023
9b2942a
alternate solution for X case
jedwards4b Jul 31, 2023
3d8e233
update esmf and pio externals used in srt github workflow
jedwards4b Aug 1, 2023
896b6a1
debug workflow
jedwards4b Aug 1, 2023
5945f78
try adding SRCROOT env variable
jedwards4b Aug 1, 2023
8282ebc
remove rof_name
jedwards4b Aug 1, 2023
65770e1
Merge pull request #397 from jedwards4b/xcase_fix
jedwards4b Aug 2, 2023
f5894d4
Merge branch 'main' into feature/fixsw
jedwards4b Aug 4, 2023
6dbea2c
Merge branch 'main' into add_gpu_gust
sjsprecious Aug 7, 2023
ec41c2f
revert changes for swnet in prep_ocn
DeniseWorthen Aug 7, 2023
72ee0b2
Add a new XML variable to apply the MPI wrapper script more generically.
sjsprecious Aug 8, 2023
e951fdc
Merge pull request #363 from sjsprecious/add_gpu_gust
jedwards4b Aug 9, 2023
b751891
Merge pull request #395 from DeniseWorthen/feature/fixsw
jedwards4b Aug 11, 2023
a6071c1
Add length to logic format.
fischer-ncar Aug 21, 2023
abaef5f
Merge pull request #403 from fischer-ncar/logic_length_nag
jedwards4b Aug 21, 2023
ceee88b
Merge branch 'main' into sfcflxrollover
jedwards4b Sep 1, 2023
fd65403
update for se scm
jtruesdal Sep 29, 2023
f168e93
Merge remote-tracking branch 'upstream/emc/develop' into feature/emc_…
DeniseWorthen Oct 7, 2023
31b7da6
Merge pull request #411 from DeniseWorthen/feature/emc_updates
jedwards4b Oct 10, 2023
65aeefb
fix hang on abort issue
jedwards4b Oct 10, 2023
811580f
Merge pull request #394 from jedwards4b/sfcflxrollover
jedwards4b Oct 11, 2023
8038372
Merge pull request #412 from jedwards4b/abort_bugfix
jedwards4b Oct 11, 2023
493a9b9
support for job_priority on derecho
jedwards4b Oct 12, 2023
04e2f6b
Merge pull request #413 from jedwards4b/derecho_priority
jedwards4b Oct 13, 2023
1f0d9e8
remove this unused variable
jedwards4b Oct 23, 2023
d86f405
initial work for inline cdeps
uturuncoglu Oct 25, 2023
5510ad7
more work for cdeps inline
uturuncoglu Oct 27, 2023
6438f3d
more work for inline
uturuncoglu Nov 2, 2023
914957b
Merge pull request #417 from jedwards4b/remove_esmf_logfile_kind
jedwards4b Nov 6, 2023
bcee457
use esmf config file to get stream information
uturuncoglu Nov 7, 2023
96c81b6
more work for inline capability
uturuncoglu Nov 7, 2023
9972d73
Merge remote-tracking branch 'ESCOMP/main' into feature/emc_updates
DeniseWorthen Nov 7, 2023
01bf411
Merge pull request #418 from DeniseWorthen/feature/emc_updates
jedwards4b Nov 7, 2023
794e691
enabling setting source and destination mask for interpolation
uturuncoglu Nov 9, 2023
17b127d
more work for cdeps inline
uturuncoglu Nov 11, 2023
f9ac7af
more work for cmeps and cdeps inline integration
uturuncoglu Nov 12, 2023
b0af4aa
add atm->ocn direction for cdeps inline capability
uturuncoglu Nov 15, 2023
1296a90
activate cdeps inline capability for atm->wav
uturuncoglu Nov 16, 2023
2035266
more changes for derecho
jedwards4b Nov 22, 2023
73ab51a
Merge tag 'cmeps0.14.43' into cmeps0.14.43_scamdev
jtruesdal Nov 26, 2023
a2c16dc
remove the SMP_PRESENT variable and replace with BUILD_THREADED
jedwards4b Dec 14, 2023
778f8c9
Merge pull request #419 from jedwards4b/update_testlist
jedwards4b Dec 15, 2023
ad4d7a3
Merge pull request #421 from jedwards4b/remove_smp_present
jedwards4b Dec 15, 2023
e0731f9
Add modifications to compute gust addition to U10 and control with a …
megandevlan Dec 19, 2023
2df3414
Fix shr_flux comments and cdn calculation
megandevlan Dec 20, 2023
6c321f1
update github tests
jedwards4b Dec 21, 2023
09568f1
fix testing issues
jedwards4b Dec 21, 2023
e96e199
fixing tests
jedwards4b Dec 21, 2023
18c510b
add check for cam_dev if add_gusts is true
jedwards4b Dec 21, 2023
f04687b
add check for cam_dev
jedwards4b Dec 21, 2023
962484b
another reference to gust outside of cesm code
jedwards4b Dec 21, 2023
6d0e37e
debug tests
jedwards4b Dec 21, 2023
3051280
add submodule command
jedwards4b Dec 21, 2023
aaa78b8
add submodule command complication
jedwards4b Dec 21, 2023
b908586
Merge pull request #1 from jedwards4b/gustMods
megandevlan Dec 21, 2023
ce6c935
Merge pull request #422 from megandevlan/gustMods
jedwards4b Dec 21, 2023
46bf811
turn add_gusts on by default for camdev
jedwards4b Dec 21, 2023
d2a08f0
Merge pull request #424 from jedwards4b/gust_on_for_camdev
jedwards4b Dec 22, 2023
40ce110
For T compsets, only run GLC if med_to_glc is true
billsacks Dec 27, 2023
cdb819b
feature to use all data in the first coupling timestep
uturuncoglu Dec 28, 2023
8652157
Merge remote-tracking branch 'upstream/main' into feature/inline
uturuncoglu Dec 29, 2023
d56c50c
fix for gust additions in the aoflux
uturuncoglu Jan 5, 2024
4d08b94
Merge remote-tracking branch 'fork/emc/develop' into feature/inline
uturuncoglu Jan 5, 2024
55c8900
mods for regional mom6 configuration
uturuncoglu Jan 15, 2024
6979bbd
fix for sw bands calculation for cases without sea-ice
uturuncoglu Jan 17, 2024
10e46c3
more work for regional mom6 coupling
uturuncoglu Jan 19, 2024
ad1e9a2
update for hafs.mom6
uturuncoglu Jan 19, 2024
a1cbcbc
switch TOTAL to SELECT for other interpolation types too
uturuncoglu Jan 20, 2024
fb993eb
fix from Denise for crash when diagnose is on by initializing
uturuncoglu Jan 25, 2024
ffb5737
Merge pull request #425 from billsacks/fix_runseq_t_noevolve
jedwards4b Jan 26, 2024
8c10846
fix issue arised in CESM testing
uturuncoglu Jan 27, 2024
ea995f6
Merge remote-tracking branch 'noaa-emc/emc/develop' into feature/inline
uturuncoglu Jan 28, 2024
64e1c27
fix Faxa_rainc issue when add_gusts is turned on
uturuncoglu Jan 29, 2024
09dfd3c
fix comments mean -> inst and minor typo
uturuncoglu Jan 29, 2024
c4f5082
minor fix - remove trim
uturuncoglu Jan 30, 2024
e155c9a
srt does not work with most recent cime, cmeps requires most recent c…
jedwards4b Jan 30, 2024
43953e8
fix srt test
jedwards4b Jan 30, 2024
682a497
fix cime checkout
jedwards4b Jan 30, 2024
87c473c
turn off tmate
jedwards4b Jan 30, 2024
1290140
fix path
jedwards4b Jan 30, 2024
455b2be
debug workflow
jedwards4b Jan 31, 2024
170adbe
give format a length
jedwards4b Jan 31, 2024
7e0908c
Merge pull request #420 from uturuncoglu/feature/inline
jedwards4b Jan 31, 2024
4127636
fix dummy arguments w/o values
DeniseWorthen Jan 31, 2024
fa78b46
Merge branch 'NOAA-EMC:emc/develop' into feature/nowarn
DeniseWorthen Feb 5, 2024
661993f
Initial add of code to handle dust emissions, as per the document htt…
ekluzek Feb 8, 2024
5c39417
fix leap day issue
jedwards4b Feb 29, 2024
14878f4
add cpl_scalar for tiled grids, other minor fixes
DeniseWorthen Mar 3, 2024
91cc86e
Merge remote-tracking branch 'ESCOMP/main' into feature/cplscalars
DeniseWorthen Mar 3, 2024
f8fb572
Merge remote-tracking branch 'origin/feature/nowarn' into feature/cpl…
DeniseWorthen Mar 3, 2024
3515360
set ntile=0 when ntile scalar doesn't exist
DeniseWorthen Mar 3, 2024
ac5520f
fix restarts when ntile>0
DeniseWorthen Mar 4, 2024
8b02ffe
Run MED -> GLC in CISM NOEVOLVE mode
billsacks Mar 12, 2024
e6dda63
Merge pull request #439 from jtruesdal/cmeps0.14.43_scamdev
jedwards4b Mar 13, 2024
45d63c4
add two fixes
DeniseWorthen Mar 13, 2024
8309884
modify dstmask for lnd->atm in UFS
DeniseWorthen Mar 13, 2024
b5ae6fe
Update U10 to be resolved wind; add variable for U10+gusts
megandevlan Mar 14, 2024
d79e34f
Merge tag 'cmeps0.14.50' into dust_emis_mod
ekluzek Mar 15, 2024
1825c2b
Merge pull request #436 from DeniseWorthen/feature/cplscalars
jedwards4b Mar 19, 2024
ac458c3
Do GLC -> MED based on med_to_glc rather than run_glc
billsacks Mar 20, 2024
e05cbff
Fix calculation of gustiness
megandevlan Mar 26, 2024
a0dbcc3
Merge branch 'main' into mdfowler/gustMods_updateU10
jedwards4b Mar 26, 2024
084dd8d
Merge pull request #440 from megandevlan/mdfowler/gustMods_updateU10
jedwards4b Mar 26, 2024
bfdc85b
Merge pull request #435 from jedwards4b/fix/leapday
jedwards4b Mar 26, 2024
8774a9a
changes needed for adding a dglc component
Mar 27, 2024
60be83b
fixes an issue with symbols in compset names on derecho
jedwards4b Mar 27, 2024
a641b0a
clean up
jedwards4b Mar 27, 2024
e884e50
Merge pull request #444 from jedwards4b/fix/symbolsincompsetname
jedwards4b Mar 28, 2024
ea966dd
Merge branch 'main' into feature/add_dglc
Mar 28, 2024
c223a3c
changes to add compatibility with NorESM requirements
Mar 29, 2024
0ce3cc6
restructured fd_cesm.yaml so that sections make sense and description…
Mar 29, 2024
b8542e4
Merge branch 'fix/symbolsincompsetname' into HEAD
jedwards4b Mar 29, 2024
f5473d6
fix for add_gusts when coldair_outbreak_mod = .true.
jedwards4b Mar 29, 2024
f9169ce
updated to upcoming https://github.com/ESCOMP/CMEPS/pull/442
Mar 30, 2024
da7e7e8
Merge branch 'feature/add_dglc_sacks' into feature/add_dglc
Mar 30, 2024
cad2c33
updated coupling interval setting for dglc
Mar 30, 2024
f80f6ca
updated namelist_definition_drv.xml to bring in new wav2med auxiliary…
Mar 30, 2024
823f066
Output downscaled glacier data in cpl glc hist file (#441)
Katetc Mar 30, 2024
a077536
Merge pull request #446 from jedwards4b/fix/add_gusts
jedwards4b Apr 1, 2024
e24e0db
remove ESMF_GridCompGetInternalState from use statement, not working…
jedwards4b Apr 2, 2024
29a39fd
fix format error
jedwards4b Apr 2, 2024
777c380
need to allocate even though it is not used - nag
jedwards4b Apr 2, 2024
d6dc571
Merge pull request #449 from jedwards4b/fix/remove_use_ESMF_GridCompG…
jedwards4b Apr 2, 2024
2524eca
Merge branch 'main' into feature/add_dglc
mvertens Apr 3, 2024
07bbf45
fix internal ESMF divide by 0 error
jedwards4b Apr 4, 2024
3b1e50b
Merge pull request #445 from mvertens/feature/add_dglc
jedwards4b Apr 9, 2024
e22c4ea
Get to compile with nag compiler on izumi
ekluzek Apr 9, 2024
cce82b9
Merge remote-tracking branch 'ESCOMP/main' into bugfix/aoflux4ufs
DeniseWorthen Apr 11, 2024
05f05ce
fix aoflux routine for ufs
DeniseWorthen Apr 11, 2024
1213981
changes for adding multi-level docn input to cdeps
Apr 24, 2024
2289571
implemented correct mapping of multi-level ocean to glc
Apr 24, 2024
22dd074
Remove ESMF in favor of shr_mpi_mod, it is simpler this way, this als…
ekluzek Apr 26, 2024
8d295a7
Merge branch 'dust_emis_mod' of github.com:ekluzek/CMEPS into dust_em…
ekluzek Apr 26, 2024
492faf0
Add somethings needed for unit-testing and fix things identified there
ekluzek Apr 30, 2024
408be02
CAM%DEV changed to CAM70
brian-eaton Apr 30, 2024
8d3cd26
check_if_initiatlized to is_NOT_initialized
ekluzek Apr 30, 2024
ecb6d45
Fix so unit test will PASS
ekluzek Apr 30, 2024
0285eeb
Spin off the option checker
ekluzek May 1, 2024
0577deb
update esmf build
jedwards4b May 14, 2024
359513d
fix pio path in github srt
jedwards4b May 14, 2024
b5165bb
working on srt
jedwards4b May 14, 2024
91213a0
more workflow updates
jedwards4b May 14, 2024
6a52258
work on ext build
jedwards4b May 15, 2024
e0007c0
case error correction
jedwards4b May 15, 2024
85f0153
try this for cdeps build
jedwards4b May 15, 2024
e10beac
more github workflow work
jedwards4b May 15, 2024
522dd60
clean up compiler warnings
jedwards4b May 15, 2024
158c82f
remove unused shr_sys_abort
jedwards4b May 16, 2024
978fcaa
fix cdeps cache issue
jedwards4b May 16, 2024
7715f0b
renames ww3dev to ww3
jedwards4b May 16, 2024
f1fa80d
Merge pull request #456 from mvertens/feature/update_docn
jedwards4b May 16, 2024
23a52b2
avoid integer overflow by skipping mediator in restart loop
jedwards4b May 17, 2024
8fa0185
changes for trigrid
May 20, 2024
95d6f69
Merge pull request #457 from jedwards4b/ww3dev2ww3
jedwards4b May 22, 2024
6384ff4
Merge pull request #460 from jedwards4b/fix_mediator_restart
jedwards4b May 22, 2024
b3c1aa3
move glc2ocn with glc2rof
May 27, 2024
4a644c0
updates for cism2mosart coupling
May 29, 2024
a90affa
fixed ice discharge
May 30, 2024
b34de12
fixes for commit
May 31, 2024
d994773
Merge remote-tracking branch 'origin/feature/cism2mosart' into featur…
May 31, 2024
1451526
Add bilinr_nostd for wav2ice coupling
dabail10 May 31, 2024
452962c
bug fix
Jun 3, 2024
b3053ca
more updates
Jun 3, 2024
99113f0
Merge branch 'main' of https://github.com/ESCOMP/CMEPS into cam7
brian-eaton Jun 4, 2024
09132fd
Merge branch 'NOAA-EMC:emc/develop' into bugfix/aoflux4ufs
DeniseWorthen Jun 6, 2024
5ad8bfa
updates for cism->mosart->ocean routine
Jun 7, 2024
3e45430
more cleanup of mapping file specification
Jun 7, 2024
709de40
Merge remote-tracking branch 'ESCOMP/main' into bugfix/aoflux4ufs
DeniseWorthen Jun 7, 2024
21a692f
simply ufs fix for new aoflux variables
DeniseWorthen Jun 9, 2024
ec56320
generalized lnd2rof mapping
mvertens Jun 10, 2024
ac67312
updates to get f09_f09 working
Jun 10, 2024
dcabb38
test github testing in cime PR #4631
jedwards4b Jun 12, 2024
e643dfe
more cleanup
Jun 14, 2024
6bd2631
Merge branch 'feature/cism2mosart' into feature/trigrid
mvertens Jun 16, 2024
e35644a
fixed compilation problems
Jun 16, 2024
5e5c181
add simplification for how glc runoff is sent to mom/blom
Jun 18, 2024
396f5be
Merge pull request #464 from jedwards4b/test_cime_branch
jedwards4b Jun 18, 2024
3455b50
Revert "test github testing in cime PR #4631"
jedwards4b Jun 18, 2024
df68ec5
Merge pull request #468 from ESCOMP/revert-464-test_cime_branch
jedwards4b Jun 18, 2024
f79221e
replace manage-externals with git-fleximod
jedwards4b Jun 18, 2024
1e9f5dc
Merge pull request #469 from jedwards4b/test_github_workflow
jedwards4b Jun 18, 2024
4dca7c6
Merge remote-tracking branch 'origin/main' into feature/cism2mosart
jedwards4b Jun 18, 2024
d062482
Merge branch 'feature/cism2mosart' into feature/trigrid
mvertens Jun 18, 2024
a1209b8
fix for merging in trigrid
mvertens Jun 19, 2024
3737040
Merge remote-tracking branch 'ESCOMP/main' into bugfix/aoflux4ufs
DeniseWorthen Jun 19, 2024
90f815b
Merge pull request #462 from brian-eaton/cam7
jedwards4b Jun 20, 2024
ef749fa
Remove negative runoff by downweighting positive runoff globally
billsacks Jun 21, 2024
f3761e0
Removing negative runoff: Create a dedicated FieldBundle for mods
billsacks Jun 22, 2024
8133bdc
Add a namelist flag controlling the removal of negative runoff
billsacks Jun 22, 2024
f960f3e
Merge pull request #463 from mvertens/feature/cism2mosart
jedwards4b Jun 24, 2024
8b6aa75
this call is no longer needed and removing it fully removes the mct l…
jedwards4b Jun 24, 2024
e84e8a1
Merge pull request #452 from DeniseWorthen/bugfix/aoflux4ufs
jedwards4b Jun 24, 2024
d183d22
fix for UFS
Jun 24, 2024
49b94d0
Merge remote-tracking branch 'origin/main' into remove_negative_runoff
billsacks Jun 24, 2024
516b8ef
Remove negative runoff from new glc runoff fields
billsacks Jun 24, 2024
4c5996e
Don't try to remove negative runoff on an absent field
billsacks Jun 24, 2024
b2cb575
Merge pull request #472 from jedwards4b/remove_mct_init
jedwards4b Jun 25, 2024
2d3c1a7
updates for new fields from ocn
Jun 25, 2024
5624c70
fixes for problems found in UFS
Jun 25, 2024
293a46f
Merge tag 'cmeps0.14.70' into feature/trigrid
Jun 25, 2024
9b3cec2
fixed bug
Jun 25, 2024
66ce7e5
fixed bug
Jun 26, 2024
c5973fd
Merge pull request #471 from billsacks/remove_negative_runoff
jedwards4b Jun 26, 2024
6b58961
Merge pull request #461 from dabail10/wavice
jedwards4b Jun 26, 2024
e1335d3
Merge pull request #429 from ekluzek/dust_emis_mod
jedwards4b Jun 26, 2024
1dd90c7
Merge pull request #470 from mvertens/feature/trigrid
jedwards4b Jun 26, 2024
06a825a
bug fix for wav2ocn_map
jedwards4b Jun 26, 2024
f2af60b
new fix for add_gusts
jedwards4b Jun 27, 2024
428ecc6
update share to use head of main in srt test
jedwards4b Jun 28, 2024
1605a75
debug workflow
jedwards4b Jun 28, 2024
7085a87
bug fix primarily for usf testing
Jul 1, 2024
fbb2318
remove redundent use statement
jedwards4b Jul 1, 2024
527f9a5
removed duplicate references
Jul 1, 2024
3305e11
Merge pull request #474 from jedwards4b/add_gust_fix3
jedwards4b Jul 1, 2024
7a265d7
Merge branch 'main' into feature/bugfix
jedwards4b Jul 1, 2024
47fb4e6
Merge pull request #477 from mvertens/feature/bugfix
jedwards4b Jul 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 15 additions & 11 deletions .github/workflows/extbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
CPPFLAGS: "-I/usr/include -I/usr/local/include"

# Versions of all dependencies can be updated here
ESMF_VERSION: v8.6.0
ESMF_VERSION: v8.6.1
PNETCDF_VERSION: checkpoint.1.12.3
NETCDF_FORTRAN_VERSION: v4.6.1
PIO_VERSION: pio2_6_2
CDEPS_VERSION: cdeps1.0.26
CDEPS_VERSION: cdeps1.0.36
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# Build the ESMF library, if the cache contains a previous build
# it will be used instead
- id: load-env
Expand All @@ -40,13 +40,13 @@ jobs:
sudo apt-get install pnetcdf-bin libpnetcdf-dev
sudo apt-get install autotools-dev autoconf
- id: cache-esmf
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/ESMF
key: ${{ runner.os }}-${{ env.ESMF_VERSION }}-ESMF
- name: Cache ParallelIO
id: cache-ParallelIO
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/pio
key: ${{ runner.os }}-${{ env.PIO_VERSION }}.pio
Expand All @@ -71,31 +71,35 @@ jobs:
parallelio_path: $HOME/pio
- name: Cache CDEPS
id: cache-cdeps
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: $HOME/cdeps
key: ${{ runner.os }}-${{ env.CDEPS_VERSION }}.cdeps
path: /homme/runner/work/CMEPS/CMEPS/build-cdeps
key: ${{ runner.os }}-${{ env.CDEPS_VERSION }}.cdeps1

- name: checkout CDEPS
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: ESCOMP/CDEPS
path: cdeps-src
ref: ${{ env.CDEPS_VERSION }}
- name: get genf90
run: |
cd cdeps-src
git submodule update --init
NickSzapiro-NOAA marked this conversation as resolved.
Show resolved Hide resolved
- name: Build CDEPS
if: steps.cache-cdeps.outputs.cache-hit != 'true'
uses: ESCOMP/CDEPS/.github/actions/buildcdeps@cdeps1.0.26
with:
esmfmkfile: $HOME/ESMF/lib/libg/Linux.gfortran.64.openmpi.default/esmf.mk
pio_path: $HOME/pio
src_root: ${GITHUB_WORKSPACE}/cdeps-src
cmake_flags: " -Wno-dev -DCMAKE_BUILD_TYPE=DEBUG -DWERROR=ON -DCMAKE_Fortran_FLAGS=\"-DCPRGNU -g -Wall \
cmake_flags: " -Wno-dev -DDISABLE_FoX=ON -DCMAKE_BUILD_TYPE=DEBUG -DWERROR=ON -DCMAKE_Fortran_FLAGS=\"-DCPRGNU -g -Wall \
-ffree-form -ffree-line-length-none -fallow-argument-mismatch \""

- name: Build CMEPS
run: |
export ESMFMKFILE=$HOME/ESMF/lib/libg/Linux.gfortran.64.openmpi.default/esmf.mk
export PIO=$HOME/pio
export ESMFMKFILE=$HOME/ESMF/lib/libg/Linux.gfortran.64.openmpi.default/esmf.mk
mkdir build-cmeps
pushd build-cmeps
cmake -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_Fortran_FLAGS="-g -Wall -Werror -ffree-form -ffree-line-length-none -Wno-unused-dummy-argument -I /home/runner/work/CMEPS/CMEPS/build-cdeps/share" ../
Expand Down
82 changes: 32 additions & 50 deletions .github/workflows/srt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
CPPFLAGS: "-I/usr/include -I/usr/local/include "
LDFLAGS: "-L/usr/lib/x86_64-linux-gnu -lnetcdf -lnetcdff -lpnetcdf"
# Versions of all dependencies can be updated here
ESMF_VERSION: v8.6.0
ESMF_VERSION: v8.6.1
PARALLELIO_VERSION: pio2_6_2
CIME_MODEL: cesm
CIME_DRIVER: nuopc
Expand Down Expand Up @@ -64,13 +64,13 @@ jobs:
run: pip install -r requirements.txt
# use the latest cesm main
- name: cesm checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: ESCOMP/CESM
path: cesm
# this cmeps commit
- name: cmeps checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: cesm/components/cmeps

Expand All @@ -79,7 +79,7 @@ jobs:
- name: checkout externals
run: |
pushd cesm
./manage_externals/checkout_externals ccs_config cdeps share mct cpl7 parallelio
./bin/git-fleximod update ccs_config cdeps share mct parallelio
cd ccs_config
git checkout main
cd ../
Expand All @@ -94,72 +94,55 @@ jobs:
git submodule update --init
cd ../components/cdeps
git checkout main
git submodule update --init
cd ../../share
git checkout main

- name: Cache ESMF
id: cache-esmf
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/ESMF
key: ${{ runner.os }}-${{ env.ESMF_VERSION }}-ESMF1
# - name: cache pnetcdf
# id: cache-pnetcdf
# uses: actions/cache@v3
# with:
# path: ~/pnetcdf
# key: ${{ runner.os }}-${{ env.PNETCDF_VERSION}}-pnetcdf

# - name: Cache netcdf-fortran
# id: cache-netcdf-fortran
# uses: actions/cache@v3
# with:
# path: ~/netcdf-fortran
# key: ${{ runner.os }}-${{ env.NETCDF_FORTRAN_VERSION }}-netcdf-fortran
key: ${{ runner.os }}-${{ env.ESMF_VERSION }}

- name: Cache ParallelIO
id: cache-ParallelIO
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/pio
path: ${GITHUB_WORKSPACE}/pio
key: ${{ runner.os }}-${{ env.PARALLELIO_VERSION }}.parallelio

- name: Cache inputdata
id: cache-inputdata
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: $HOME/cesm/inputdata
key: inputdata
# - name: Build PNetCDF
# if: steps.cache-pnetcdf.outputs.cache-hit != 'true'
# uses: ESCOMP/CDEPS/.github/actions/buildpnetcdf@e06246b560d3132170bb1a5443fa3d65dfbd2040
# with:
# pnetcdf_version: ${{ env.PNETCDF_VERSION }}
# install_prefix: $HOME/pnetcdf
# - name: Build NetCDF Fortran
# if: steps.cache-netcdf-fortran.outputs.cache-hit != 'true'
# uses: ESCOMP/CDEPS/.github/actions/buildnetcdff@e06246b560d3132170bb1a5443fa3d65dfbd2040
# with:
# netcdf_fortran_version: ${{ env.NETCDF_FORTRAN_VERSION }}
# install_prefix: $HOME/netcdf-fortran
# netcdf_c_path: /usr

- name: Build ParallelIO
if: steps.cache-PARALLELIO.outputs.cache-hit != 'true'
uses: NCAR/ParallelIO/.github/actions/parallelio_cmake@05173a6556ea8d80eb34e3881a5014ea8f4b7543
with:
parallelio_version: ${{ env.ParallelIO_VERSION }}
enable_fortran: True
install_prefix: /home/runner/pio
install_prefix: ${GITHUB_WORKSPACE}/pio

- name: Build ESMF
if: steps.cache-esmf.outputs.cache-hit != 'true'
uses: ESCOMP/CDEPS/.github/actions/buildesmf@e06246b560d3132170bb1a5443fa3d65dfbd2040
- name: Install ESMF
uses: esmf-org/install-esmf-action@v1
env:
ESMF_COMPILER: gfortran
ESMF_BOPT: g
ESMF_COMM: openmpi
ESMF_NETCDF: nc-config
ESMF_PNETCDF: pnetcdf-config
ESMF_INSTALL_PREFIX: ${GITHUB_WORKSPACE}/ESMF
ESMF_PIO: external
ESMF_PIO_INCLUDE: ${GITHUB_WORKSPACE}/pio/include
ESMF_PIO_LIBPATH: ${GITHUB_WORKSPACE}/pio/lib
with:
esmf_version: ${{ env.ESMF_VERSION }}
esmf_bopt: g
esmf_comm: openmpi
install_prefix: ~/ESMF
netcdf_c_path: /usr
netcdf_fortran_path: /usr
pnetcdf_path: /usr
parallelio_path: ~/pio
version: ${{ env.ESMF_VERSION }}
esmpy: false
cache: true


- name: PREP for scripts regression test
Expand All @@ -169,14 +152,13 @@ jobs:
pushd $GITHUB_WORKSPACE/cesm/cime/CIME/tests
export SRCROOT=$GITHUB_WORKSPACE/cesm/
export CIME_TEST_PLATFORM=ubuntu-latest
export PIO_INCDIR=$HOME/pio/include
export PIO_LIBDIR=$HOME/pio/lib
export PIO_INCDIR=$GITHUB_WORKSPACE/pio/include
export PIO_LIBDIR=$GITHUB_WORKSPACE/pio/lib
export PIO_VERSION_MAJOR=2
export PIO_TYPENAME_VALID_VALUES="netcdf,pnetcdf"
export NETCDF_PATH=/usr
export PNETCDF_PATH=/usr
export LD_LIBRARY_PATH=/usr/lib/libx86_64-linux-gnu/:$LD_LIBRARY_PATH
export ESMFMKFILE=$HOME/ESMF/lib/libg/Linux.gfortran.64.openmpi.default/esmf.mk
cat <<EOF >> $GITHUB_WORKSPACE/cesm/ccs_config/machines/cmake_macros/ubuntu-latest.cmake
set(NetCDF_Fortran_INCLUDE_DIR /usr/include)
set(NetCDF_Fortran_LIBRARY /usr/lib/x86_64-gnu-Linux/libnetcdff.so)
Expand Down
4 changes: 0 additions & 4 deletions cesm/driver/esm.F90
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,6 @@ subroutine esm_init_pelayout(driver, maxthreads, rc)
#ifndef NO_MPI2
use mpi , only : MPI_COMM_NULL, mpi_comm_size
#endif
use m_MCTWorld , only : mct_world_init => init

#ifdef MED_PRESENT
use med_internalstate_mod , only : med_id
Expand Down Expand Up @@ -1164,9 +1163,6 @@ subroutine esm_init_pelayout(driver, maxthreads, rc)

enddo

call mct_world_init(componentCount+1, GLOBAL_COMM, comms, comps)


deallocate(petlist, comms, comps, comp_iamin, comp_comm_iam)

end subroutine esm_init_pelayout
Expand Down
17 changes: 14 additions & 3 deletions cesm/flux_atmocn/shr_flux_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ SUBROUTINE flux_atmOcn(logunit, nMax ,zbot ,ubot ,vbot ,thbot , &
& ocn_surface_flux_scheme, &
& add_gusts, &
& duu10n, &
& ugust_out, &
& ugust_out, &
& u10res, &
& ustar_sv ,re_sv ,ssq_sv, &
& missval)

Expand Down Expand Up @@ -194,6 +195,7 @@ SUBROUTINE flux_atmOcn(logunit, nMax ,zbot ,ubot ,vbot ,thbot , &
real(R8),intent(out) :: qref (nMax) ! diag: 2m ref humidity (kg/kg)
real(R8),intent(out) :: duu10n(nMax) ! diag: 10m wind speed squared (m/s)^2
real(R8),intent(out) :: ugust_out(nMax) ! diag: gustiness addition to U10 (m/s)
real(R8),intent(out) :: u10res(nMax) ! diag: gustiness addition to U10 (m/s)
NickSzapiro-NOAA marked this conversation as resolved.
Show resolved Hide resolved

real(R8),intent(out),optional :: ustar_sv(nMax) ! diag: ustar
real(R8),intent(out),optional :: re_sv (nMax) ! diag: sqrt of exchange coefficient (water)
Expand Down Expand Up @@ -243,6 +245,7 @@ SUBROUTINE flux_atmOcn(logunit, nMax ,zbot ,ubot ,vbot ,thbot , &
real(R8) :: cp ! specific heat of moist air
real(R8) :: fac ! vertical interpolation factor
real(R8) :: spval ! local missing value
real(R8) :: wind0 ! resolved large-scale 10m wind (no gust added)
!!++ COARE only
real(R8) :: zo,zot,zoq ! roughness lengths
real(R8) :: hsb,hlb ! sens & lat heat flxs at zbot
Expand Down Expand Up @@ -343,23 +346,28 @@ SUBROUTINE flux_atmOcn(logunit, nMax ,zbot ,ubot ,vbot ,thbot , &

!--- compute some needed quantities ---
if (add_gusts) then
vmag = max(seq_flux_atmocn_minwind, sqrt( (ubot(n)-us(n))**2 + (vbot(n)-vs(n))**2) + ugust(min(rainc(n),6.94444e-4_r8)) )
vmag = max(seq_flux_atmocn_minwind, sqrt( (ubot(n)-us(n))**2 + (vbot(n)-vs(n))**2 + (1.0_R8*ugust(min(rainc(n),6.94444e-4_r8))**2)) )
ugust_out(n) = ugust(min(rainc(n),6.94444e-4_r8))
else
vmag = max(seq_flux_atmocn_minwind, sqrt( (ubot(n)-us(n))**2 + (vbot(n)-vs(n))**2) )
ugust_out(n) = 0.0_r8
end if
wind0 = max(seq_flux_atmocn_minwind, sqrt( (ubot(n)-us(n))**2 + (vbot(n)-vs(n))**2) )

if (use_coldair_outbreak_mod) then
! Cold Air Outbreak Modification:
! Increase windspeed for negative tbot-ts
! based on Mahrt & Sun 1995,MWR

if (tdiff(n).lt.td0) then
! if add_gusts wind0 and vmag are different, both need this factor.
vscl=min((1._R8+alpha*(abs(tdiff(n)-td0)**0.5_R8/abs(vmag))),maxscl)
vmag=vmag*vscl
vscl=min((1._R8+alpha*(abs(tdiff(n)-td0)**0.5_R8/abs(wind0))),maxscl)
wind0=wind0*vscl
endif
endif

ssq = 0.98_R8 * qsat(ts(n)) / rbot(n) ! sea surf hum (kg/kg)
delt = thbot(n) - ts(n) ! pot temp diff (K)
delq = qbot(n) - ssq ! spec hum dif (kg/kg)
Expand Down Expand Up @@ -460,6 +468,7 @@ SUBROUTINE flux_atmOcn(logunit, nMax ,zbot ,ubot ,vbot ,thbot , &
qref(n) = qbot(n) - delq*fac

duu10n(n) = u10n*u10n ! 10m wind speed squared
u10res(n) = u10n * (wind0/vmag) ! resolved 10m wind

!------------------------------------------------------------
! optional diagnostics, needed for water tracer fluxes (dcn)
Expand All @@ -472,6 +481,7 @@ SUBROUTINE flux_atmOcn(logunit, nMax ,zbot ,ubot ,vbot ,thbot , &
!------------------------------------------------------------
! no valid data here -- out of domain
!------------------------------------------------------------

sen (n) = spval ! sensible heat flux (W/m^2)
lat (n) = spval ! latent heat flux (W/m^2)
lwup (n) = spval ! long-wave upward heat flux (W/m^2)
Expand All @@ -484,7 +494,8 @@ SUBROUTINE flux_atmOcn(logunit, nMax ,zbot ,ubot ,vbot ,thbot , &
tref (n) = spval ! 2m reference height temperature (K)
qref (n) = spval ! 2m reference height humidity (kg/kg)
duu10n(n) = spval ! 10m wind speed squared (m/s)^2
ugust_out(n) = spval ! gustiness addition (m/s)
ugust_out(n) = spval ! gustiness addition (m/s)
u10res(n) = spval ! 10m resolved wind (no gusts) (m/s)

if (present(ustar_sv)) ustar_sv(n) = spval
if (present(re_sv )) re_sv (n) = spval
Expand Down
2 changes: 0 additions & 2 deletions cesm/nuopc_cap_share/seq_drydep_mod.F90
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module seq_drydep_mod

use shr_drydep_mod, only: seq_drydep_setHCoeff=>shr_drydep_setHCoeff
use shr_drydep_mod

implicit none

! method specification
Expand Down
Loading