Skip to content

Updates for JEDI linking/control#85

Merged
junwang-noaa merged 2 commits into
NOAA-EMC:developfrom
mark-a-potts:jedi-ufs
Dec 11, 2020
Merged

Updates for JEDI linking/control#85
junwang-noaa merged 2 commits into
NOAA-EMC:developfrom
mark-a-potts:jedi-ufs

Conversation

@mark-a-potts
Copy link
Copy Markdown
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/ufsatm/pull/201.

Comment thread src/module_EARTH_GRID_COMP.F90 Outdated
rc=RC)
ESMF_ERR_RETURN(RC,RC_REG)

#ifdef NEMS_DRIVER
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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