Skip to content

DanecLacey/basic_iterative_solvers

Repository files navigation

basic_iterative_solvers

This is a set of (preconditioned) iterative solvers for Ax = b, where A is typically assumed to be a large sparse matrix.

Usage Examples

./basic_iterative_solvers HPCG-128.mtx -cg
./basic_iterative_solvers Anderson,Lx=100,Ly=100,Lz=50,ranpot=5.0 -gm -p gs

Building basic_iterative_solvers

git clone git@github.com:DanecLacey/basic_iterative_solvers.git
cd basic_iterative_solvers
make
  • All user-defined solver parameters and configuration options can be found in config.mk

Features

Supported Solvers

  • Jacobi -j
  • Gauss-Seidel -gs
  • (Preconditioned) Conjugate-Gradient -cg
  • (Preconditioned) (Restarted) GMRES -gm
  • (Preconditioned) BiCGSTAB -bi

Supported Preconditioners

  • Jacobi -p j
  • (Forward/Backward/Symmetric) Gauss-Seidel -p (gs/bgs/sgs)

Notes

  • The sparse matrix storage format of A is CRS.
  • Only left-preconditioning is implemented.
  • This code is mainly for performance investigations.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published