-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into mish2/lazily_evaluate_sparse_matrix_LUTs
- Loading branch information
Showing
6 changed files
with
112 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Source: mfem/examples/petsc/rc_ex1p | ||
# Options for the Krylov solver | ||
-ksp_view | ||
-ksp_converged_reason | ||
# Options for the preconditioner | ||
-pc_type gamg | ||
-pc_gamg_type agg | ||
-pc_gamg_agg_nsmooths 1 | ||
-pc_gamg_coarse_eq_limit 100 | ||
-pc_gamg_reuse_interpolation | ||
-pc_gamg_square_graph 1 | ||
-pc_gamg_threshold 0.0 | ||
-mg_levels_ksp_max_it 2 | ||
-mg_levels_ksp_type chebyshev | ||
-mg_levels_esteig_ksp_type cg | ||
-mg_levels_esteig_ksp_max_it 10 | ||
-mg_levels_ksp_chebyshev_esteig 0,0.05,0,1.05 | ||
-pc_gamg_use_sa_esteig 0 | ||
-mg_levels_pc_type sor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Source: mfem/examples/petsc/rc_ex1p_deviceamg | ||
-log_view | ||
# Options for the Krylov solver | ||
-ksp_view | ||
-ksp_converged_reason | ||
# Options for the preconditioner | ||
-pc_type gamg | ||
-pc_gamg_type agg | ||
-pc_gamg_agg_nsmooths 1 | ||
-pc_gamg_coarse_eq_limit 100 | ||
-pc_gamg_reuse_interpolation | ||
-pc_gamg_square_graph 1 | ||
-pc_gamg_threshold 0.0 | ||
-mg_levels_ksp_max_it 2 | ||
-mg_levels_ksp_type chebyshev | ||
# SERAC_EDIT_START | ||
# -mg_levels_esteig_ksp_type cg | ||
# -mg_levels_esteig_ksp_max_it 10 | ||
# SERAC_EDIT_END | ||
-mg_levels_ksp_chebyshev_esteig 0,0.05,0,1.05 | ||
#sor is not implemented for GPU, use jacobi | ||
-mg_levels_pc_type jacobi | ||
|
||
|
||
# SERAC_EDIT_START | ||
# Disable "gpu aware mpi" to avoid PETSc runtime errors | ||
-use_gpu_aware_mpi 0 | ||
# SERAC_EDIT_END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Source: mfem/examples/petsc/rc_ex11p_lobpcg | ||
# Options for the eigenvalue solver | ||
-eps_monitor | ||
-eps_converged_reason | ||
-eps_view_values | ||
-eps_type lobpcg | ||
-eps_gen_hermitian | ||
-eps_smallest_real | ||
-eps_lobpcg_blocksize 5 | ||
# Options for the spectral transform | ||
-st_type precond | ||
-st_pc_type gamg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Source: mfem/examples/petsc/rc_ex11p_lobpcg_device | ||
-log_view | ||
# Options for the eigenvalue solver | ||
-eps_view | ||
-eps_monitor | ||
-eps_converged_reason | ||
-eps_view_values | ||
-eps_type lobpcg | ||
-eps_gen_hermitian | ||
-eps_smallest_real | ||
-eps_lobpcg_blocksize 5 | ||
# Options for the spectral transform | ||
-st_type precond | ||
-prefix_push st_ | ||
-pc_type gamg | ||
-pc_gamg_type agg | ||
-pc_gamg_agg_nsmooths 1 | ||
-pc_gamg_coarse_eq_limit 100 | ||
-pc_gamg_reuse_interpolation | ||
-pc_gamg_square_graph 1 | ||
-pc_gamg_threshold 0.0 | ||
-mg_levels_ksp_max_it 2 | ||
-mg_levels_ksp_type chebyshev | ||
-mg_levels_esteig_ksp_type cg | ||
-mg_levels_esteig_ksp_max_it 10 | ||
-mg_levels_ksp_chebyshev_esteig 0,0.05,0,1.05 | ||
#sor is not implemented for GPU, use jacobi | ||
-mg_levels_pc_type jacobi | ||
-prefix_pop | ||
|
||
# SERAC_EDIT_START | ||
# Disable "gpu aware mpi" to avoid PETSc runtime errors | ||
-use_gpu_aware_mpi 0 | ||
# SERAC_EDIT_END |