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

Adds a broadcast of the namelist value 'urbantvmapalgo' #2534

Open
wants to merge 65 commits into
base: b4b-dev
Choose a base branch
from

Conversation

briandobbins
Copy link
Contributor

@briandobbins briandobbins commented May 9, 2024

Adds a broadcast of the namelist value (urbantvmapalgo) after reading it in so it is consistent across all ranks when not using the default value ('nn').

Description of changes

Simple one-line change; a namelist value wasn't being shared with ranks other than the main one reading the namelist. This lead to hangs when trying a different algorithm.

Specific notes

Contributors other than yourself, if any:

CTSM Issues Fixed (include github issue #):
Fixes #2533 (Done)
Fix #1912 (TODO)

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

Any User Interface Changes (namelist or namelist defaults changes)?
No

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

Testing performed, if any:
Limited testing, but it's a one-line logical change. If more is needed, let me know. I just did a simple test with and without the change, looking at the values on all ranks.

olyson and others added 17 commits June 1, 2023 11:02
Fix unit tests for nstep starting at 1 instead of 0
Add sowing window input files

Previously, one could run crops with either (a) sowing windows defined by the hemisphere-specific start and end dates on the paramfile or (b) prescribed sowing dates specified by input file stream_fldFileName_sdate. This PR replaces the latter with two new input files, stream_fldFileName_swindow_start and stream_fldFileName_swindow_end.
…RITY

Fix RXCROPMATURITY test in zerothtstep branch
...and other mods that I'm preserving from closed PR ESCOMP#2019, such as
- changes to long_names and
- treating avgflag as a tape (not field) trait for 'I' and 'L' tapes
… it in so it is consistent across all ranks when not using the default value ('nn').
@briandobbins briandobbins requested review from billsacks and ekluzek May 9, 2024 01:50
@briandobbins briandobbins self-assigned this May 9, 2024
Copy link
Member

@billsacks billsacks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix @briandobbins !

@ekluzek
Copy link
Collaborator

ekluzek commented May 16, 2024

@briandobbins I'm rebasing this to come in on b4b-dev, so it can come in quicker.

@ekluzek ekluzek changed the base branch from master to b4b-dev May 16, 2024 15:06
@ekluzek ekluzek added enhancement new capability or improved behavior of existing capability tag: simple bfb labels May 16, 2024
@samsrabin samsrabin added simple bfb bit-for-bit and removed simple bfb labels Aug 8, 2024
@wwieder
Copy link
Contributor

wwieder commented Sep 25, 2024

Is this ready to merge?

@ekluzek ekluzek assigned ekluzek and unassigned samsrabin Dec 5, 2024
@ekluzek ekluzek added this to the cesm3_0_beta06 milestone Dec 5, 2024
slevis-lmwg and others added 24 commits January 9, 2025 16:43
Merge tmp-241219 branch to master

Includes three tmp-241219 tags:

tmp-241219.n01.ctsm5.3.016 Merge b4b-dev:
nfix_method options Houlton (default), Bytnerowicz (option)
tmp-241219.n02.ctsm5.3.016 FATES hydro test update
tmp-241219.n03.ctsm5.3.016 Bug fix for izumi nag tests to pass (b4b unless using Bytnerowicz)

Fixes ESCOMP#2924 Fix problem with izumi nag tests
Fixes ESCOMP#2878 Remove fates_allom_smode shell_command update in FatesColdHydro testmod
Fixes ESCOMP#2869 Update temperature cost function for symbiotic nfix in FUN

Changes answers as documented in the ChangeLog.

slevis resolved conflicts:
doc/ChangeLog
doc/ChangeSum
…_bounds

Change history time to be equal to the middle of the time bounds
ctsm5.3.019: Stop running 0th time step
Includes merge conflicts in src/cpl/lilac/lnd_comp_esmf.F90 due to PR ESCOMP#2912.
…rrently used at ultra-high res (largely to get around an issue we had with online regridding here, which can be another approach taken later)
@briandobbins
Copy link
Contributor Author

Well, I'm embarrassed to say I've only now gotten back to this (from last May!), but added one more change - enabling the 'redist' method for the 'urbantvmapalgo' variable in bld/namelist_files/namelist_definition_ctsm.xml.

Happy to hop on a quick call if anyone has questions or needs additional changes, but it looks like since the rebase wasn't needed, this is good to go? Apologies for the ridiculously long delay!

@ekluzek
Copy link
Collaborator

ekluzek commented Jan 22, 2025

Thanks for the update @briandobbins. The problem you saw with redist is a more general problem that's important to correct throughout the code (#1912). So I'll do that on top of what you've done here and bring it in. That fix is something we really need to have corrected by the release, since it means you can't use many of these options for a list of other fields either.

We are all busy. We have lots of PR's that we can't bring in for many months as well...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bfb bit-for-bit bug something is working incorrectly enhancement new capability or improved behavior of existing capability good first issue simple; good for first-time contributors PR status: needs testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants