-
Notifications
You must be signed in to change notification settings - Fork 3
/
hypre_app.yaml
42 lines (39 loc) · 1.38 KB
/
hypre_app.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# -*- mode: yaml -*-
#
# Sample input file for HYPRE mini-app
#
linear_system:
type: matrix_market # File type: [matrix_market, hypre_ij]
matrix_file: mat.mm # Matrix file, leave processor suffixes for hypre_ij
rhs_file: rhs.mm # RHS file
sln_file: sln.mm # Reference solution for comparison
write_outputs: false # Write out Matrix, RHS, Solution files from the run
num_partitions: 2 # Number of partitions of IJ files (if MPI rank != num files)
solver_settings:
method: gmres # Solver: [gmres, boomeramg]
preconditioner: boomeramg # [boomeramg, none]
tolerance: 1.0e-6 # tolerance for convergence check
max_iterations: 100 # max iterations of the linear solver
kspace: 10 # Krylov vector space
print_level: 4 # Verbosity of HYPRE messages
reuse_preconditioner: false #
#
# Settings for BoomerAMG preconditioner
#
# See https://computation.llnl.gov/sites/default/files/public/hypre-2.11.2_ref_manual.pdf
#
# To use HYPRE_BoomerAMGSetCycleType, provide cycle_type parameter, to invoke
# HYPRE_BoomerAMGSetRelaxOrder use relax_order, and so on.
#
boomeramg_settings:
print_level: 1
max_iterations: 1
tolerance: 0.0
coarsen_type: 6
cycle_type: 1
relax_type: 6
relax_order: 1
num_sweeps: 2
max_levels: 20
interp_type: 0
strong_threshold: 0.57