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

Warning about NIMEMB_SYM_ redefined in MOM_ice_shelf.F90 #226

Closed
adcroft opened this issue Sep 30, 2015 · 0 comments
Closed

Warning about NIMEMB_SYM_ redefined in MOM_ice_shelf.F90 #226

adcroft opened this issue Sep 30, 2015 · 0 comments

Comments

@adcroft
Copy link
Collaborator

adcroft commented Sep 30, 2015

We've had these warnings for a long time.

../../../../../MOM6-examples/src/MOM6/src/ice_shelf/MOM_ice_shelf.F90:142:0: warning: "NIMEMB_SYM_" redefined [enabled by default]
In file included from ../../../../../MOM6-examples/src/MOM6/config_src/dynamic/MOM_memory.h:49:0,
from ../../../../../MOM6-examples/src/MOM6/src/ice_shelf/MOM_ice_shelf.F90:134:
../../../../../MOM6-examples/src/MOM6/src/framework/MOM_memory_macros.h:84:0: note: this is the location of the previous definition
../../../../../MOM6-examples/src/MOM6/src/ice_shelf/MOM_ice_shelf.F90:143:0: warning: "NJMEMB_SYM_" redefined [enabled by default]
In file included from ../../../../../MOM6-examples/src/MOM6/config_src/dynamic/MOM_memory.h:49:0,
from ../../../../../MOM6-examples/src/MOM6/src/ice_shelf/MOM_ice_shelf.F90:134:
../../../../../MOM6-examples/src/MOM6/src/framework/MOM_memory_macros.h:85:0: note: this is the location of the previous definition

A cursory look suggests that MOM_ice_shelf.F90 should use differently named macros since they apparently could be configured differently to those in MOM_memory.h. Since I don't have a working test case we need someone who does have a test case to cleanup the code.

gustavo-marques pushed a commit to gustavo-marques/MOM6 that referenced this issue Dec 5, 2022
Fix string order in the instructions for defining regional_section
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

No branches or pull requests

1 participant