Skip to main content
Log in

A deflated conjugate gradient method for multiple right hand sides and multiple shifts

  • Original Paper
  • Published:
Numerical Algorithms Aims and scope Submit manuscript

Abstract

We consider the task of computing solutions of linear systems that only differ by a shift with the identity matrix as well as linear systems with several different right-hand sides. In the past, Krylov subspace methods have been developed which exploit either the need for solutions to multiple right-hand sides (e.g. deflation type methods and block methods) or multiple shifts (e.g. shifted CG) with some success. In this paper we present a block Krylov subspace method which, based on a block Lanczos process, exploits both features—shifts and multiple right-hand sides—at once. Such situations arise, for example, in lattice quantum chromodynamics (QCD) simulations within the Rational Hybrid Monte Carlo (RHMC) algorithm. We present numerical evidence that our method is superior compared to applying other iterative methods to each of the systems individually as well as, in typical situations, to shifted or block Krylov subspace methods.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Abdel-Rehim, A., Morgan, R.B., Wilcox, W.: Seed methods for linear equations in lattice QCD problems with multiple right-hand sides. PoS LAT2008, 38 (2008)

    Google Scholar 

  2. Aliaga, J.I., Boley, D.L., Freund, R., Hernández, V.: A Lanczos-type method for multiple starting vectors. Math. Comp. 69(232), 1577–1601 (2000)

    Article  MathSciNet  MATH  Google Scholar 

  3. Barbella, G., Perotti, F., Simoncini, V.: Block Krylov subspace methods for the computation of structural response to turbulent wind. Comput. Methods Appl. Mech. Eng. 200(23–24), 2067–2082 (2011)

    Article  MathSciNet  MATH  Google Scholar 

  4. Darnell, D., Morgan, R.B., Wilcox, W.: Deflated GMRES for systems with multiple shifts and multiple right-hand sides. Linear Algebra Appl. 429(10), 2415–2434 (2008). Special issue in honor of Richard S. Varga

    Article  MathSciNet  MATH  Google Scholar 

  5. Davis, T.A., Hu, Y.: The University of Florida sparse matrix collection. ACM Trans. Math. Softw. 38(1), 1:1–1:25 (2011)

    MathSciNet  Google Scholar 

  6. Debbio, L.D., Giusti, L., Lüscher, M., Petronzio, R., Tantalo, N.: QCD with light Wilson quarks on fine lattices (i): First experiences and physics results. JHEP 702, 56,2007 (2007)

    Google Scholar 

  7. Debbio, L.D., Giusti, L., Lüscher, M., Petronzio, R., Tantalo, N.: QCD with light Wilson quarks on fine lattices (ii): DD-HMC simulations and data analysis. JHEP 702, 82,2007 (2007)

    Google Scholar 

  8. Dubrulle, A.A.: Retooling the method of block conjugate gradients. Electron. Trans. Numer. Anal. 12, 216–233 (electronic) (2001)

    MathSciNet  MATH  Google Scholar 

  9. Erhel, J., Guyomarc’H, F.: An augmented conjugate gradient method for solving consecutive symmetric positive definite linear systems. SIAM J. Matrix Anal. Appl. 21(4), 1279–1299 (2000)

    Article  MathSciNet  MATH  Google Scholar 

  10. Fiebach, P., Frommer, A., Freund, R.: Variants of the Block-QMR method and applications in quantum chromodynamics. In: 15th IMACS World Congress on Scientific Computation, Modelling and Applied Mathematics, vol. 3, pp. 491–496 (1997)

  11. Freund, R., Malhotra, M.: A block QMR algorithm for non-hermitian linear systems with multiple right-hand sides. Linear Algebra Appl. 254, 119–157 (1997)

    Article  MathSciNet  MATH  Google Scholar 

  12. Frommer A., Maass, P.: Fast CG-based methods for Tikhonov-Phillips regularization. SIAM J. Sci. Comput. 20(5), 1831–1850 (1999) (electronic)

    Article  MathSciNet  MATH  Google Scholar 

  13. Guennebaud, G., Jacob, B., et al.: Eigen v3. http://eigen.tuxfamily.org (2010)

  14. Gutknecht, M.H.: Block Krylov space methods for linear systems with multiple right-hand sides: an introduction. In: Siddiqi, A., Duff, I., Christensen, O. (eds.) Modern Mathematical Models, Methods and Algorithms for Real World Systems, pp. 420–447. Anamaya Publishers, New Delhi (2007)

  15. Higham, N.J.: Functions of Matrices: Theory and Computation. Society for Industrial and Applied Mathematics, Philadelphia (2008)

    Book  Google Scholar 

  16. Kennedy, A.D.: Algorithms for dynamical fermions. Technical report, School of Physics, University of Edinburgh, arXiv:hep-lat/0607038v1 (2006)

  17. Morgan, R.B.: Restarted block-GMRES with deflation of eigenvalues. Appl. Numer. Math. 54(2), 222–236 (2005)

    Article  MathSciNet  MATH  Google Scholar 

  18. Nikishin, A.A., Yeremin, A.Y.: Variable block CG algorithms for solving large sparse symmetric positive definite linear systems on parallel computers, i: General iterative scheme. SIAM J. Matrix Anal. Appl. 16(4), 1135–1153 (1995)

    Article  MathSciNet  MATH  Google Scholar 

  19. Nikishin, A.A., Yeremin, A.Y.: An automatic procedure for updating the block size in the block conjugate gradient method for solving linear systems. J. Math. Sci. 114, 1844–1853 (2003). doi:10.1023/A:1022462.721147

    Article  MathSciNet  Google Scholar 

  20. O’Leary, D.P.: The block conjugate gradient algorithm and related methods. Linear Algebra Appl. 29, 293–322 (1980)

    Article  MathSciNet  MATH  Google Scholar 

  21. Paige, C.C., Parlett, B.N., van der Vorst, H.A.: Approximate solutions and eigenvalue bounds from Krylov subspaces. Numer. Linear Algebra Appl. 2(2), 115–133 (1995)

    Article  MathSciNet  MATH  Google Scholar 

  22. Saad, Y.: On the Lanczos method for solving symmetric linear systems with several right-hand sides. Math. Comput. 48(178), 651–662 (1987)

    MathSciNet  MATH  Google Scholar 

  23. Saad, Y.: Iterative Methods for Sparse Linear Systems, 2nd edn. Society for Industrial and Applied Mathematics, Philadelphia (2003)

    Book  Google Scholar 

  24. Soodhalter, K.: Mathematics and implementation details of a block MINRES algorithm. In: Review by Journal (2013)

  25. Stathopoulos, A., Orginos, K.: Computing and deflating eigenvalues while solving multiple right-hand side linear systems with an application to quantum chromodynamics. SIAM J. Sci. Comput. 32(1), 439–462 (2010)

    Article  MathSciNet  MATH  Google Scholar 

  26. Tadano, H., Sakurai, T., Kuramashi, Y.: Block BiCGGR: A new block Krylov subspace method for computing high accuracy solutions. JSIAM Lett. 1, 44 (2009)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sebastian Birk.

Additional information

This work was supported by Deutsche Forschungsgemeinschaft through the Collaborative Research Centre SFB-TRR 55 “Hadron Physics from Lattice QCD”

Rights and permissions

Reprints and permissions

About this article

Cite this article

Birk, S., Frommer, A. A deflated conjugate gradient method for multiple right hand sides and multiple shifts. Numer Algor 67, 507–529 (2014). https://doi.org/10.1007/s11075-013-9805-9

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11075-013-9805-9

Keywords

Mathematics Subject Classification (2010)

Navigation