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 ctsm5.2 branch to ctsm5.1.dev176 and some small updates #2464

Merged
merged 101 commits into from
Apr 19, 2024

Conversation

ekluzek
Copy link
Collaborator

@ekluzek ekluzek commented Apr 10, 2024

Description of changes

Update the ctsm5.2 branch to ctsm5.1.dev176 and bring in some small updates. Copy initdata_map datasets to initdata_esmf/ctsm5.2. Copy ctsm51 parameter file to ctsm60. Change output jobscripts to include a .sh extension.
Use default PE layouts rather than assigned ones for ctsm_sci tests for odd grids.

Specific notes

Contributors other than yourself, if any: @slevis-lmwg

CTSM Issues Fixed (include github issue #):
Fixes #2149
Deals with a few things in #2446

Are answers expected to change (and if so in what way)? No

Any User Interface Changes (namelist or namelist defaults changes)?
New ctsm5.2 finidat files moved to the lnd/clm2/initdata_esmf/ctsm5.2 diretory
ctsm6.0 parameter file copied from the ctsm5.1 one
ctsm5.1.dev175 to ctsm5.1.dev176 update brings in dust-emiss datasets and LND_TUNING_MODE updates

Testing performed, if any:
python Derecho PASS
build_namelist tester PASS
aux_clm -- Derecho OK
aux_clm -- Izumi OK
ctsm_sci -- Derecho OK
mosart -- Derecho OK
rtm -- Derecho PASS

dmleung and others added 30 commits March 13, 2023 00:46
…he global tuning factor.

We will keep the global tuning factor in CAM. dmleung 5 Apr 2023
Rework handling of evaporation constraint in SoilFluxes

Occasionally, h2osoi_ice was going significantly negative in
UpdateState_TopLayerFluxes - see
ESCOMP#1979. As noted in that issue, this
seems to be due to h2osoi_ice having a very different magnitude from
h2osoi_liq, leading to greater-than-roundoff-level differences from zero
final state in a relative sense (i.e., relative to the magnitude of
h2osoi_ice) - I think because of the appearance of the sum (h2osoi_ice +
h2osoi_liq) in the equations that limit fluxes.

To try to deal with this, I have reworked the handling of the
evaporation constraint to directly limit both the liqevap and solidevap,
so that both of them should result in the equivalent liq or ice states
going to 0 within roundoff.

To do that, I needed to move the partitioning of the total flux into
liquid and solid to earlier in the subroutine and then recalculate those
partitioning fluxes in conditions where we're applying an evaporation
constraint.

Note that I applied a max of 0 to the new fluxes because many initial
conditions files have roundoff-level negative H2OSOI_LIQ, so without
this limit, we were getting roundoff-level negative fluxes.

Resolves ESCOMP#1979
…ure lnd_tuning_mode has all of the clm physics options paired with all of the forcing types, build-namelist tests now pass
BFB merge tag dev166

2315 @TeaganKing Refactoring run_neon for PLUMBER2 part1
2326 @samsrabin run_sys_tests: Check Python environment for FatesColdTwoStream tests
2213 @samsrabin Automatically assign high priority items to project 25
2330 @samsrabin Add Izumi version of the aux_clm unit testing

 Conflicts:
	bld/namelist_files/namelist_defaults_ctsm.xml
	bld/namelist_files/namelist_definition_ctsm.xml
	bld/unit_testers/build-namelist_test.pl
	cime_config/config_component.xml
…for the Zender scheme how the soil eroditability file is handled
…gic for it, this compilers, but does NOT run
…1_Mmpi-serial.1x1_brazil.I2000Clm51SpRs.derecho_gnu.clm-clm51cam6LndTuningMode PASSes
… a version for each lnd_tuning_mode, and for CAM4 cases for the f09 grid
ekluzek added 2 commits April 12, 2024 17:13
Update namelist with needed cam4.0,
cam5.0, and clm6_0 changes so that the
namelist tester works and compares as expected to the previous version.
for ctsm_sci tests with the updated default
PE layouts we have in place.
@ekluzek
Copy link
Collaborator Author

ekluzek commented Apr 15, 2024

I messed up something in the merge of the namelist defaults file. So I'm going through and figuring out what I did wrong.

ekluzek added 22 commits April 16, 2024 08:26
Make sure CAM4/CAM5 options are including in the mapping in buildnml for LND_TUNING_MODE. Right now they are just warning about what the tuning is based on.
@ekluzek
Copy link
Collaborator Author

ekluzek commented Apr 19, 2024

Testing for the following test lists are all as expected:

  • python Derecho
  • build_namelist tester
  • aux_clm -- Derecho
  • aux_clm -- Izumi
  • ctsm_sci -- Derecho
  • mosart -- Derecho
  • rtm -- Derecho

On izumi I had a few tests that fail because of an issue I'm having with conda:

ERS_D_Ld30.f45_f45_mg37.I2000Clm50FatesCruRsGs.izumi_nag.clm-FatesColdLandUse
SMS_D_Ld5.f10_f10_mg37.I1850Clm50Bgc.izumi_nag.mosart-default

Note, also some NEON tests failed for me because of long filenames, because my testname is long.

Other's aren't having these problems though, so I'm moving this forward with those two small glitches.

@ekluzek ekluzek merged commit 7746e9f into ESCOMP:ctsm5.2.mksurfdata Apr 19, 2024
2 checks passed
@ekluzek ekluzek deleted the updatetodev176 branch April 19, 2024 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code health improving internal code structure to make easier to maintain (sustainability) documentation additions or edits to user-facing documentation enhancement new capability or improved behavior of existing capability
Development

Successfully merging this pull request may close these issues.

6 participants