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

Update CMEPS #110

Merged
merged 552 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
552 commits
Select commit Hold shift + click to select a range
c7fec3b
fix merge issues
jedwards4b Jan 11, 2023
dcdd214
Merge pull request #337 from jedwards4b/esmf_multidriver
jedwards4b Jan 11, 2023
5824c8c
Merge remote-tracking branch 'escomp/main' into feature/updcmeps
DeniseWorthen Jan 12, 2023
c6f23c3
Merge pull request #338 from DeniseWorthen/feature/updcmeps
jedwards4b Jan 12, 2023
9197fd2
updates to MEGAN namelist parser
fvitt Jan 18, 2023
9514b39
log MEGAN settings
fvitt Jan 19, 2023
690cf28
code clean up
fvitt Jan 19, 2023
1f06c58
Merge pull request #339 from fvitt/megan_expr
jedwards4b Jan 20, 2023
d331baa
Merge branch 'main' into pio_asyncio_in_cmeps
jedwards4b Jan 25, 2023
c2f8792
fix issues in merge
jedwards4b Jan 25, 2023
efa1e47
Merge pull request #325 from jedwards4b/pio_asyncio_in_cmeps
jedwards4b Jan 26, 2023
89e4ba6
changes needed for CDEP PR #213
Jan 30, 2023
70d6913
added new auxiliary stream for ocn2med
Jan 31, 2023
a0178b2
fix the multi instance initialization
jedwards4b Feb 1, 2023
96f1b73
Merge pull request #342 from jedwards4b/fix_multiinst_init
jedwards4b Feb 1, 2023
cb36640
Merge pull request #341 from mvertens/feature/cplhist_and_ocnimport
jedwards4b Feb 1, 2023
3a218b8
make xgrid default, handle main task for multidriver cases in esm_tim…
jedwards4b Feb 3, 2023
24522e3
changes for lightning coupling
fvitt Jun 24, 2022
62c15cd
Changed "atm_lightning_flash_freq" to "atm_provides_lightning"
fvitt Jul 13, 2022
6712c8c
rename Sa_lght as Sa_lightning
fvitt Jul 22, 2022
c8ed018
update to cmeps0.14.10
fvitt Feb 3, 2023
21074d9
Merge pull request #343 from jedwards4b/xgrid_and_maintask
jedwards4b Feb 3, 2023
895e623
Revert default aoflux_grid to ogrid
billsacks Mar 16, 2023
24ac1ba
Merge pull request #344 from billsacks/revert_xgrid
jedwards4b Mar 16, 2023
7ff0d3b
Remove unnecessary deallocate
billsacks Mar 22, 2023
97a4fe1
Merge pull request #345 from billsacks/remove_unnecessary_deallocate
jedwards4b Mar 22, 2023
18e5075
Add Jim's changes for new GPU options based on his branch: https://gi…
sjsprecious Mar 23, 2023
ebb0818
Add MAX_CPUTASKS_PER_GPU_NODE XML variable
sjsprecious Mar 23, 2023
72c1230
Remove default_values and valid_values for GPU_TYPE and GPU_OFFLOAD
sjsprecious Mar 24, 2023
195b86b
Merge remote-tracking branch 'origin/lightning_coupling' into cmeps0.…
fvitt Mar 27, 2023
5bb31fe
Send nitrogen deposition from atm to ocn
mnlevy1981 Mar 28, 2023
6cfd189
Clean up comments
mnlevy1981 Mar 28, 2023
5476eaa
A fix for #346 so that LND2ROF_FMAPNAME will be used
ekluzek Mar 29, 2023
c3e8e23
replace aux_cam with aux_cmeps in testlist
jedwards4b Apr 5, 2023
f191f85
Merge pull request #358 from jedwards4b/aux_cam-to-aux_cmeps
jedwards4b Apr 5, 2023
805d252
using copy_with_weights causes weights to be applied twice
jedwards4b Apr 5, 2023
b31366f
Merge pull request #349 from mnlevy1981/send_ndep_to_ocn
jedwards4b Apr 6, 2023
d8ddff5
Merge pull request #356 from mattldawson/develop-add-linked-libs
jedwards4b Apr 6, 2023
ac4d591
use updated error check and broadcast methods
fvitt Apr 7, 2023
4cf3e05
Added Fwxx_taux and Fwxx_tauy, based on Foxx_taux and Foxx_tauy
phall-brown Apr 12, 2023
e68d9bc
Trying simpler form of sharing Foxx to compwav
phall-brown Apr 14, 2023
eb18694
Turning off Foxx export to waves for testing
phall-brown Apr 14, 2023
22dbf82
Merge pull request #361 from ekluzek/lndrofmapfilefix
jedwards4b Apr 17, 2023
8cccca6
Merge branch 'main' into add_gpu_gust
sjsprecious Apr 17, 2023
c791efc
Adding Fwxx_taux to get wind stress to pass to wave model
phall-brown Apr 17, 2023
8db2449
Adding Fwxx_taux, using Foxx_taux as a model
phall-brown Apr 17, 2023
a599c2f
Comment out unnecessary line
phall-brown Apr 17, 2023
61cf378
fix issue with xgrid reproducibility
jedwards4b Apr 19, 2023
26f997c
Merge pull request #364 from jedwards4b/xgrid_reproducability_fix
jedwards4b Apr 19, 2023
f126b9f
update the minimum esmf version requirement
jedwards4b Apr 19, 2023
b4c3d9d
Merge pull request #347 from fvitt/cmeps0.14.18_lightning_coupling
jedwards4b Apr 20, 2023
263bebe
added wav/ice coupling
mvertens Apr 25, 2023
e50d27d
merged to cmeps0.14.24
mvertens Apr 25, 2023
17fa9d5
Adding custom field subroutine for waves with cesm, based on equivale…
phall-brown Apr 25, 2023
5712122
Passing So_ofrac to wav component
phall-brown Apr 25, 2023
e6451a4
Changing merge to Fwxx_taux to copy
phall-brown Apr 25, 2023
bdd726a
Fixed syntax of addmrg_to call for Fwxx_taux
phall-brown Apr 25, 2023
dec4bfb
Reverted earlier modifications
phall-brown Apr 25, 2023
d4b8441
Substituting Foxx_taux for Faox_taux
phall-brown Apr 25, 2023
d666f83
Revert "Substituting Foxx_taux for Faox_taux"
phall-brown Apr 26, 2023
3925710
Removed export of So_ofrac to wav component (unnecessary), and other …
phall-brown Apr 26, 2023
e142b2d
Cleaning up earlier, temporary code
phall-brown Apr 26, 2023
14bd205
Removed unnecessary fldList variable
phall-brown Apr 26, 2023
0bab18a
Merge pull request #1 from mvertens/feature/fix_wavice_coupling
mvertens Apr 26, 2023
abc5658
Adding stress from ice to Fwxx_taux
phall-brown Apr 26, 2023
cb585c5
Removed mrg_fracname from Fwxx merges
phall-brown Apr 26, 2023
95c5188
Added ifrac and ofrac to FBFrac for wave component
phall-brown Apr 26, 2023
5633ff2
Using ifrac and ofrac weights for Fbww merge
phall-brown Apr 26, 2023
a3c13d2
Updated comments to include wave component
phall-brown Apr 26, 2023
51f7601
updates to remove mct_mod and all other mct related files from share/
mvertens Apr 28, 2023
bcd23e4
Merge pull request #2 from mvertens/feature/remove_mct_from_share
mvertens Apr 28, 2023
962646a
improves the readability of salt budget
jedwards4b Apr 28, 2023
f80e7d7
undo accidental commit
jedwards4b Apr 28, 2023
68baf9f
Added new fractions (ifrac, ofrac) for wave component
phall-brown Apr 28, 2023
04296bd
Added compwav declaration to med_fraction_set subroutine
phall-brown Apr 28, 2023
5bc4403
Corrected two typos where compice was being passed instead of compwav
phall-brown Apr 28, 2023
69317cb
Removing previous additions for wavcomp
phall-brown Apr 29, 2023
baaf12c
Removing stress from compice from Fwxx_taux
phall-brown Apr 29, 2023
24f419c
turn off HierarchyProtocol, not used in cesm this is a memory and ini…
jedwards4b Apr 29, 2023
9c43424
correct comment delimiter
jedwards4b May 1, 2023
fcc45ff
Merge pull request #369 from jedwards4b/Turn_OFF_HierarchyProtocol
jedwards4b May 1, 2023
cf7ec4f
Merge pull request #368 from jedwards4b/improve_diag_salt_format
jedwards4b May 1, 2023
16d7223
removed unused variable
mvertens May 5, 2023
dbfb31a
removed unneeded xml variables
mvertens May 5, 2023
76bba43
Merge pull request #3 from mvertens/feature/remove_uneeded_xmlvars
mvertens May 5, 2023
7bb5053
check for nans
mvertens May 5, 2023
284137f
Merge pull request #376 from NorESMhub/noresm
jedwards4b May 5, 2023
9ee4d83
refactored logic
mvertens May 5, 2023
3ad7f1f
updated med_diag_mod with recent changes from escomp
mvertens May 5, 2023
311582c
This fails to enable writing of 'daily' files from forecasts shorter …
kdraeder May 6, 2023
0d2a0c8
Merge branch 'aux_cpl_hist_daily' of github.com:kdraeder/CMEPS into a…
kdraeder May 6, 2023
83bba42
updated counters for nans
mvertens May 8, 2023
0b59db6
consistent alias of use statements for check_for_nans
mvertens May 8, 2023
64439f7
fixed compilation bug
mvertens May 8, 2023
5e02def
add ability to compile without needed shr_infnan - as is the case for…
mvertens May 8, 2023
6776c24
Merge remote-tracking branch 'ESCOMP/main' into feature/updcmeps
DeniseWorthen May 9, 2023
f1dedf5
Changed Fwxx_taux merge to use 'wfrac'
phall-brown May 9, 2023
22b6278
Merge pull request #377 from mvertens/feature/check_for_nans
jedwards4b May 10, 2023
2685626
Adding merge to wave component Fwxx_taux based on Foxx_taux
phall-brown May 10, 2023
9d4e81c
Fixed a compocn that should have been compwav
phall-brown May 10, 2023
3ca2795
Adding ifrac and ofrac to fraclist_w
phall-brown May 10, 2023
7ac3ca9
make history_n integer variables
jedwards4b May 10, 2023
b22ae22
sames should be samples
jedwards4b May 10, 2023
cca94e4
wopen should return rc
jedwards4b May 10, 2023
66c0d0f
Merge remote-tracking branch 'ESCOMP/main' into feature/updcmeps
DeniseWorthen May 11, 2023
a936f7e
Merge pull request #365 from jedwards4b/update_esmf_min_version
jedwards4b May 11, 2023
a316646
major refactor of med_io_mod to handle multiple files
jedwards4b May 11, 2023
4490cff
ntperfile should be type integer
jedwards4b May 11, 2023
57e1970
remove unused variable
jedwards4b May 11, 2023
1aab35a
Merge pull request #1 from jedwards4b/history_n
kdraeder May 11, 2023
5d7470d
CESM_COUPLED should be CESMCOUPLED
jedwards4b May 11, 2023
b60c9d7
Candidate fixes of descriptions and comments
kdraeder May 11, 2023
106a99d
Merge pull request #380 from jedwards4b/cesmcoupledfix
jedwards4b May 11, 2023
42a5fd5
remove dead code
jedwards4b May 11, 2023
fd9151a
Merge remote-tracking branch 'ESCOMP/main' into feature/updcmeps
DeniseWorthen May 12, 2023
ebc63bb
allow ufs to use check nan feature
DeniseWorthen May 12, 2023
a25075d
fix comments
DeniseWorthen May 12, 2023
96206b6
adjust indentation
jedwards4b May 12, 2023
f2cbf27
Merge pull request #378 from kdraeder/aux_cpl_hist_daily
jedwards4b May 15, 2023
fd9872f
Merge remote-tracking branch 'ESCOMP/main' into feature/updcmeps
DeniseWorthen May 15, 2023
a587023
updates for new stresses sent to wave
May 16, 2023
3dbbda3
merged to head of escomp/main
May 16, 2023
ca8ca8b
udpates needed to pass taux and tauxy to wave
May 16, 2023
d64ffe9
fixed compile bugs
May 16, 2023
488b8d9
fixed compile bugs
May 16, 2023
09d1e08
Merge pull request #382 from mvertens/feature/theorywaves
jedwards4b May 17, 2023
f568cfc
Merge remote-tracking branch 'ESCOMP/main' into feature/updcmeps
DeniseWorthen May 17, 2023
c3e57f4
make this an input that can be toggled in user_nl_cpl
jedwards4b May 18, 2023
d84c9b3
expand description
jedwards4b May 18, 2023
a753571
make default .true. add log message
jedwards4b May 19, 2023
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
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
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
16dcc2f
Merge remote-tracking branch 'emc/emc/develop' into feature/sync_esco…
BinLiu-NOAA Feb 1, 2024
a312c64
Update ccpp-physics in CMEPS to consider sea surface ocean current in…
binli2337 Feb 1, 2024
eb87f4a
Merge pull request #3 from hafs-community/feature/sync_escomp_20240201
uturuncoglu Feb 2, 2024
5808906
minor fix for the fields not provided by stream
uturuncoglu Feb 5, 2024
c9c4c23
Set polemethod = ESMF_POLEMETHOD_NONE for UFS regional hafs.mom6 coup…
BinLiu-NOAA Feb 5, 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
16 changes: 8 additions & 8 deletions .github/workflows/extbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
CPPFLAGS: "-I/usr/include -I/usr/local/include"

