Skip to content

Conversation

@briandobbins
Copy link
Contributor

@briandobbins briandobbins commented May 9, 2024

Adds a broadcast of the namelist value for a few mapalgo items after reading it in so it is consistent across all ranks when not using the default value. Also update the mapalgo options list to be consistent with the NUOPC options, the MCT list was in place before this.

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)
Also fixes #3345 (Done)
Also fixes #1912 (Done)

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.

… 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?

@samsrabin
Copy link
Member

samsrabin commented Sep 26, 2024

@briandobbins Would you mind rebasing this onto ctsm5.3.0 and force-pushing? Not a big deal, but makes it clearer exactly what files are being changed.

I tested git rebase ctsm5.3.0 fix_urbantvmapalgo_broadcast and it worked with no conflicts.

@samsrabin samsrabin added the bug something is working incorrectly label Sep 26, 2024
@samsrabin samsrabin assigned samsrabin and unassigned briandobbins Sep 30, 2024
@samsrabin samsrabin added good first issue simple; good for first-time contributors and removed simple labels Oct 3, 2024
@samsrabin
Copy link
Member

@briandobbins Rebase no longer needed; I'll start testing now.

@ekluzek ekluzek added this to the cesm3_0_beta07 milestone Feb 26, 2025
@ekluzek ekluzek moved this from In Progress to Todo in LMWG: Sprint Planning Board Mar 31, 2025
@ekluzek ekluzek changed the title Adds a broadcast of the namelist value 'urbantvmapalgo', also fixed stream options so it uses NUOPC options rather than MCT Adds a broadcast of the namelist value 'urbantvmapalgo' Apr 24, 2025
@ekluzek ekluzek moved this to In progress - b4b-dev in CTSM: Upcoming tags Jul 2, 2025
@ekluzek
Copy link
Collaborator

ekluzek commented Jul 16, 2025

I created a branch of this that I'll bring in as a separate PR, on top of this one. But, I'll update, do some testing, and merge this in now, so I can use it for the decomp_init work.

@ekluzek ekluzek moved this from Todo to Done in LMWG: Sprint Planning Board Jul 22, 2025
@ekluzek ekluzek merged commit f39be8c into ESCOMP:b4b-dev Jul 24, 2025
4 checks passed
@github-project-automation github-project-automation bot moved this from In progress - b4b-dev to Done (non release/external) in CTSM: Upcoming tags Jul 24, 2025
@ekluzek ekluzek deleted the fix_urbantvmapalgo_broadcast branch July 24, 2025 00:42
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 usability Improve or clarify user-facing options

Projects

Status: Done (non release/external)
Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants