-
Notifications
You must be signed in to change notification settings - Fork 10
Description
This is mainly a question for @rtodling (but maybe @tclune has some thoughts).
In this repo we define an eta_echo.x target which builds, unsurprisingly, eta_echo.x. This is fine for GEOSgcm, GEOSadas, etc.
But in my testing of JEDI-GEOS with jedi_bundle, an issue occurs because GSIbec also defines an eta_echo.x target. (Actually it defines it ... twice?)
The issue here is that when you do the full jedi_bundle build, it sees the target twice and CMake does not allow that.
In my testing, what I've done for now is, in my GEOSgcm spack-stack 1.7 builds, I change the name of the target here to eta_echo.GEOS.x.
But, we need a more "permanent" solution such that we don't need to alter GEOSgcm in the future.
So, I suppose for @rtodling what would be your preferred fix? We could change the target here in GMAO_Shared or we could change the target in GSIbec. I just don't know which is considered the more "canonical" eta_echo.x. I suppose if this code is used in operations, we'd want to keep the one in GMAO_Shared (aka GEOSadas) the same name so that scripts don't need to change.
But, if the one in GSIbec is more important, then maybe changing here is a simpler road?