# Versions of all dependencies can be updated here
ESMF_VERSION: v8.4.2
ESMF_VERSION: v8.6.0
PNETCDF_VERSION: checkpoint.1.12.3
NETCDF_FORTRAN_VERSION: v4.6.0
PIO_VERSION: pio2_6_0
CDEPS_VERSION: cdeps1.0.15
NETCDF_FORTRAN_VERSION: v4.6.1
PIO_VERSION: pio2_6_2
CDEPS_VERSION: cdeps1.0.26
steps:
- uses: actions/checkout@v3
# Build the ESMF library, if the cache contains a previous build
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
ref: ${{ env.CDEPS_VERSION }}
- name: Build CDEPS
if: steps.cache-cdeps.outputs.cache-hit != 'true'
uses: ESCOMP/CDEPS/.github/actions/[email protected].15
uses: ESCOMP/CDEPS/.github/actions/[email protected].26
with:
esmfmkfile: $HOME/ESMF/lib/libg/Linux.gfortran.64.openmpi.default/esmf.mk
pio_path: $HOME/pio
Expand All @@ -102,6 +102,6 @@ jobs:
make VERBOSE=1
popd

- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
# - name: Setup tmate session
# if: ${{ failure() }}
# uses: mxschmitt/action-tmate@v3
20 changes: 17 additions & 3 deletions .github/workflows/srt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ 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.5.0
PARALLELIO_VERSION: pio2_6_0
ESMF_VERSION: v8.6.0
PARALLELIO_VERSION: pio2_6_2
CIME_MODEL: cesm
CIME_DRIVER: nuopc
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -79,7 +79,21 @@ jobs:
- name: checkout externals
run: |
pushd cesm
./manage_externals/checkout_externals ccs_config cdeps cime share mct cpl7 parallelio
./manage_externals/checkout_externals ccs_config cdeps share mct cpl7 parallelio
cd ccs_config
git checkout main
cd ../
git clone https://github.com/ESMCI/cime
cd cime
if [[ ! -e "${PWD}/.gitmodules.bak" ]]
then
echo "Converting [email protected] to https://github.com urls in ${PWD}/.gitmodules"

