Skip to content

How does the "complete" option in mpp_update_domains work? #877

Answered by bensonr
TingLei-NOAA asked this question in Q&A
Discussion options

You must be logged in to vote

The 'complete' argument for the many mpp_* functions within the FMS communication infrastructure layer is used a signal to determine when the actual communication occurs. When complete=.false., the function in question is merely buffering the data and waiting until the complete flag is set to .true. to perform the actual communication.

For example, if one needs to share or communicate a number of variables with neighbors, say pressure, temperature, and six condensate tracers, the traditional method would result in eight separate MPI messages - one for each variable. As an FMS communication optimization, setting complete=.false. for the first seven merely results in the variable and data b…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by TingLei-NOAA
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants