Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
835 commits
Select commit Hold shift + click to select a range
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
44cb901
fix issue with REST_OPTION=end
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
bcaac2a
move all alarminit to nuopc_shr_methods in share code
jedwards4b Apr 4, 2024
53d64e7
Merge remote-tracking branch 'origin' into fix/nsteps_alarms
jedwards4b Apr 4, 2024
b2b2d46
fixes restart at end of run
jedwards4b Apr 6, 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
a7b782f
allow for ufs which does not use the gust code
jedwards4b Apr 10, 2024
65c02bd
Merge branch 'main' into fix/nsteps_alarms
jedwards4b Apr 10, 2024
27e647e
improve description for START_TOD variable
jedwards4b Apr 10, 2024
2c4139d
Merge branch 'fix/nsteps_alarms' of https://github.com/jedwards3b/CME…
jedwards4b Apr 10, 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
e3eba33
Merge tag 'cmeps0.14.60' into add_MARBL
mnlevy1981 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
95137f4
fix use_float=.true. for aux history files
DeniseWorthen Jun 24, 2024
dc501e9
fix indenting
DeniseWorthen 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
94928de
Merge branch 'main' into fix/nsteps_alarms
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
57290e2
merge to main, add timestamp to rpointer file name
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
3fcfa97
Merge remote-tracking branch 'ESCOMP/main' into feature/fixfloat4auxhist
DeniseWorthen Jun 27, 2024
2bb653d
aux history (float) should not use ntiles
DeniseWorthen Jun 27, 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
96c9095
gnu reports an error if this unused variable is not allocated
jedwards4b Jul 9, 2024
c2ef06d
Merge pull request #479 from jedwards4b/fix/gnu_unallocated_array_error
jedwards4b Jul 9, 2024
df46cf1
Separate the control of removing negative runoff for lnd vs glc
billsacks Jul 9, 2024
1b8920c
Merge pull request #481 from billsacks/remove_negative_runoff_land_only
billsacks Jul 10, 2024
e4a5e58
make sure variables are allocated before deallocating (#480)
jedwards4b Jul 11, 2024
df41c29
Declare cnt variable needed with ESMF_AWARE_THREADING
billsacks Jul 12, 2024
ce9cfe2
fix bug in ocn2glc_coupling and add blom (#484)
mvertens Jul 12, 2024
f62eff7
Merge remote-tracking branch 'ESCOMP/main' into feature/fixfloat4auxhist
DeniseWorthen Jul 24, 2024
8a30f50
fixes from testing for ATM auxhist output
DeniseWorthen Jul 25, 2024
10ffcc8
Merge pull request #485 from billsacks/declare_cnt
jedwards4b Jul 25, 2024
fdb9e0e
fix an error in the aoflux wind_gust fields
jedwards4b Jul 25, 2024
4520051
Merge pull request #487 from jedwards4b/fix/aoflux_merge_error
jedwards4b Jul 25, 2024
674f026
Merge remote-tracking branch 'ESCOMP/main' into HEAD
DeniseWorthen Jul 26, 2024
882d485
fix garbled print statement for scalars
DeniseWorthen Jul 26, 2024
e6ad652
Compute and export heat content associated with glc runoffs
alperaltuntas Jul 27, 2024
5adf83a
nan was picked up in pslv field on first pass
jedwards4b Jul 31, 2024
72280dd
Merge pull request #488 from DeniseWorthen/feature/fixfloat4auxhist
jedwards4b Aug 1, 2024
739b964
Merge pull request #489 from alperaltuntas/add_glc_runoff_heat_content
jedwards4b Aug 1, 2024
a41d9c2
Merge pull request #490 from jedwards4b/fix_nan_in_pslv
jedwards4b Aug 1, 2024
6851c9d
Changes the default PIO format from 64bit_offset to 64bit_data
briandobbins Aug 2, 2024
6c5b8fb
Merge pull request #492 from briandobbins/change_to_64bit_data_format
jedwards4b Aug 2, 2024
326ccf6
Merge branch 'main' into add_MARBL
mnlevy1981 Aug 5, 2024
a02f2ef
Remove POP2 references from config_component_cesm
mnlevy1981 Aug 5, 2024
2fba8e8
add CASE_GIT_REPOSITORY variable
jedwards4b Aug 7, 2024
7585948
Merge pull request #494 from jedwards4b/add_case_git_repository
jedwards4b Aug 7, 2024
d96fdf7
Merge pull request #493 from mnlevy1981/add_MARBL
jedwards4b Aug 8, 2024
1e4bba0
Simplify logic for glc_renormalize_smb
billsacks Aug 8, 2024
e71a5aa
Merge pull request #495 from billsacks/simplify_glc_renormalize_smb
billsacks Aug 9, 2024
34acae4
wav2ocn and ocn2wav maps are still needed in some cases
jedwards4b Aug 12, 2024
1fd6c7b
fix variable names
jedwards4b Aug 12, 2024
d8b0865
fix bug in med_diag_mod for ice runoff (#497)
mvertens Aug 12, 2024
9c3751e
add samegrid_ocn_wav to buildnml and use in namelist generation
jedwards4b Aug 12, 2024
612ba59
fix problem with no coupler file written at restart interval
mvertens Aug 20, 2024
864b7ce
Merge pull request #499 from mvertens/feature/fix_erp_dglc_test
jedwards4b Aug 21, 2024
865adc1
removed rpointer timestamp, merged to main
jedwards4b Aug 21, 2024
0b6518d
cleanup work
jedwards4b Aug 21, 2024
3677094
Merge remote-tracking branch 'origin/main' into fix/nsteps_alarms
jedwards4b Aug 21, 2024
ee628d1
fix dglc setting and remove end run alarm for the moment
jedwards4b Aug 21, 2024
59b0c10
remove unused code
jedwards4b Aug 21, 2024
bfb0c28
update github workflow
jedwards4b Aug 22, 2024
086762b
remove unused variable
jedwards4b Aug 22, 2024
0db1554
update github workflow
jedwards4b Aug 22, 2024
5b7d769
Merge pull request #447 from jedwards4b/fix/nsteps_alarms
jedwards4b Aug 22, 2024
f67cb8a
add timestamps to rpointer files
jedwards4b Aug 30, 2024
0341aeb
add timestamps to rpointer files
jedwards4b Sep 6, 2024
79a598d
updated dms exchange
mvertens Sep 14, 2024
771c4d4
Only add gust fields if add_gusts is true
billsacks Sep 20, 2024
81ac924
first_time needs to be saved
jedwards4b Sep 22, 2024
680221e
Merge branch 'main' into feature/update_dms_exchange
mvertens Sep 23, 2024
dd8d177
improve print timing of orbital parameters
jedwards4b Sep 26, 2024
5021dd8
updated code to work on betzy
mvertens Sep 27, 2024
17b48d9
Use srcTermProcessing=0 for all xgrid FieldRegridStore calls
billsacks Sep 27, 2024
b1e2325
Merge pull request #501 from billsacks/fix_xgrid_f_compset
billsacks Sep 28, 2024
842be8a
Merge pull request #506 from billsacks/fix_xgrid_reproducibility
billsacks Sep 28, 2024
c0ec79e
update github workflow
jedwards4b Sep 30, 2024
7c75a56
update github workflow
jedwards4b Sep 30, 2024
a664d62
Merge pull request #498 from jedwards4b/reintroduce_wav2ocn_maps
jedwards4b Sep 30, 2024
f4f64c3
Merge pull request #504 from mvertens/feature/update_dms_exchange
jedwards4b Sep 30, 2024
27c2af7
remove unused subroutine
jedwards4b Oct 1, 2024
d4e7462
Update ice2wav maps
dabail10 Oct 1, 2024
43bd7bf
Merge remote-tracking branch 'origin/main' into add_timestamp_rpointer
jedwards4b Oct 2, 2024
d6b8a21
variable name in namelist_definition_drv.xml did not match that used …
jedwards4b Oct 2, 2024
deedc25
Merge pull request #511 from jedwards4b/fix/ocn2wav_smap_issue
jedwards4b Oct 2, 2024
6fbffcb
add new xml vars for GPU configuration
sjsprecious Oct 4, 2024
1355710
Merge pull request #512 from sjsprecious/update_xml_vars_for_gpu_config
jedwards4b Oct 7, 2024
507aa7a
add memory usage variables for use on derecho
jedwards4b Oct 9, 2024
3cc308f
debug github workflow
jedwards4b Oct 14, 2024
8a892c5
rearrange externals
jedwards4b Oct 14, 2024
15a480e
Use xgrid for aoflux calculation unless atm & ocn are on the same grid
billsacks Oct 16, 2024
e649244
Add a test with aoflux_grid = ogrid
billsacks Oct 16, 2024
4883961
do not stop ringing alarm
jedwards4b Oct 17, 2024
de94803
Ensure psfc is always allocated
billsacks Oct 17, 2024
0bbdcd0
More correct fix to ensure psfc is allocated when needed
billsacks Oct 18, 2024
d9255d5
Tweak conditional for setting psfc for ufs
billsacks Oct 22, 2024
0de751f
Merge pull request #514 from billsacks/allocate_psfc
billsacks Oct 23, 2024
aa7f5c1
Merge branch 'main' into xgrid_default
billsacks Oct 24, 2024
27f4ecb
Merge pull request #515 from billsacks/xgrid_default
jedwards4b Oct 24, 2024
959e9a0
Merge pull request #513 from jedwards4b/add_mem_variables
jedwards4b Nov 22, 2024
6d47c50
Merge pull request #500 from jedwards4b/add_timestamp_rpointer
jedwards4b Dec 4, 2024
630c935
do not write restart at end of erc test
jedwards4b Dec 5, 2024
0e5ca48
Merge pull request #516 from jedwards4b/erc_test_fix
jedwards4b Dec 5, 2024
63a4a31
Merge pull request #503 from jedwards4b/fix/ocnalb_orbprint
jedwards4b Dec 6, 2024
e1f50a2
update retrieval and writing of dststatus fields
DeniseWorthen Dec 8, 2024
1ba5f11
restart at end of run needs to be false for these tests
jedwards4b Dec 9, 2024
d8b0155
Merge pull request #517 from DeniseWorthen/feature/fbdstatus
jedwards4b Dec 9, 2024
18d5cb7
Merge pull request #507 from dabail10/wavice2
jedwards4b Dec 9, 2024
6b270ad
update cdeps version in extbuild
jedwards4b Dec 9, 2024
51d4124
Merge pull request #518 from jedwards4b/add_eri_to_excpetions
jedwards4b Dec 9, 2024
a525ebd
remove unused variable isPresent
jedwards4b Dec 9, 2024
1903016
replace tabs with spaces
jedwards4b Dec 10, 2024
7ced1d3
another unused variable
jedwards4b Dec 10, 2024
7d8ab4a
try some specific python versions
jedwards4b Dec 11, 2024
baf8cf5
make it test all three python flavors
jedwards4b Dec 11, 2024
d1b7b71
replace testcase None in config with unset
jedwards4b Dec 12, 2024
51db268
remove unused variable isPresent
jedwards4b Dec 13, 2024
108a8f6
Merge branch 'fix_github_workflow' into testcase_unset
jedwards4b Dec 13, 2024
a91cedf
Merge pull request #521 from jedwards4b/testcase_unset
jedwards4b Dec 13, 2024
7ad0de0
Merge remote-tracking branch 'origin/main' into fix_github_workflow
jedwards4b Dec 16, 2024
4b636c6
Merge pull request #519 from jedwards4b/fix_github_workflow
jedwards4b Dec 17, 2024
191214b
Merge remote-tracking branch 'ESCOMP/main' into feature/ufs_restartfh
DeniseWorthen Dec 18, 2024
e3a4803
protect write_restartfh w/ CESM ifdef
DeniseWorthen Dec 18, 2024
8a2a3c2
replace esmf_logmsg_error with calls to shr_abort
jedwards4b Jan 23, 2025
d1a5023
update externals in extbuild workflow
jedwards4b Jan 24, 2025
d17661c
remove more esmf_logmsg_error statements
jedwards4b Jan 28, 2025
80e806c
remove more esmf_logmsg_error statements
jedwards4b Jan 28, 2025
92deb16
remove more esmf_logmsg_error statements
jedwards4b Jan 28, 2025
67b278f
remove more esmf_logmsg_error statements
jedwards4b Jan 28, 2025
68fc53b
add back X compset tests
jedwards4b Jan 28, 2025
3b01033
change resolution of a couple of tests
jedwards4b Jan 29, 2025
bc29792
Merge pull request #532 from jedwards4b/all_errors_to_log
jedwards4b Jan 29, 2025
2593f60
write errors using shr_log_error and return up the stack
jedwards4b Jan 30, 2025
0fabc2e
shr_log_error and return up stack
jedwards4b Jan 31, 2025
a884335
more clean up
jedwards4b Jan 31, 2025
42b254c
Add RUN_POSTPROCESSING variable to env_run.xml
mnlevy1981 Feb 4, 2025
bbadee8
Merge branch 'main' into bugfix-FB-init-dim-mismatch
kieranricardo Feb 9, 2025
22ea13b
update externals
jedwards4b Feb 12, 2025
c83271e
Merge pull request #535 from jedwards4b/shr_log_error
jedwards4b Feb 12, 2025
e35f3c7
remove seq_drydep_mod.F90
fvitt Feb 13, 2025
83a8177
Merge pull request #537 from mnlevy1981/add_postprocessing
jedwards4b Feb 19, 2025
b4695c4
Merge pull request #542 from fvitt/rm_seq_drydep_mod
jedwards4b Feb 19, 2025
3536cc5
Merge pull request #540 from kieranricardo/bugfix-FB-init-dim-mismatch
jedwards4b Feb 19, 2025
da893cb
always set atmocn grid to ogrid with datm
jedwards4b Feb 27, 2025
7c3581f
update description
jedwards4b Feb 27, 2025
189b02e
Merge pull request #543 from jedwards4b/datm_ogrid
jedwards4b Feb 27, 2025
b81860e
Merge branch 'main' into feature/ufs_restartfh
jedwards4b Mar 13, 2025
11d0522
update externals for extbuild
jedwards4b Mar 13, 2025
de95504
add connection between xml and fortran
jedwards4b Mar 19, 2025
dcd0f47
an additional change required
jedwards4b Mar 19, 2025
e203956
Merge pull request #546 from jedwards4b/pass_version_to_fortran
jedwards4b Mar 19, 2025
e3d9383
Merge remote-tracking branch 'ESCOMP/main' into feature/ufs_restartfh
DeniseWorthen Mar 20, 2025
bfd40ad
update cdeps tag in github workflow
jedwards4b Mar 21, 2025
57ed117
update cdeps external in github workflow
jedwards4b Mar 21, 2025
d892028
Merge pull request #522 from DeniseWorthen/feature/ufs_restartfh
jedwards4b Mar 21, 2025
540154c
Merge branch 'emc/develop' into feature/sync_cmeps2025-03
DeniseWorthen Mar 21, 2025
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
8 changes: 4 additions & 4 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.6.1
PNETCDF_VERSION: checkpoint.1.12.3
ESMF_VERSION: v8.8.0
PNETCDF_VERSION: checkpoint.1.14.0
NETCDF_FORTRAN_VERSION: v4.6.1
PIO_VERSION: pio2_6_3
CDEPS_VERSION: cdeps1.0.59
PIO_VERSION: pio2_6_5
CDEPS_VERSION: cdeps1.0.72
steps:
- uses: actions/checkout@v4
# Build the ESMF library, if the cache contains a previous build
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/srt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ jobs:
# The type of runner that the job will run on
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ 3.x ]
python-version: [ 3.8, 3.11, 3.x ]
env:
CC: mpicc
FC: mpifort
Expand Down
77 changes: 45 additions & 32 deletions cesm/driver/esm.F90
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ module ESM
!-----------------------------------------------------------------------------

use shr_kind_mod , only : r8=>shr_kind_r8, cl=>shr_kind_cl, cs=>shr_kind_cs
use shr_sys_mod , only : shr_sys_abort
use shr_mpi_mod , only : shr_mpi_bcast
use shr_mem_mod , only : shr_mem_init
use shr_log_mod , only : shr_log_setLogunit
use shr_log_mod , only : shr_log_setLogunit, shr_log_error
use esm_utils_mod, only : logunit, maintask, dbug_flag, chkerr

use esmf , only : ESMF_FAILURE
implicit none
private

Expand Down Expand Up @@ -490,10 +489,14 @@ subroutine InitAttributes(driver, rc)
if (chkerr(rc,__LINE__,u_FILE_u)) return

if (.not. shr_wv_sat_valid_idx(shr_wv_sat_get_scheme_idx(trim(wv_sat_scheme)))) then
call shr_sys_abort(subname//': "'//trim(wv_sat_scheme)//'" is not a recognized saturation vapor pressure scheme name')
call shr_log_error(subname//': "'//trim(wv_sat_scheme)//'" is not a recognized saturation vapor pressure scheme name')
rc = ESMF_FAILURE
return
end if
if (.not. shr_wv_sat_set_default(wv_sat_scheme)) then
call shr_sys_abort('Invalid wv_sat_scheme.')
call shr_log_error('Invalid wv_sat_scheme.')
rc = ESMF_FAILURE
return
end if

call NUOPC_CompAttributeGet(driver, name="wv_sat_transition_start", value=cvalue, rc=rc)
Expand Down Expand Up @@ -522,7 +525,9 @@ subroutine InitAttributes(driver, rc)

call shr_wv_sat_init(shr_const_tkfrz, shr_const_tktrip, wv_sat_transition_start, epsilo, errstring)
if (errstring /= "") then
call shr_sys_abort('shr_wv_sat_init: '//trim(errstring))
call shr_log_error('shr_wv_sat_init: '//trim(errstring))
rc = ESMF_FAILURE
return
end if

! The below produces internal lookup tables in the range 175-374K for
Expand Down Expand Up @@ -567,26 +572,34 @@ subroutine CheckAttributes( driver, rc )
call NUOPC_CompAttributeGet(driver, name="cime_model", value=cime_model, rc=rc)
if (chkerr(rc,__LINE__,u_FILE_u)) return
if ( trim(cime_model) /= 'cesm' .and. trim(cime_model) /= 'ufs') then
call shr_sys_abort( subname//': cime_model must be set to cesm or ufs, aborting')
call shr_log_error( subname//': cime_model must be set to cesm or ufs, aborting')
rc = ESMF_FAILURE
return
end if

! --- LogFile ending name -----
call NUOPC_CompAttributeGet(driver, name="logFilePostFix", value=logFilePostFix, rc=rc)
if (chkerr(rc,__LINE__,u_FILE_u)) return

if ( len_trim(logFilePostFix) == 0 ) then
call shr_sys_abort( subname//': logFilePostFix must be set to something not blank' )
call shr_log_error( subname//': logFilePostFix must be set to something not blank' )
rc = ESMF_FAILURE
return
end if

! --- Output path root directory -----
call NUOPC_CompAttributeGet(driver, name="outPathRoot", value=outPathRoot, rc=rc)
if (chkerr(rc,__LINE__,u_FILE_u)) return

if ( len_trim(outPathRoot) == 0 ) then
call shr_sys_abort( subname//': outPathRoot must be set' )
call shr_log_error( subname//': outPathRoot must be set' )
rc = ESMF_FAILURE
return
end if
if ( index(outPathRoot, "/", back=.true.) /= len_trim(outPathRoot) ) then
call shr_sys_abort( subname//': outPathRoot must end with a slash' )
call shr_log_error( subname//': outPathRoot must end with a slash' )
rc = ESMF_FAILURE
return
end if

end subroutine CheckAttributes
Expand Down Expand Up @@ -1256,7 +1269,7 @@ subroutine esm_set_single_column_attributes(compname, gcomp, rc)

if ( (scol_lon < scol_spval .and. scol_lat > scol_spval) .or. &
(scol_lon > scol_spval .and. scol_lat < scol_spval)) then
call shr_sys_abort(subname//' ERROR: '//trim(compname)//' both scol_lon and scol_lat must be greater than -999 ')
call shr_log_error(subname//' ERROR: '//trim(compname)//' both scol_lon and scol_lat must be greater than -999 ')
end if

! Set the special value for single column - if pts_lat or pts_lon are equal to the special value
Expand All @@ -1271,7 +1284,7 @@ subroutine esm_set_single_column_attributes(compname, gcomp, rc)
! ATM, LND, OCN and ICE components only
! verify that WAV and LND are not trying to use single column mode
if (trim(compname) == 'WAV' .or. trim(compname) == 'ROF' .or. trim(compname) == 'GLC') then
call shr_sys_abort(subname//' ERROR: '//trim(compname)//' does not support single column mode ')
call shr_log_error(subname//' ERROR: '//trim(compname)//' does not support single column mode ')
end if

! ensure that single column mode is only run on 1 pet
Expand All @@ -1280,7 +1293,7 @@ subroutine esm_set_single_column_attributes(compname, gcomp, rc)
call ESMF_VMGet(vm, petcount=petcount, rc=rc)
if (ChkErr(rc,__LINE__,u_FILE_u)) return
if (petcount > 1) then
call shr_sys_abort(subname//' ERROR: single column mode must be run on 1 pe')
call shr_log_error(subname//' ERROR: single column mode must be run on 1 pe')
endif

write(logunit,'(a,2(f10.5,2x))')trim(subname)//' single column point for '//trim(compname)//&
Expand All @@ -1304,27 +1317,27 @@ subroutine esm_set_single_column_attributes(compname, gcomp, rc)
! the closest point in the domin file to scol_lon and scol_lat

status = nf90_open(single_column_lnd_domainfile, NF90_NOWRITE, ncid)
if (status /= nf90_noerr) call shr_sys_abort (trim(subname) //': opening '//&
if (status /= nf90_noerr) call shr_log_error (trim(subname) //': opening '//&
trim(single_column_lnd_domainfile))
status = nf90_inq_dimid (ncid, 'ni', dimid)
if (status /= nf90_noerr) call shr_sys_abort (trim(subname) //': inq_dimid ni')
if (status /= nf90_noerr) call shr_log_error (trim(subname) //': inq_dimid ni')
status = nf90_inquire_dimension(ncid, dimid, len=ni)
if (status /= nf90_noerr) call shr_sys_abort (trim(subname) //': inquire_dimension ni')
if (status /= nf90_noerr) call shr_log_error (trim(subname) //': inquire_dimension ni')
status = nf90_inq_dimid (ncid, 'nj', dimid)
if (status /= nf90_noerr) call shr_sys_abort (trim(subname) //': inq_dimid nj')
if (status /= nf90_noerr) call shr_log_error (trim(subname) //': inq_dimid nj')
status = nf90_inquire_dimension(ncid, dimid, len=nj)
if (status /= nf90_noerr) call shr_sys_abort (trim(subname) //': inquire_dimension nj')
if (status /= nf90_noerr) call shr_log_error (trim(subname) //': inquire_dimension nj')

status = nf90_inq_varid(ncid, 'xc' , varid_xc)
if (status /= nf90_noerr) call shr_sys_abort (subname//' inq_varid xc')
if (status /= nf90_noerr) call shr_log_error (subname//' inq_varid xc')
status = nf90_inq_varid(ncid, 'yc' , varid_yc)
if (status /= nf90_noerr) call shr_sys_abort (subname//' inq_varid yc')
if (status /= nf90_noerr) call shr_log_error (subname//' inq_varid yc')
status = nf90_inq_varid(ncid, 'area' , varid_area)
if (status /= nf90_noerr) call shr_sys_abort (subname//' inq_varid area')
if (status /= nf90_noerr) call shr_log_error (subname//' inq_varid area')
status = nf90_inq_varid(ncid, 'mask' , varid_mask)
if (status /= nf90_noerr) call shr_sys_abort (subname//' inq_varid mask')
if (status /= nf90_noerr) call shr_log_error (subname//' inq_varid mask')
status = nf90_inq_varid(ncid, 'frac' , varid_frac)
if (status /= nf90_noerr) call shr_sys_abort (subname//' inq_varid frac')
if (status /= nf90_noerr) call shr_log_error (subname//' inq_varid frac')

! Read in domain file for single column
! Check for unstructured data ni>1 and nj==1
Expand All @@ -1344,10 +1357,10 @@ subroutine esm_set_single_column_attributes(compname, gcomp, rc)
start3=(/1,1,1/)
count3=(/ni,nj,1/)
status = nf90_get_var(ncid, varid_xc, glob_grid, start3, count3)
if (status /= nf90_noerr) call shr_sys_abort (subname//' get_var xc')
if (status /= nf90_noerr) call shr_log_error (subname//' get_var xc')
lons(1:ni) = glob_grid(1:ni,1)
status = nf90_get_var(ncid, varid_yc, glob_grid, start3, count3)
if (status /= nf90_noerr) call shr_sys_abort (subname//' get_var yc')
if (status /= nf90_noerr) call shr_log_error (subname//' get_var yc')
if (unstructured) then
lats(1:ni) = glob_grid(1:ni,1)
else
Expand Down Expand Up @@ -1379,31 +1392,31 @@ subroutine esm_set_single_column_attributes(compname, gcomp, rc)
! read in value of nearest neighbor lon and RESET scol_lon and scol_lat
! also get area of gridcell, mask and frac
status = nf90_get_var(ncid, varid_xc, scol_lon, start)
if (status /= nf90_noerr) call shr_sys_abort (subname//' get_var xc')
if (status /= nf90_noerr) call shr_log_error (subname//' get_var xc')

status = nf90_get_var(ncid, varid_yc, scol_lat, start)
if (status /= nf90_noerr) call shr_sys_abort (subname//' get_var yc')
if (status /= nf90_noerr) call shr_log_error (subname//' get_var yc')

status = nf90_get_var(ncid, varid_area, scol_area, start)
if (status /= nf90_noerr) call shr_sys_abort (subname//' get_var area')
if (status /= nf90_noerr) call shr_log_error (subname//' get_var area')

status = nf90_get_var(ncid, varid_mask, iscol_data, start)
if (status /= nf90_noerr) call shr_sys_abort (subname//' get_var mask')
if (status /= nf90_noerr) call shr_log_error (subname//' get_var mask')
scol_lndmask = iscol_data(1)
scol_ocnmask = 1 - scol_lndmask

status = nf90_get_var(ncid, varid_frac, scol_data, start)
if (status /= nf90_noerr) call shr_sys_abort (subname//' get_var frac')
if (status /= nf90_noerr) call shr_log_error (subname//' get_var frac')
scol_lndfrac = scol_data(1)
scol_ocnfrac = 1._r8 - scol_lndfrac

if (scol_ocnmask == 0 .and. scol_lndmask == 0) then
call shr_sys_abort(trim(subname)//' in single column mode '&
call shr_log_error(trim(subname)//' in single column mode '&
//' ocean and land mask cannot both be zero')
end if

status = nf90_close(ncid)
if (status /= nf90_noerr) call shr_sys_abort (trim(subname) //': closing '//&
if (status /= nf90_noerr) call shr_log_error (trim(subname) //': closing '//&
trim(single_column_lnd_domainfile))

! Now read in mesh file to get exact values of scol_lon and scol_lat that will be used
Expand Down
47 changes: 29 additions & 18 deletions cesm/driver/esm_time_mod.F90
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
module esm_time_mod

use shr_kind_mod , only : cx=>shr_kind_cx, cs=>shr_kind_cs, cl=>shr_kind_cl, r8=>shr_kind_r8
use shr_log_mod , only : shr_log_error
use ESMF , only : ESMF_GridComp, ESMF_GridCompGet, ESMF_GridCompSet
use ESMF , only : ESMF_Clock, ESMF_ClockCreate, ESMF_ClockGet, ESMF_ClockSet
use ESMF , only : ESMF_ClockAdvance
use ESMF , only : ESMF_ClockAdvance, ESMF_FAILURE
Comment thread
DeniseWorthen marked this conversation as resolved.
use ESMF , only : ESMF_Alarm, ESMF_AlarmCreate, ESMF_AlarmGet
use ESMF , only : ESMF_Calendar, ESMF_CalKind_Flag, ESMF_CalendarCreate
use ESMF , only : ESMF_CALKIND_NOLEAP, ESMF_CALKIND_GREGORIAN
use ESMF , only : ESMF_Time, ESMF_TimeGet, ESMF_TimeSet
use ESMF , only : ESMF_TimeInterval, ESMF_TimeIntervalSet, ESMF_TimeIntervalGet
use ESMF , only : ESMF_SUCCESS, ESMF_LogWrite, ESMF_LOGMSG_INFO, ESMF_FAILURE, ESMF_LOGMSG_ERROR
use ESMF , only : ESMF_SUCCESS, ESMF_LogWrite, ESMF_LOGMSG_INFO, ESMF_FAILURE
use ESMF , only : ESMF_VM, ESMF_VMGet, ESMF_VMBroadcast
use ESMF , only : ESMF_VMAllReduce, ESMF_REDUCE_MAX, ESMF_ClockGetAlarm
use ESMF , only : ESMF_LOGMSG_INFO, ESMF_FAILURE, ESMF_GridCompIsPetLocal
Expand Down Expand Up @@ -140,25 +141,25 @@ subroutine esm_time_clockinit(ensemble_driver, instance_driver, logunit, maintas
write(logunit,*) " read rpointer file = "//trim(restart_pfile)
inquire( file=trim(restart_pfile), exist=exists)
if (.not. exists) then
call shr_log_error( trim(subname)//' ERROR rpointer file '//trim(restart_pfile)//' not found',&
line=__LINE__, file=__FILE__)
rc = ESMF_FAILURE
call ESMF_LogWrite(trim(subname)//' ERROR rpointer file '//trim(restart_pfile)//' not found', &
ESMF_LOGMSG_ERROR, line=__LINE__, file=__FILE__)
return
endif
call ESMF_LogWrite(trim(subname)//" read rpointer file = "//trim(restart_pfile), &
ESMF_LOGMSG_INFO)
open(newunit=unitn, file=restart_pfile, form='FORMATTED', status='old',iostat=ierr)
if (ierr < 0) then
call shr_log_error( trim(subname)//' ERROR rpointer file open returns error', &
line=__LINE__, file=__FILE__)
rc = ESMF_FAILURE
call ESMF_LogWrite(trim(subname)//' ERROR rpointer file open returns error', &
ESMF_LOGMSG_ERROR, line=__LINE__, file=__FILE__)
return
end if
read(unitn,'(a)', iostat=ierr) restart_file
if (ierr < 0) then
call shr_log_error( trim(subname)//' ERROR rpointer file read returns error', &
line=__LINE__, file=__FILE__)
rc = ESMF_FAILURE
call ESMF_LogWrite(trim(subname)//' ERROR rpointer file read returns error', &
ESMF_LOGMSG_INFO, line=__LINE__, file=__FILE__)
return
end if
close(unitn)
Expand Down Expand Up @@ -372,66 +373,76 @@ subroutine esm_time_read_restart(restart_file, start_ymd, start_tod, curr_ymd, c
rc = ESMF_SUCCESS
status = nf90_open(restart_file, NF90_NOWRITE, ncid)
if (status /= nf90_NoErr) then
call ESMF_LogWrite(trim(subname)//' ERROR: nf90_open: '//trim(restart_file), ESMF_LOGMSG_ERROR)
call shr_log_error( trim(subname)//' ERROR: nf90_open: '//trim(restart_file),&
file=__FILE__, line=__LINE__)
rc = ESMF_FAILURE
return
endif

status = nf90_inq_varid(ncid, 'start_ymd', varid)
if (status /= nf90_NoErr) then
call ESMF_LogWrite(trim(subname)//' ERROR: nf90_inq_varid start_ymd', ESMF_LOGMSG_ERROR)
call shr_log_error( trim(subname)//' ERROR: nf90_inq_varid start_ymd', &
file=__FILE__, line=__LINE__)
rc = ESMF_FAILURE
return
end if
status = nf90_get_var(ncid, varid, start_ymd)
if (status /= nf90_NoErr) then
call ESMF_LogWrite(trim(subname)//' ERROR: nf90_get_var start_ymd', ESMF_LOGMSG_ERROR)
call shr_log_error( trim(subname)//' ERROR: nf90_get_var start_ymd', &
file=__FILE__, line=__LINE__)
rc = ESMF_FAILURE
return
end if

status = nf90_inq_varid(ncid, 'start_tod', varid)
if (status /= nf90_NoErr) then
call ESMF_LogWrite(trim(subname)//' ERROR: nf90_inq_varid start_tod', ESMF_LOGMSG_ERROR)
call shr_log_error( trim(subname)//' ERROR: nf90_inq_varid start_tod', &
file=__FILE__, line=__LINE__)
rc = ESMF_FAILURE
return
end if
status = nf90_get_var(ncid, varid, start_tod)
if (status /= nf90_NoErr) then
call ESMF_LogWrite(trim(subname)//' ERROR: nf90_get_var start_tod', ESMF_LOGMSG_ERROR)
call shr_log_error( trim(subname)//' ERROR: nf90_get_var start_tod', &
file=__FILE__, line=__LINE__)
rc = ESMF_FAILURE
return
end if

status = nf90_inq_varid(ncid, 'curr_ymd', varid)
if (status /= nf90_NoErr) then
call ESMF_LogWrite(trim(subname)//' ERROR: nf90_inq_varid curr_ymd', ESMF_LOGMSG_ERROR)
call shr_log_error( trim(subname)//' ERROR: nf90_inq_varid curr_ymd', &
file=__FILE__, line=__LINE__)
rc = ESMF_FAILURE
return
end if
status = nf90_get_var(ncid, varid, curr_ymd)
if (status /= nf90_NoErr) then
call ESMF_LogWrite(trim(subname)//' ERROR: nf90_get_var curr_ymd', ESMF_LOGMSG_ERROR)
call shr_log_error( trim(subname)//' ERROR: nf90_get_var curr_ymd', &
file=__FILE__, line=__LINE__)
rc = ESMF_FAILURE
return
end if

status = nf90_inq_varid(ncid, 'curr_tod', varid)
if (status /= nf90_NoErr) then
call ESMF_LogWrite(trim(subname)//' ERROR: nf90_inq_varid curr_tod', ESMF_LOGMSG_ERROR)
call shr_log_error( trim(subname)//' ERROR: nf90_inq_varid curr_tod', &
file=__FILE__, line=__LINE__)
rc = ESMF_FAILURE
return
end if
status = nf90_get_var(ncid, varid, curr_tod)
if (status /= nf90_NoErr) then
call ESMF_LogWrite(trim(subname)//' ERROR: nf90_get_var curr_tod', ESMF_LOGMSG_ERROR)
call shr_log_error( trim(subname)//' ERROR: nf90_get_var curr_tod', &
file=__FILE__, line=__LINE__)
rc = ESMF_FAILURE
return
end if

status = nf90_close(ncid)
if (status /= nf90_NoErr) then
call ESMF_LogWrite(trim(subname)//' ERROR: nf90_close', ESMF_LOGMSG_ERROR)
call shr_log_error( trim(subname)//' ERROR: nf90_close', &
file=__FILE__, line=__LINE__)
rc = ESMF_FAILURE
return
end if
Expand Down
7 changes: 4 additions & 3 deletions cesm/flux_atmocn/shr_flux_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ module shr_flux_mod
! !USES:

use shr_kind_mod, only : R8=>SHR_KIND_R8, IN=>SHR_KIND_IN ! shared kinds
use shr_const_mod ! shared constants
use shr_sys_mod ! shared system routines

use shr_const_mod, only : shr_const_zvir, shr_const_cpdair, shr_const_cpvir, shr_const_karman, shr_const_g ! shared constants
use shr_const_mod, only : shr_const_latvap, shr_const_latice, shr_const_stebol, shr_const_tkfrz, shr_const_pi, shr_const_spval
use shr_const_mod, only : shr_const_ocn_ref_sal, shr_const_zsrflyr, shr_const_rgas
use shr_sys_mod, only : shr_sys_abort ! shared system routines
implicit none

private ! default private
Expand Down
Loading