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

Simplify enkf_clm_5.F90 #229

Merged
merged 8 commits into from
Jun 26, 2024
Merged

Conversation

jjokella
Copy link
Contributor

@jjokella jjokella commented Jun 19, 2024

The function clm_advance contains a large portion of duplicate code from the CIME's cime_run function. The goal of this PR is to remove this duplicate code and instead add a call to cime_run.

In order to add this change, the following has been done

  • tsmp/clm5_0: updated to align with CIME tag cime5.6.47
  • tsmp/clm5_0: changes in CIME-patch files are added in order to make cime_run callable with the number of time steps specified in the TSMP-PDAF interface
  • enkf_clm_5.F90: duplicate code is removed and cime_run called instead

Lukas Strebel and others added 4 commits November 2, 2023 15:53
… commented code, b) use a modified cime_comp_mod:cime_run() instead of copying large parts of code, c) modified cime_comp_mod:cime_run() to take the TSMP timestep as an additonal argument to stop the main loop and added the private statement back, and d) remove some leftover debug output.
@jjokella jjokella merged commit b926f53 into HPSCTerrSys:master Jun 26, 2024
1 check failed
@jjokella jjokella deleted the simplify_enkf_clm_5 branch June 26, 2024 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant