Fix externals reference for GSI in Externals.cfg#167
Conversation
The ncdiag was removed from GSI and replaced by a submodule. This requires the GSI to be checked out with the ncdiag submodule, which requires addition of a separate Externals_gsi.cfg file to specify which GSI submodules are needed.
|
@christopherwharrop-noaa This is a fix we needed for compiling GSI. Do we know why FV3LAM module can checkout all submodules but GSI cannot without adding this new Externals_gsi.cfg? Let me try to delete "externals = None" and try to checkout GSI. |
|
@hu5970 - The |
|
@christopherwharrop-noaa I actually has removed the fix as submodule in NOAA-GSL/GSI rrfs_dev branch because we don't need this fix directory. Adding "Externals_gsi.cfg" to control is a better way to go. |
DESCRIPTION OF CHANGES:
The ncdiag was removed from GSI and replaced by a submodule. This requires the GSI to be checked out with the ncdiag submodule, which requires addition of a separate Externals_gsi.cfg file to specify which GSI submodules are needed. Unfortunately, there is no other reasonable way to accomplish this without adding the
Externals_gsi.cfgfile because the manage externals utility does not allow for specification of specific submodules at the top level. Additionally, GSI will not build without ncdiag. So, even though there exists an option to turn off the building of ncdiag, that doesn't help because GSI will not build unless ncdiag is also built. This is the cleanest solution available.TESTS CONDUCTED:
This change only affects the build, so only a build test was done. The App was cloned, externals were checked out, and the code was built, on Jet. The
./manage_externals/checkout_externalsnow works correctly and checks out the ncdiag submodule of GSI.DEPENDENCIES:
N/A
DOCUMENTATION:
None needed.