-
Notifications
You must be signed in to change notification settings - Fork 216
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
Error check compset name #1873
Error check compset name #1873
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is much better than before - thanks.
However, the error message is still cryptic if you make an error in the compset long name (or something that looks like a compset long name). For example (using DTM instead of DATM):
[roo2:~/cime/scripts]$ ./create_newcase --case ~/cime_output_root/test_long_name_0906a --compset 2000_DTM_SLND_SICE_SOCN_SROF_SGLC_DWAV --res f09_g16
Did not find an alias or longname compset match for 2000_DTM_SLND_SICE_SOCN_SROF_SGLC_DWAV
Compset forcing is 1972-2004
ERROR: No variable CONFIG_ATM_FILE found in case
Can it say something like, "Cannot find atmosphere component DTM"?
I'm fine with either:
-
Incorporating that improvement into this PR
-
Merging this PR as is, and opening a separate issue for that.
Let me know which you prefer.
try again |
Looks good now, thanks! |
#1894) Feature list: * Greatly enhanced capability and configurability for receiving emails from batch system * New --clean-depends feature for case.build * Ability to save user-specific defaults for create_test * Ability to select a different driver via create_newcase or test option * Many small bug fixes and usability improvements Fixes #1873 [BFB] * jgfouca/branch-for-to-acme-11-10-2017-pr: (156 commits) partial fix for issue 2048 USER_REQUESTED_ vars should go in env_batch Use_existing needs to set FAIL states back to PEND encapsulate routine add create_test options to config for user tuned defaults Change ACME PIO roots to zero the right way If MAIL_TYPE has an underscore, then MAIL_USER should as well make config option consistant with cl Typo in if-elif construct allow create_test to have a different mail_type default Add test to make sure successful tests are not re-run by use-existing Add support for mail flags to create_test convert line to utf-8 Update ChangeLog Big fix. Address github feedback allow undated history files to be archived Change paths to case2 rundir and exeroot Allow mail settings to be configured by a users's cime_config Improve email handling ...
#1894) Feature list: * Greatly enhanced capability and configurability for receiving emails from batch system * New --clean-depends feature for case.build * Ability to save user-specific defaults for create_test * Ability to select a different driver via create_newcase or test option * Many small bug fixes and usability improvements Fixes #1873 [BFB] * jgfouca/branch-for-to-acme-11-10-2017-pr: (156 commits) partial fix for issue 2048 USER_REQUESTED_ vars should go in env_batch Use_existing needs to set FAIL states back to PEND encapsulate routine add create_test options to config for user tuned defaults Change ACME PIO roots to zero the right way If MAIL_TYPE has an underscore, then MAIL_USER should as well make config option consistant with cl Typo in if-elif construct allow create_test to have a different mail_type default Add test to make sure successful tests are not re-run by use-existing Add support for mail flags to create_test convert line to utf-8 Update ChangeLog Big fix. Address github feedback allow undated history files to be archived Change paths to case2 rundir and exeroot Allow mail settings to be configured by a users's cime_config Improve email handling ...
#1894) Feature list: * Greatly enhanced capability and configurability for receiving emails from batch system * New --clean-depends feature for case.build * Ability to save user-specific defaults for create_test * Ability to select a different driver via create_newcase or test option * Many small bug fixes and usability improvements Fixes #1873 [BFB] * jgfouca/branch-for-to-acme-11-10-2017-pr: (156 commits) partial fix for issue 2048 USER_REQUESTED_ vars should go in env_batch Use_existing needs to set FAIL states back to PEND encapsulate routine add create_test options to config for user tuned defaults Change ACME PIO roots to zero the right way If MAIL_TYPE has an underscore, then MAIL_USER should as well make config option consistant with cl Typo in if-elif construct allow create_test to have a different mail_type default Add test to make sure successful tests are not re-run by use-existing Add support for mail flags to create_test convert line to utf-8 Update ChangeLog Big fix. Address github feedback allow undated history files to be archived Change paths to case2 rundir and exeroot Allow mail settings to be configured by a users's cime_config Improve email handling ...
Improve error checking on compset name, if an alias isn't matched make sure that the compset name (now assumed to be a longname) lists 7 components.
Test suite: scripts_regression_tests.py hand tests of create_newcase
Test baseline:
Test namelist changes:
Test status: bit for bit
Fixes #1871
User interface changes?:
Update gh-pages html (Y/N)?:
Code review: