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

Updates for JEDI linking/control #85

Merged
merged 2 commits into from
Dec 11, 2020

Conversation

mark-a-potts
Copy link
Contributor

This is part of the changes required to enable JEDI to link to and control the UFS for data assimilation. This change adds a compiler directive around a section of code in module_EARTH_GRID_COMP that assumes the NEMS earth component is the top level driver for the model. With the directive enabled, the clock can then be controlled from a higher level (JEDI) driver.

Is part of NOAA-EMC/fv3atm/pull/201.

@@ -248,14 +248,15 @@ SUBROUTINE EARTH_REGISTER(EARTH_GRID_COMP,RC_REG)
rc=RC)
ESMF_ERR_RETURN(RC,RC_REG)

#ifdef NEMS_DRIVER
Copy link
Collaborator

Choose a reason for hiding this comment

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

Mark, to avoid the code changes in ufs-weather-model side, can you change to:

ifndef JEDI_DRIVER

I assume JEDI would be the driver if the model runs within JEDI, by default, NEMS will be the driver.

@climbfuji
Copy link
Contributor

Please convert this PR to "ready for review".

@mark-a-potts mark-a-potts marked this pull request as ready for review December 11, 2020 21:04
Copy link
Contributor

@aerorahul aerorahul left a comment

Choose a reason for hiding this comment

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

LGTM.

@junwang-noaa junwang-noaa merged commit b800b34 into NOAA-EMC:develop Dec 11, 2020
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.

4 participants