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

Revise cmd line parsing #413

Closed
rhc54 opened this issue Feb 25, 2020 · 0 comments · Fixed by #467
Closed

Revise cmd line parsing #413

rhc54 opened this issue Feb 25, 2020 · 0 comments · Fixed by #467

Comments

@rhc54
Copy link
Contributor

rhc54 commented Feb 25, 2020

Enforce following precedence order:

  1. system-level default parameter file
  2. user-level default parameter file
  3. Anything found in the environment
  4. "--tune" files. Note that "--amca" goes away and becomes equivalent to "--tune". Okay if it is provided more than once on a cmd line (we will aggregate the list of files, retaining order), but an error if a parameter is referenced in more than one file with a different value
  5. "--mca" options. Again, error if the same option appears more than once with a different value. Allowed to override a parameter referenced in a "tune" file
  6. "-x" options. Allowed to overwrite options given in a "tune" file, but cannot conflict with an explicit "--mca" option
  7. all other options
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 a pull request may close this issue.

1 participant