Skip to content

Commit

Permalink
Merge pull request #40, [Docs] Add Krylov solver to benchmark list
Browse files Browse the repository at this point in the history
Add new solver to benchmark list
  • Loading branch information
ytdHuang authored Nov 6, 2023
2 parents 47a2154 + e92886e commit 6c5e294
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions examples/benchmark_LS_solvers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ KLUFactorization();
# ### Julia's built-in LU factorization
LUFactorization();

# ### A generic BICGSTAB implementation from Krylov
KrylovJL_BICGSTAB();

# ### Pardiso
# This solver is based on Intel openAPI Math Kernel Library (MKL) Pardiso
# !!! note "Note"
Expand All @@ -65,6 +68,9 @@ MKLPardisoIterate();
# ### Julia's built-in generic LU factorization
@benchmark SteadyState(M_even; solver = LUFactorization(), verbose = false)

# ### KrylovJL_BICGSTAB
@benchmark SteadyState(M_even; solver = KrylovJL_BICGSTAB(rtol=1e-10, atol=1e-12), verbose = false)

# ### MKLPardisoFactorize
@benchmark SteadyState(M_even; solver = MKLPardisoFactorize(), verbose = false)

Expand All @@ -81,6 +87,9 @@ MKLPardisoIterate();
# ### Julia's built-in LU factorization
@benchmark spectrum(M_odd, ados_s, d_up, ωlist; solver = LUFactorization(), verbose = false)

# ### KrylovJL_BICGSTAB
@benchmark spectrum(M_odd, ados_s, d_up, ωlist; solver = KrylovJL_BICGSTAB(rtol=1e-10, atol=1e-12), verbose = false)

# ### MKLPardisoFactorize
@benchmark spectrum(M_odd, ados_s, d_up, ωlist; solver = MKLPardisoFactorize(), verbose = false)

Expand Down

0 comments on commit 6c5e294

Please sign in to comment.