Replies: 3 comments 3 replies
-
|
Note that one of the things that contributes to this issue is that in the FATES testmods, we often clear the history tapes to remove the HLM history and add specific FATES history output. |
Beta Was this translation helpful? Give feedback.
-
|
I think this just mainly means editing the files in for example here for CESM: CIME/data/config/cesm/config_files.xml With something similar for E3SM, but it's in the E3SM cime_config side. I assume the format is similar, but may be different and obviously would have different rules on what components beneath the top level could do. The sticky thing might be on how to define FATES as a component. Since, component currently refers to the top level component -- so it might require something like having both "clm" and "clmfates" as components in cime? However, it seems like in terms of finding testmod files -- just having a "fates" prefix in the testmod name (as in fates-fates_specific_testmod in a test definition instead of clm-clm_specific_testmod) would be sufficient. In that same file there are other things that FATES could take advantage of in terms of a testlist, or SystemTests that would be just for FATES. I don't see any downsides of doing this for CESM. It just means that the FATES checkout will manage these things. So as long as FATES doesn't break anything for CESM or CTSM testing -- it should be fine. CTSM is what's responsible for bringing in a new FATES tag -- so that just means it on us in CTSM to make sure we don't break anything for CESM. And effectively this wouldn't be any different than what we do now. Also in my reading of "find_test_mods" it looks like it allows any name for a "component" so putting "fates" here should be fine. So @glemieux I think you should try doing this for fates testmods and just see if it works or not. But, @jedwards4b @billsacks @fischer-ncar or others what do you think about this idea? Is it ok to add a fates specific testmod directory that's listed in config_files.xml for cesm? |
Beta Was this translation helpful? Give feedback.
-
|
Before thinking about the feature addition that @ekluzek suggests, I wonder if you can achieve what you want through the include_user_mods mechanism?: Could you keep a testmod directory with the given name under CTSM (e.g., How far would that get you towards what you want? How much of a pain do you feel it would be to have directories defined at these two levels? And is the possible advantage I mentioned above actually an advantage, or not really useful in practice? I haven't thought enough about @ekluzek 's suggestion to weigh in on it yet, but just wanted to explore this possible alternative that I think you could do without any code changes. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In our on going efforts to reduce the need to coordinate interface updates between FATES and ELM/CLM, one of the issues that we often have to deal with is coordinating an update to the fates testmods when we make changes to the FATES history variables. Ideally we wouldn't have to update the testmods under the host land model whenever we make a change that is isolated to FATES. Would it be possible to allow components the ability to define and own testmods in the external component repos?
Beta Was this translation helpful? Give feedback.
All reactions