Skip to content

Conversation

ekluzek
Copy link
Collaborator

@ekluzek ekluzek commented Jul 2, 2025

Description of changes

Have a self_tests mode that essentially only does initialization. Change the self_tests testmod to run in this mode.

Specific notes

Contributors other than yourself, if any: @billsacks

CTSM Issues Fixed (include github issue #):
This enables work in #2995
Some work here #3295

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

Any User Interface Changes (namelist or namelist defaults changes)? Yes
Some new namelist items for testing

Does this create a need to change or add documentation? Did you do so?

Testing performed, if any: So far just running specific test cases

Definition of done:

  • Merge [WIP] For testing add a framework to bypass parts of the code #3425 into here, and reconcile it
  • Figure out what needs to be added to the bypass logical functions to make them more robust
  • Figure out how to combine these bypass functions with the bypass already put in place for PTS_MODE without a land point
  • Add functions/handling needed for the PTS_MODE configuration
  • Make sure up to date with the b4b-dev branch
  • Run aux_clm and decomp_init test lists, bring into b4b-dev as normal

ekluzek added 5 commits June 26, 2025 13:47
…elf tests to exit after running in initialization
…_exit_after_self_tests, change the self tests testmod so that its about initialization, this works with a compset with SATM, but hangs -- because nothing stops the run
@ekluzek ekluzek self-assigned this Jul 2, 2025
@ekluzek ekluzek added priority: high High priority to fix/merge soon, e.g., because it is a problem in important configurations testing additions or changes to tests bfb bit-for-bit devops Development Operations to improve development throughput, E.g., adding GitHub Workflows labels Jul 2, 2025
@ekluzek ekluzek moved this to In progress - master in CTSM: Upcoming tags Jul 2, 2025
@ekluzek ekluzek moved this from In progress - master to In progress - b4b-dev in CTSM: Upcoming tags Jul 2, 2025
 Conflicts:
	cime_config/testdefs/testmods_dirs/clm/run_self_tests/shell_commands
@ekluzek
Copy link
Collaborator Author

ekluzek commented Jul 29, 2025

In sprint 20 I spent a few days on this work.

This is stalled right now, because I had trouble getting the setup with SATM working. To do that, CTSM HAS to have a run section as it becomes the clock to start and stop the simulation.

@ekluzek ekluzek linked an issue Jul 29, 2025 that may be closed by this pull request
@ekluzek ekluzek moved this from Stalled to In Progress in LMWG: Sprint Planning Board Aug 19, 2025
@ekluzek ekluzek changed the title Work with self_tests so that there's an initialization only option [WIP] Work with self_tests so that there's an initialization only option Aug 22, 2025
@ekluzek ekluzek marked this pull request as draft August 22, 2025 00:36
@ekluzek ekluzek moved this from In Progress to Todo in LMWG: Sprint Planning Board Sep 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bfb bit-for-bit devops Development Operations to improve development throughput, E.g., adding GitHub Workflows priority: high High priority to fix/merge soon, e.g., because it is a problem in important configurations testing additions or changes to tests
Projects
Status: In progress - b4b-dev
Status: Todo
Development

Successfully merging this pull request may close these issues.

Add self_tests for the decomposition
1 participant