sed -i".bak" "s/[email protected]:/https:\/\/github.com\//g" "${PWD}/.gitmodules"
fi
git submodule update --init
cd ../components/cdeps
git checkout main

- name: Cache ESMF
id: cache-esmf
Expand Down
2 changes: 1 addition & 1 deletion cesm/driver/esmApp.F90
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ program esmApp
! Call Run for the ensemble driver
!-----------------------------------------------------------------------------
call ESMF_GridCompRun(ensemble_driver_comp, userRc=urc, rc=rc)
if (ESMF_LogFoundError(rcToCheck=urc, msg=ESMF_LOGERR_PASSTHRU, &
if (ESMF_LogFoundError(rcToCheck=rc, msg=ESMF_LOGERR_PASSTHRU, &
line=__LINE__, &
file=__FILE__)) &
call ESMF_Finalize(endflag=ESMF_END_ABORT)
Expand Down
41 changes: 37 additions & 4 deletions cesm/flux_atmocn/shr_flux_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -133,15 +133,18 @@ end subroutine shr_flux_adjust_constants
! Thomas Toniazzo (Bjerknes Centre, Bergen) ”
!===============================================================================
SUBROUTINE flux_atmOcn(logunit, nMax ,zbot ,ubot ,vbot ,thbot , &
& qbot ,s16O ,sHDO ,s18O ,rbot, &
& qbot, rainc ,s16O ,sHDO ,s18O ,rbot, &
& tbot ,us ,vs, pslv, &
& ts ,mask , seq_flux_atmocn_minwind, &
& sen ,lat ,lwup , &
& r16O, rhdo, r18O, &
& evap ,evap_16O, evap_HDO, evap_18O, &
& taux ,tauy ,tref ,qref , &
& ocn_surface_flux_scheme, &
& duu10n, ustar_sv ,re_sv ,ssq_sv, &
& add_gusts, &
& duu10n, &
& ugust_out, &
& ustar_sv ,re_sv ,ssq_sv, &
& missval)

! !USES:
Expand All @@ -156,11 +159,13 @@ SUBROUTINE flux_atmOcn(logunit, nMax ,zbot ,ubot ,vbot ,thbot , &
integer(IN),intent(in) :: nMax ! data vector length
integer(IN),intent(in) :: mask (nMax) ! ocn domain mask 0 <=> out of domain
integer(IN),intent(in) :: ocn_surface_flux_scheme
logical ,intent(in) :: add_gusts
real(R8) ,intent(in) :: zbot (nMax) ! atm level height (m)
real(R8) ,intent(in) :: ubot (nMax) ! atm u wind (m/s)
real(R8) ,intent(in) :: vbot (nMax) ! atm v wind (m/s)
real(R8) ,intent(in) :: thbot(nMax) ! atm potential T (K)
real(R8) ,intent(in) :: qbot (nMax) ! atm specific humidity (kg/kg)
real(R8) ,intent(in) :: rainc(nMax) ! atm precip for convective gustiness (kg/m^3) - RBN 24Nov2008/MDF 31Jan2022
real(R8) ,intent(in) :: s16O (nMax) ! atm H216O tracer conc. (kg/kg)
real(R8) ,intent(in) :: sHDO (nMax) ! atm HDO tracer conc. (kg/kg)
real(R8) ,intent(in) :: s18O (nMax) ! atm H218O tracer conc. (kg/kg)
Expand Down Expand Up @@ -188,6 +193,7 @@ SUBROUTINE flux_atmOcn(logunit, nMax ,zbot ,ubot ,vbot ,thbot , &
real(R8),intent(out) :: tref (nMax) ! diag: 2m ref height T (K)
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),optional :: ustar_sv(nMax) ! diag: ustar
real(R8),intent(out),optional :: re_sv (nMax) ! diag: sqrt of exchange coefficient (water)
Expand Down Expand Up @@ -257,12 +263,31 @@ SUBROUTINE flux_atmOcn(logunit, nMax ,zbot ,ubot ,vbot ,thbot , &
real(R8) :: tdiff(nMax) ! tbot - ts
real(R8) :: vscl

real(R8) :: ugust ! function: gustiness as a function of convective rainfall.
real(R8) :: gprec ! convective rainfall argument for ugust

qsat(Tk) = 640380.0_R8 / exp(5107.4_R8/Tk)
cdn(Umps) = 0.0027_R8 / Umps + 0.000142_R8 + 0.0000764_R8 * Umps

! Large and Yeager 2009
cdn(Umps) = 0.0027_R8 / min(33.0000_R8,Umps) + 0.000142_R8 + &
0.0000764_R8 * min(33.0000_R8,Umps) - 3.14807e-13_r8 * min(33.0000_R8,Umps)**6
! Capped Large and Pond by wind
! cdn(Umps) = 0.0027_R8 / min(30.0_R8,Umps) + 0.000142_R8 + 0.0000764_R8 * min(30.0_R8,Umps)
! Capped Large and Pond by Cd
! cdn(Umps) = min(0.0025_R8, (0.0027_R8 / Umps + 0.000142_R8 + 0.0000764_R8 * Umps ))
! Large and Pond
! cdn(Umps) = 0.0027_R8 / Umps + 0.000142_R8 + 0.0000764_R8 * Umps

psimhu(xd) = log((1.0_R8+xd*(2.0_R8+xd))*(1.0_R8+xd*xd)/8.0_R8) - 2.0_R8*atan(xd) + 1.571_R8
psixhu(xd) = 2.0_R8 * log((1.0_R8 + xd*xd)/2.0_R8)

! Convective gustiness appropriate for input precipitation.
! Following Regelsperger et al. (2000, J. Clim)
! Ug = log(1.0+6.69R-0.476R^2)
! Coefficients X by 8640 for mm/s (from cam) -> cm/day (for above forumla)
ugust(gprec) = log(1._R8+57801.6_r8*gprec-3.55332096e7_r8*(gprec**2))


!--- formats ----------------------------------------
character(*),parameter :: subName = '(flux_atmOcn) '
character(*),parameter :: F00 = "('(flux_atmOcn) ',4a)"
Expand Down Expand Up @@ -317,7 +342,14 @@ SUBROUTINE flux_atmOcn(logunit, nMax ,zbot ,ubot ,vbot ,thbot , &
if (mask(n) /= 0) then

!--- compute some needed quantities ---
vmag = max(seq_flux_atmocn_minwind, sqrt( (ubot(n)-us(n))**2 + (vbot(n)-vs(n))**2) )
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)) )
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

if (use_coldair_outbreak_mod) then
! Cold Air Outbreak Modification:
! Increase windspeed for negative tbot-ts
Expand Down Expand Up @@ -452,6 +484,7 @@ 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)

if (present(ustar_sv)) ustar_sv(n) = spval
if (present(re_sv )) re_sv (n) = spval
Expand Down
10 changes: 9 additions & 1 deletion cime_config/buildnml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ from CIME.case import Case
from CIME.nmlgen import NamelistGenerator
from CIME.utils import expect
from CIME.utils import get_model, get_time_in_seconds, get_timestamp
from CIME.namelist import literal_to_python_value
from CIME.buildnml import create_namelist_infile, parse_input
from CIME.XML.files import Files

Expand Down Expand Up @@ -105,7 +106,8 @@ def _create_drv_namelists(case, infile, confdir, nmlgen, files):
config["COMP_OCN"] = case.get_value("COMP_OCN")
config["COMP_ROF"] = case.get_value("COMP_ROF")
config["COMP_WAV"] = case.get_value("COMP_WAV")

config["CAMDEV"] = "True" if "CAM%DEV" in case.get_value("COMPSET") else "False"

if (
(
case.get_value("COMP_ROF") == "mosart"
Expand Down Expand Up @@ -144,6 +146,11 @@ def _create_drv_namelists(case, infile, confdir, nmlgen, files):
if config["COMP_OCN"] == "docn" and "aqua" in case.get_value("DOCN_MODE"):
nmlgen.set_value("aqua_planet", value=".true.")

# make sure that variable add_gusts is only set to true if compset includes cam_dev
add_gusts = literal_to_python_value(nmlgen.get_value("add_gusts"), type_="logical")
if add_gusts:
expect("CAM%DEV" in case.get_value("COMPSET"),"ERROR: add_gusts can only be set if CAM%DEV in compset {}".format(case.get_value("COMPSET")))

# --------------------------------
# Overwrite: set component coupling frequencies
# --------------------------------
Expand Down Expand Up @@ -658,6 +665,7 @@ def buildnml(case, caseroot, component):
create_namelist_infile(case, user_nl_file, namelist_infile, infile_text)
infile = [namelist_infile]


# create the files nuopc.runconfig, nuopc.runseq, drv_in and drv_flds_in
_create_drv_namelists(case, infile, confdir, nmlgen, files)

Expand Down
35 changes: 9 additions & 26 deletions cime_config/config_component.xml
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,15 @@
<desc>List of job ids for most recent case.submit</desc>
</entry>

<entry id="JOB_PRIORITY">
<type>char</type>
<default_value>regular</default_value>
<valid_values>regular,premium,economy</valid_values>
<group>run_begin_stop_restart</group>
<file>env_run.xml</file>
<desc>job priority for systems supporting this option</desc>
</entry>

<!-- ===================================================================== -->
<!-- definitions archive -->
<!-- ===================================================================== -->
Expand Down Expand Up @@ -812,15 +821,6 @@
different MPI ranks to different GPUs within the same compute node</desc>
</entry>

<entry id="SMP_PRESENT">
<type>logical</type>
<valid_values>TRUE,FALSE</valid_values>
<default_value>FALSE</default_value>
<group>build_def</group>
<file>env_build.xml</file>
<desc>TRUE implies that at least one of the components is built threaded (DO NOT EDIT)</desc>
</entry>

<entry id="ESMF_AWARE_THREADING">
<type>logical</type>
<valid_values>TRUE,FALSE</valid_values>
Expand Down Expand Up @@ -1026,23 +1026,6 @@
this to work.</desc>
</entry>

<entry id="ESMF_LOGFILE_KIND">
<type>char</type>
<valid_values>ESMF_LOGKIND_SINGLE,ESMF_LOGKIND_MULTI,ESMF_LOGKIND_NONE</valid_values>
<default_value>ESMF_LOGKIND_NONE</default_value>
<group>run_flags</group>
<file>env_run.xml</file>
<desc>
Determines what ESMF log files (if any) are generated when
USE_ESMF_LIB is TRUE.
ESMF_LOGKIND_SINGLE: Use a single log file, combining messages from
all of the PETs. Not supported on some platforms.
ESMF_LOGKIND_MULTI: Use multiple log files -- one per PET.
ESMF_LOGKIND_NONE: Do not issue messages to a log file.
By default, no ESMF log files are generated.
</desc>
</entry>

<entry id="ESMF_VERBOSITY_LEVEL">
<type>char</type>
<valid_values>off,low,high,max</valid_values>
Expand Down
31 changes: 13 additions & 18 deletions cime_config/namelist_definition_drv.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,6 @@
</values>
</entry>

<entry id="esmf_logging" modify_via_xml="ESMF_LOGFILE_KIND">
<type>char</type>
<category>cime_pes</category>
<group>PELAYOUT_attributes</group>
<desc>
Determines what ESMF log files (if any) are generated when
USE_ESMF_LIB is TRUE.
ESMF_LOGKIND_SINGLE: Use a single log file, combining messages from
all of the PETs. Not supported on some platforms.
ESMF_LOGKIND_MULTI: Use multiple log files — one per PET.
ESMF_LOGKIND_NONE: Do not issue messages to a log file.
By default, no ESMF log files are generated.
</desc>
<values>
<value>$ESMF_LOGFILE_KIND</value>
</values>
</entry>

<entry id="pio_asyncio_ntasks" modify_via_xml="PIO_ASYNCIO_NTASKS">
<type>integer</type>
<category>pio</category>
Expand Down Expand Up @@ -964,6 +946,19 @@
</values>
</entry>

<entry id="add_gusts">
<type>logical</type>
<category>control</category>
<group>MED_attributes</group>
<desc>
add a wind gustiness factor
</desc>
<values>
<value CAMDEV="True">.true.</value>
<value CAMDEV="False">.false.</value>
</values>
</entry>

<entry id="do_budgets" modify_via_xml="BUDGETS">
<type>logical</type>
<category>budget</category>
Expand Down
2 changes: 1 addition & 1 deletion cime_config/runseq/runseq_TG.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def gen_runseq(case, coupling_times):
runseq.add_action ("MED med_phases_post_lnd" , run_lnd)
runseq.add_action ("MED med_phases_prep_glc" , med_to_glc)
runseq.add_action ("MED -> GLC :remapMethod=redist" , med_to_glc)
runseq.add_action ("GLC" , run_glc)
runseq.add_action ("GLC" , run_glc and med_to_glc)
runseq.add_action ("GLC -> MED :remapMethod=redist" , run_glc)
runseq.add_action ("MED med_phases_history_write" , True)

Expand Down
Loading