Skip to content
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

Updates config_batch.xml to facilitate queue specific flags #4307

Merged
merged 10 commits into from
Sep 16, 2022

Conversation

jasonb5
Copy link
Collaborator

@jasonb5 jasonb5 commented Sep 16, 2022

Updates config_batch.xml to facilitate queue specific flags e.g.
<argument job_queue="long">-w docker</argument> would only
apply when the queue name is long. The behavior of argument
is now inline with the rest of the XML system, i.e. the argument is
now stored in the XML nodes text not in attributes of the node.

Test suite: scripts_regression_tests.py
Test baseline: n/a
Test namelist changes: n/a
Test status: n/a

Fixes #4120
User interface changes?: n/a
Update gh-pages html (Y/N)?: N

@jasonb5
Copy link
Collaborator Author

jasonb5 commented Sep 16, 2022

@jedwards4b @jgfouca I've written this fix to be backwards compatible, the normal arg node still works but I've added an argument node that has the new behavior and added queue selector feature. The intention was to not cause disruptions while system maintainers update the config_batch.xml, using the old arg node just prints a warning about being deprecated.

Are we fine with this behavior or should I remove the argument node and just update arg and we'll deal with it being a breaking change?

@jedwards4b jedwards4b merged commit 058cc8b into ESMCI:master Sep 16, 2022
@jasonb5 jasonb5 deleted the fix_batch_arg branch September 16, 2022 17:53
jedwards4b added a commit that referenced this pull request Oct 17, 2022
if the submit option cannot be resolved do not add the flag


Fixes an issue introduced in PR #4307
when $PROJECT isn't defined the project flag should not be used.

Test suite: scripts regression tests
Test baseline:
Test namelist changes:
Test status: bit for bit

Fixes

User interface changes?:

Update gh-pages html (Y/N)?:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Easier split of case jobs into different queues
2 participants