-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1667 from billsacks/user_compset_fixes
User compset fixes Main change is to have user-defined compsets still pick up a usermods directory under [primary_component]/cime_config/usermods_dirs/. Along with this, I have refactored where some other things are set that depend on primary component. A key aim here was to have various things set in the same place regardless of whether we're using a compset with or without an alias. I find this makes it easier to understand the code, and less likely to introduce discrepancies between user-defined and alias-defined compsets in the future. Test suite: scripts_regression_tests on yellowstone Also, manual testing: Compset with an alias: picks up PE settings and a usermods directory User compset picks up PE settings User compset picks up usermods directory, as in: ./create_newcase --case no_alias_0608d --compset 1850_DATM%GSWP3v1_CLM50%BGC-CROP_SICE_SOCN_RTM_CISM2%NOEVOLVE_SWAV --res f09_g16 --user-compset --user-mods-dir clm/clm5_OutputCrop Test baseline: N/A Test namelist changes: none Test status: bit for bit Fixes #1658 Fixes #1664 Fixes #1665 User interface changes?: none Code review:jedwards
- Loading branch information
Showing
2 changed files
with
63 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters