CTSM icon indicating copy to clipboard operation
CTSM copied to clipboard

Update submodules to cesm3_0_beta04 versions

Open ekluzek opened this issue 1 year ago • 9 comments

Update externals to those in cesm3_0_alpha02a for: cime, ccs_config, cmeps, share, mizuRoute, and cdeps

Right now this is:

cime6.1.0 ccs_config_cesm1.0.0 share1.1.2 cmeps1.0.2 cdeps1.0.43 cesm-coupling.n02_v2.1.3 (mizuroute)

#2590 updates cism, rtm, and mosart in addition to these (and updates cmeps and ccs_config as well). Between the two that should give us submodules for cesm3_0_alpha02a (and cesm3_0_beta02, as the other planned updates are only for CAM and MOM).

This will go on the b4b-dev branch.

ekluzek avatar Jul 11 '24 18:07 ekluzek

Part of the reason to do this is because of the problems I saw in #2545. The other is to keep up to date with cesm3_0 submodules in CESM tags

ekluzek avatar Jul 11 '24 18:07 ekluzek

Also note that @fischer-ncar found that a new ccs_config is needed for the setup to build, so at least that submodule will change. We'll let him figure this out first.

ekluzek avatar Jul 11 '24 19:07 ekluzek

This relates to #2654 another difference in cesm3_0_alpha02a is the removal of MCT and adding in:

libraries/mpi-serial for MPIserial_2.5.0

ekluzek avatar Jul 17 '24 15:07 ekluzek

I looked into this a bit, but it will take some effort to get the PF unit-testers to work with the removal of esmf_wrf_timemgr in the share code. This will bringing in some of the work that was done in the share code in

https://github.com/ESCOMP/CESM_share/pull/48

esmf_wrf_timemgr will need to be removed from the CMakeLists.txt files for the ones that use it as well as the build for it at the top level. And the FindESMF cmake will need to be pointed to in the share directory, which might also mean that PIO will need to be made as well as it is in share code. We haven't had I/O in our unit tests at all to this point. But, this could be useful for example in @adrifoster functional unit testing that makes plots and needs I/O. For robustness it's good to have unit-tests that don't do I/O, but there are reasons it can be useful (for example it would be good to have unit-testing for the history modules).

Anyway, the main point here is that it will take some work to get this going. We'll probably need some help from Jim on this...

@wwieder @briandobbins

ekluzek avatar Jul 24 '24 13:07 ekluzek

  • [ ] Reminder: This PR's update of ccs_config will allow us to also update this test from <test name="SMS_Ln9" grid="C96_t061" compset="I2000Clm60Sp" testmods="clm/clm60cam7LndTuningMode--clm/nofireemis"> to <test name="SMS_Ln9" grid="C96_t232" compset="I2000Clm60Sp" testmods="clm/clm60cam7LndTuningMode--clm/nofireemis"> ...as discussed in #2799

slevis-lmwg avatar Oct 01 '24 17:10 slevis-lmwg

As part of this we should update cmeps for this issue if a fix comes in:

https://github.com/ESCOMP/CMEPS/issues/509

ekluzek avatar Oct 02 '24 16:10 ekluzek

This will need to happen as part of cesm3_0_beta04 when the rpointer update comes in because we need to update to later versions of: cmeps and cime.

ekluzek avatar Oct 07 '24 16:10 ekluzek

let's update the title and details here, presumably we want to update to the latest cesm_alpha tag?

wwieder avatar Oct 17 '24 15:10 wwieder

Pinging @billsacks

ekluzek avatar Oct 17 '24 17:10 ekluzek

Working on this again. Jim pointed me to versions of cime (6.1.37) and ccs_config (1.0.4) that work together and that helped me to get going on this.

There is still work to be done to get the full ESMF working for the unit testing, but that has gotten me started on the right path.

ekluzek avatar Oct 25 '24 17:10 ekluzek

OK, it looks like external requirements to get the PFUNIT tests to work are at odds with getting standard cases to work. To get standard cases to work I need to update share beyond share1.0.19, but the unit testing requires ESMF once I go to share1.0.20. So in order to get both working I need to get the PFUNIT tests to work with the full ESMF library. This is something we need to do anyway, but I was hopeful I could get something that would work in the meantime while I work on that.

ekluzek avatar Oct 29 '24 16:10 ekluzek

This was ctsm5.3.014

ekluzek avatar Dec 04 '24 18:12 ekluzek