Cucheb: A GPU implementation of the filtered Lanczos procedure

Jared L. Aurentz, Vassilis Kalantzis, Yousef Saad

Research output: Contribution to journalArticlepeer-review

8 Scopus citations


This paper describes the software package Cucheb, a GPU implementation of the filtered Lanczos procedure for the solution of large sparse symmetric eigenvalue problems. The filtered Lanczos procedure uses a carefully chosen polynomial spectral transformation to accelerate convergence of the Lanczos method when computing eigenvalues within a desired interval. This method has proven particularly effective for eigenvalue problems that arise in electronic structure calculations and density functional theory. We compare our implementation against an equivalent CPU implementation and show that using the GPU can reduce the computation time by more than a factor of 10. Program Summary Program title: Cucheb Program Files doi: Licensing provisions: MIT Programming language: CUDA C/C++ Nature of problem: Electronic structure calculations require the computation of all eigenvalue–eigenvector pairs of a symmetric matrix that lie inside a user-defined real interval. Solution method: To compute all the eigenvalues within a given interval a polynomial spectral transformation is constructed that maps the desired eigenvalues of the original matrix to the exterior of the spectrum of the transformed matrix. The Lanczos method is then used to compute the desired eigenvectors of the transformed matrix, which are then used to recover the desired eigenvalues of the original matrix. The bulk of the operations are executed in parallel using a graphics processing unit (GPU). Runtime: Variable, depending on the number of eigenvalues sought and the size and sparsity of the matrix. Additional comments: Cucheb is compatible with CUDA Toolkit v7.0 or greater.

Original languageEnglish (US)
Pages (from-to)332-340
Number of pages9
JournalComputer Physics Communications
StatePublished - Nov 2017

Bibliographical note

Publisher Copyright:
© 2017 Elsevier B.V.


  • Density functional theory
  • Eigenvalues
  • Eigenvectors
  • Electronic structure calculations
  • GPU
  • Quantum mechanics


Dive into the research topics of 'Cucheb: A GPU implementation of the filtered Lanczos procedure'. Together they form a unique fingerprint.

Cite this