-
Notifications
You must be signed in to change notification settings - Fork 159
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
NUOPC Cap Improvements #1645
NUOPC Cap Improvements #1645
Conversation
* add README file and guides * update documentation using Doxygen * add gnu/intel debug options for BUILD_TYPE=DEBUG * update missing field value to 9.99e20 * add initialization options for import and export states * add missing value check (disable with MISSINGVAL_SKPCPY or MISSINGVAL_IGNORE) * call lisfinalize during cap finalize * move configuration options to LIS_NUOPC_Flags.F90
@jvgeiger @dmocko @emkemp |
@sujayvkumar |
Hello Dan. I have one fix to address compiling with GNU compilers. In LIS_NUOPC_Cap.F90, change all
to
The GNU compilers want all string literals in an array constructor to have the same length. I am unable to push this fix. |
@jvgeiger
This was a reminder that I want to clean up the cap build eventually too. |
Thanks. It compiles without errors. |
By the way, if you modify your runmodes/nuopc_cpl_mode/Makefile to say
LIS will compile faster. I am not suggesting this for this pull request. Just for your information. |
@jvgeiger |
Hello. LIS' Maybe you can simplify your Makefile by using LIS' To natively add NUOPC Cap support into LIS' Makefile, we will need a new target, of course, but that is no problem. Now, usually, to add new source files into LIS' Makefile, you add an entry into the default.cfg file. But, then the NUOPC Cap source files will be compiled with the same compiler flags as the rest of the LIS source files. I see in your Makefile that you use different compiler flags. If this is required, then you must add explicit rules for those files instead of adding an entry into the default.cfg file. Note: For NUOPC Cap, its entry in the default.cfg file should default to "enabled: False". I will accept this pull request. Changing the build scripts should go into a new pull request. |
Description
This pull requests maintains the cap by cleaning up the code for better maintainability and enhancements. Enhancements were made to the documentation, the import and export state initialization, and the import state checking
Resolves #1644
Testcase
Uses NASA Land Coupler for testing
https://github.com/esmf-org/NASA-Land-Coupler/tree/feature/lisf_upgrade
bit-for-bit results for coupled tuolumne cases