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

Allow multiple solver configs with a single input file #25

Open
victorapm opened this issue Oct 15, 2023 · 0 comments
Open

Allow multiple solver configs with a single input file #25

victorapm opened this issue Oct 15, 2023 · 0 comments

Comments

@victorapm
Copy link
Collaborator

We would like to allow something like this:

general:
  warmup: no
  num_repetitions: 1

linear_system:
  type: ij
  rhs_filename: IJ.out.b
  matrix_filename: IJ.out.A

solver:
  pcg:
    relative_tol: 1.0e-9
    max_iter: 500
    print_level: 3

preconditioner:
  amg:
    -
      print_level: 1
      coarsening:
        type: HMIS
        strong_th: 0.25
      interpolation:
        prolongation_type: MM-ext+i
      relaxation:
        down_type: 16
        down_sweeps: 1
        up_type: 16
        up_sweeps: 1

    -
      print_level: 1
      coarsening:
        type: PMIS
        strong_th: 0.5
      interpolation:
        prolongation_type: standard
      relaxation:
        down_type: 8
        down_sweeps: 2
        up_type: 8
        up_sweeps: 2

  # Add more configurations as needed

Also, something like this:

general:
  warmup: no
  num_repetitions: 1

linear_system:
  type: ij
  rhs_filename: IJ.out.b
  matrix_filename: IJ.out.A

solver:
  pcg:
    relative_tol: 1.0e-9
    max_iter: 500
    print_level: 3

preconditioner:
  amg:
    - config_1.yml
    - config_2.yml

And same for solver...

hypre_app would then run all possible combinations.

This can be the early stage of an autotuner.

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