-
Notifications
You must be signed in to change notification settings - Fork 45
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
code cleanup #207
code cleanup #207
Conversation
@mvertens @uturuncoglu I have added the -Werror flag to the github tests for directories excluding fox. |
I should say that I did add one exception: -Wno-unused-dummy-argument because the callbacks from esmf sometimes include import and export State variables that are not used. |
@uturuncoglu can you review this please? |
@jedwards4b - thanks so much for doing this. Can we arrange a time to chat to go over your changes in more detail. I have several questions that would be resolved much more quickly in a chat. |
@mvertens sure. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jedwards4b I'll test this under UFS. I also need to test the standalone build to be sure that it is not breaking anything in datm+land GitHub Action in NoahMP side. That could take little bit time but I'll try to finish them today.
@jedwards4b i tested under UFS by running couple of datm RTs incl. restart and all are passed. So, there is no issue under UFS. I'll try to test standalone build too and let you know. |
@jedwards4b I am not sure why but I am getting error under Docker container that uses Ubuntu and following fortran version
the error is
maybe this is not related with this PR but I am not getting this error from my fork https://github.com/uturuncoglu/CDEPS/tree/hotfix/std_build |
Is -DCPRGNU defined in your test build? |
@jedwards4b No. how can I define it? If I give it like |
I think if you set CPPDEFS="-DCPRGNU" in the environment before invoking cmake |
Or as in the github workflow here. |
@jedwards4b Okay. The GitHub way worked. Thanks. I could able to compile it now. Probably I'll open another PR later to fix the FoX library issue because the standalone build is forcing FoX and if you would like to use ESMF Config format for stream namelist it is not possible. I have a fix in my fork that enables it by bringing -DDISABLE_FoX=ON option. |
Description of changes
Remove all gfortran warnings except unused-dummy-argument with the exception of the external fox code.
Specific notes
Contributors other than yourself, if any:
CDEPS Issues Fixed #204
Are there dependencies on other component PRs (if so list):
Are changes expected to change answers (bfb, different to roundoff, more substantial): bfb
Any User Interface Changes (namelist or namelist defaults changes): no
Testing performed (e.g. aux_cdeps, CESM prealpha, etc): cesm prealphas on cheyenne with intel and gnu and updated github testing.
Hashes used for testing: cesm2.3.beta11 + cmeps 2ded3b5
cdeps 7bd2b80