From b1949cc6cda516f21f4a1ac1dfb746d792f566a1 Mon Sep 17 00:00:00 2001 From: "Marc T. Henry de Frahan" Date: Tue, 21 Jan 2025 14:59:49 -0700 Subject: [PATCH] Fix GPU actuator line regtest with updated hypre settings (#1344) --- .../nrel5MWactuatorLine.yaml | 63 +++++++++++++++++-- 1 file changed, 57 insertions(+), 6 deletions(-) diff --git a/reg_tests/test_files/nrel5MWactuatorLine/nrel5MWactuatorLine.yaml b/reg_tests/test_files/nrel5MWactuatorLine/nrel5MWactuatorLine.yaml index 77fac5d1d..73abe036c 100644 --- a/reg_tests/test_files/nrel5MWactuatorLine/nrel5MWactuatorLine.yaml +++ b/reg_tests/test_files/nrel5MWactuatorLine/nrel5MWactuatorLine.yaml @@ -3,25 +3,76 @@ Simulations: time_integrator: ti_1 optimizer: opt1 +# Hypre memory and other configurations +hypre_config: + memory_pool_mbs: 1500 + use_vendor_spgemm: no + use_vendor_spmv: no + use_vendor_sptrans: no + +# Specify the linear system solvers. linear_solvers: - - name: solve_scalar + - name: solve_mom type: hypre method: hypre_gmres preconditioner: boomerAMG tolerance: 1e-12 max_iterations: 200 - kspace: 5 + kspace: 75 output_level: 0 + segregated_solver: no + write_matrix_files: no + reuse_linear_system: yes + recompute_preconditioner_frequency: 100 + simple_hypre_matrix_assemble: no + dump_hypre_matrix_stats: no + write_preassembly_matrix_files: no + + # File containing hypre specific configuration options + hypre_cfg_file: ../../hypre_settings/hypre_blade_resolved.yaml + # YAML node used for this linear solver + hypre_cfg_node: hypre_simple_precon - - name: solve_cont + - name: solve_scalar + type: hypre + method: hypre_gmres + preconditioner: boomerAMG + tolerance: 1e-12 + max_iterations: 200 + kspace: 75 + output_level: 0 + write_matrix_files: no + reuse_linear_system: yes + recompute_preconditioner_frequency: 100 + simple_hypre_matrix_assemble: no + dump_hypre_matrix_stats: no + write_preassembly_matrix_files: no + + # File containing hypre specific configuration options + hypre_cfg_file: ../../hypre_settings/hypre_blade_resolved.yaml + # YAML node used for this linear solver + hypre_cfg_node: hypre_simple_precon + + - name: solve_elliptic type: hypre method: hypre_gmres preconditioner: boomerAMG tolerance: 1e-12 max_iterations: 200 - kspace: 5 + kspace: 75 output_level: 0 + write_matrix_files: no + reuse_linear_system: yes + recompute_preconditioner_frequency: 100 + simple_hypre_matrix_assemble: no + dump_hypre_matrix_stats: no + write_preassembly_matrix_files: no + + # File containing hypre specific configuration options + hypre_cfg_file: ../../hypre_settings/hypre_blade_resolved.yaml + # YAML node used for this linear solver + hypre_cfg_node: hypre_elliptic realms: @@ -35,8 +86,8 @@ realms: max_iterations: 2 solver_system_specification: - velocity: solve_scalar - pressure: solve_cont + velocity: solve_mom + pressure: solve_elliptic systems: