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

Enhance input arguments setup #1

Open
victorapm opened this issue Sep 14, 2023 · 0 comments
Open

Enhance input arguments setup #1

victorapm opened this issue Sep 14, 2023 · 0 comments

Comments

@victorapm
Copy link
Collaborator

victorapm commented Sep 14, 2023

Allow users to oversubscribe input arguments passed from the YAML file via command line.

Example:

Suppose we have a YAML input like:

solver: gmres
  max_iter: 50
  print_level: 1
  tol: 1.0e-9

The idea is to allow users to oversubscribe, let's say the max_iter parameter, via command line such as:

$ ./hypre_app input.yml --solver:gmres:max_iter 100

Note the YAML (key, val) pairs are effectively being concatenated with the : character.

Also, we would like this to work:

  $ ./hypre_app input.yml --linear_system:execution_policy host
  $ ./hypre_app input.yml --linear_system:execution_policy device
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

No branches or pull requests

1 participant