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

Bug fix for two-way nest updating #21

Merged
merged 1 commit into from
Apr 14, 2020

Conversation

lharris4
Copy link
Contributor

No description provided.

@@ -2573,14 +2447,18 @@ subroutine twoway_nest_update(npx, npy, npz, zvir, ncnst, sphum, &
neststruct%isu, neststruct%ieu, neststruct%jsu, neststruct%jeu, &
npx, npy, npz, 0, 0, &
neststruct%refinement, neststruct%nestupdate, upoff, 0, &
neststruct%parent_proc, neststruct%child_proc, parent_grid, grid_number-1)
parent_grid%neststruct%parent_proc, neststruct%child_proc, parent_grid, grid_number-1)

endif !conv_theta

call mpp_sync!self
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you want to perform an mpp_sync_self or is the full sync necessary here and down below the other update_coarse_grid?

@lharris4
Copy link
Contributor Author

lharris4 commented Apr 14, 2020 via email

@bensonr
Copy link
Contributor

bensonr commented Apr 14, 2020

@lharris4 mpp_sync requires all MPI-ranks to check in and wait for all to arrive before proceeding. mpp_sync_self only ensures that a give MPI-rank's outstanding sends and receives are completed before proceeding.

@lharris4
Copy link
Contributor Author

lharris4 commented Apr 14, 2020 via email

@bensonr
Copy link
Contributor

bensonr commented Apr 14, 2020

@lharris4 No worries - we'll publish it as is and explore the alternatives later.

@bensonr bensonr merged commit 9722519 into NOAA-GFDL:master Apr 14, 2020
XiaqiongZhou-NOAA referenced this pull request in XiaqiongZhou-NOAA/GFDL_atmos_cubed_sphere Apr 16, 2020
bensonr added a commit that referenced this pull request Apr 21, 2020
* Add LICENSE.md

* Renamed driver directories and removed the null version of the nh extensions for the public release

* Update license header for FV3

* Added a README.md file

* Replace GPL header with LGPL header

* fixed license header in every file and added it to those without it

* Master test (#17)

* commit of new version of dycore from Weather and Climate Dynamics Group at GFDL

* updated versions of GFDL-specific files from dev/gfdl

* updated README.md with current release information

* cleaned up a few lines in fv_dynamics

* new file RELEASE.md with release notes documenting differences between this and the last release

* updated RELEASE.md message

* hand merge of diagnostic updates

* remove trailing spaces from sources

* updates to merge some GFDL specific updates into this public release

* Master test (#18)

* commit of new version of dycore from Weather and Climate Dynamics Group at GFDL

* updated versions of GFDL-specific files from dev/gfdl

* updated README.md with current release information

* cleaned up a few lines in fv_dynamics

* new file RELEASE.md with release notes documenting differences between this and the last release

* updated RELEASE.md message

* hand merge of diagnostic updates

* remove trailing spaces from sources

* updates to merge some GFDL specific updates into this public release

* updated README.md

* updated GFDL_tools/fv_cmip_diag to be consistent with dev/gfdl branch

* Bug fix for two-way nest updating (#21)

* remove trailing whitespace and any tabs

* update the RELEASE.md with the FV3 technical memorandum

* semantic fix in RELEASE.md

* adds default values for nest_*offsets in fv_control

breaks up a too long line in fv_nesting.F90

* change default value of nestupdate to 7

Co-authored-by: Seth Underwood <[email protected]>
Co-authored-by: lharris4 <[email protected]>
climbfuji added a commit to climbfuji/GFDL_atmos_cubed_sphere that referenced this pull request Jun 7, 2020
* Add butterfly effect option.
* Move butterfly effect option from external_ic.F90 to fv_restart.F90
* model/fv_arrays.F90: provide clarification of butterfly effect in comment

Co-authored-by: Dusan Jovic <[email protected]>
christinaholtNOAA pushed a commit to NOAA-GSL/GFDL_atmos_cubed_sphere that referenced this pull request May 25, 2021
* Add butterfly effect option.
* Move butterfly effect option from external_ic.F90 to fv_restart.F90
* model/fv_arrays.F90: provide clarification of butterfly effect in comment

Co-authored-by: Dusan Jovic <[email protected]>
climbfuji pushed a commit to climbfuji/GFDL_atmos_cubed_sphere that referenced this pull request Apr 24, 2024
climbfuji pushed a commit to climbfuji/GFDL_atmos_cubed_sphere that referenced this pull request Apr 24, 2024
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.

2 participants