Skip to content

fix lam post uninitialied fields#272

Merged
junwang-noaa merged 8 commits into
NOAA-EMC:developfrom
junwang-noaa:lampost_fix
Apr 20, 2021
Merged

fix lam post uninitialied fields#272
junwang-noaa merged 8 commits into
NOAA-EMC:developfrom
junwang-noaa:lampost_fix

Conversation

@junwang-noaa
Copy link
Copy Markdown
Collaborator

@junwang-noaa junwang-noaa commented Apr 7, 2021

Description

This is to fix the uninitialized fields in lam post products, and the assignment of integer fields. The uninitialized fields cause run-ro-run reproducibility issue in LAM post test.

Issue(s) addressed

Link the issues to be closed with this PR, whether in this repository, or in another repository.
(Remember, issues should always be created before starting work on a PR branch!)

Testing

How were these changes tested?
The code has been tested on hera and orion. The run-to-run reproducibility issue is fixed. A final solution will be initializing all the allocated fields and removing those fields in LAM post control file, which will be delivered from post group.

Dependencies

Do PRs in upstream repositories need to be merged first?
If so add the "waiting for other repos" label and list the upstream PRs

  • ufs-weather-model PR

Copy link
Copy Markdown
Contributor

@WenMeng-NOAA WenMeng-NOAA left a comment

Choose a reason for hiding this comment

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

These temp fix for initializing fields like t10m looks good to me.

Comment thread io/post_regional.F90 Outdated
Comment thread io/post_regional.F90
@junwang-noaa
Copy link
Copy Markdown
Collaborator Author

Wen is going to have upp 10.0.6 release to fix the issues in this PR. Once upp 10.0.6 is installed on all the platforms, it will be used in this PR.

Comment thread io/post_regional.F90
@junwang-noaa
Copy link
Copy Markdown
Collaborator Author

junwang-noaa commented Apr 16, 2021 via email

@WenMeng-NOAA
Copy link
Copy Markdown
Contributor

@junwang-noaa Got it. I will add the fix in my upcoming UPP PR which would be applied in the next upp upgrade (10.0.7 or above).

@junwang-noaa junwang-noaa merged commit 71adf2a into NOAA-EMC:develop Apr 20, 2021
@junwang-noaa junwang-noaa deleted the lampost_fix branch June 2, 2021 16:05
bbakernoaa pushed a commit to bbakernoaa/fv3atm that referenced this pull request Oct 20, 2025
…rent (NOAA-EMC#272)

* Modifications to replace numerous p2p transfers in fill_nested_grid_cpl by a single MPI_Bcast

* Add reason for including ESMF in fv_control_init

* Add code to cleanup structures associated with Bcast_comm

* Use mpp_broadcast instead of MPI_Bcast at the request of NOAA-GFDL

* Get rid of mpp pelist scoping calls in fill_nested_grid_cpl().  This depends on NOAA-GFDL/FMS#1246 to be functional.  More efficient 'if' test in fill_nested_grid_cpl()

* Bcast_comm and sending_proc variables not needed anymore

* New member of the fv_atmos_type type called BcastMember allows more efficient determination of ranks involved in the mpp_broadcast call in fill_nested_grid_cpl routine

* Port to FMS-2023.02
---------

Co-authored-by: Dan Kokron <Daniel.Kokron@noaa.gov>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants