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

Add option to compile MOM6 using dynamic_symmetric #64

Merged
merged 2 commits into from
May 29, 2020

Conversation

alperaltuntas
Copy link
Member

Adds a new xml variable MOM6_MEMORY_MODE that controls the MOM6 memory model, which is dynamic by default. The user can change it to dynamic_symmetric as follows:

./xmlchange MOM6_MEMORY_MODE=dynamic_symmetric

The variable description is as follows: MOM6_MEMORY_MODE: This variable controls MOM6 memory mode. In non-symmetric mode (default), all arrays are given the same shape. In symmetric mode, declarations are dependent on the variables staggered location on the Arakawa C grid. This allows loops to be symmetric and stencils to be applied more uniformly.

Fixes: #63

@gustavo-marques gustavo-marques merged commit 90bff5d into master May 29, 2020
@alperaltuntas alperaltuntas deleted the add_symmetric_memo branch October 22, 2021 19:57
This pull request was closed.
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.

Add option to compile MOM6 using dynamic_symmetric or dynamic
2 participants