Skip to main content
QUICK REVIEW

[Paper Review] BSEPACK User's Guide

Meiyue Shao, Chao Yang|arXiv (Cornell University)|Dec 23, 2016
Zeolite Catalysis and SynthesisChemistry3 references3 citations
TL;DR

BSEPACK is a parallel, ScaLAPACK-style Fortran 90 library for solving the Bethe–Salpeter eigenvalue problem on distributed-memory HPC systems, enabling efficient computation of electronic absorption spectra in materials science. It supports both full BSE and Tamm–Dancoff approximation (TDA) with multiple solvers, including direct diagonalization and iterative Lanczos methods, and is optimized for large-scale ab initio calculations of optical properties in extended systems.

ABSTRACT

This is the user manual for the software package BSEPACK (Bethe--Salpeter Eigenvalue Solver Package).

Motivation & Objective

  • To develop a scalable, parallel library for solving the Bethe–Salpeter eigenvalue problem in large-scale electronic structure calculations.
  • To enable accurate and efficient computation of absorption spectra for materials using both full BSE and Tamm–Dancoff approximation (TDA) frameworks.
  • To support multiple solution strategies, including direct diagonalization and iterative Lanczos methods, for improved performance on high-performance computing (HPC) platforms.
  • To provide a portable, modular Fortran 90 library with MPI and ScaLAPACK dependencies, suitable for integration into ab initio electronic structure codes.
  • To ensure correctness and performance through comprehensive testing and a standardized 2D block-cyclic data layout compatible with ScaLAPACK.

Proposed method

  • The library implements the Bethe–Salpeter Hamiltonian matrix in a structured form: H = [[A, B], [-B, -A]], where A and B are complex matrices, and H is required to be Hermitian and positive definite.
  • It uses a 2D block-cyclic distribution of matrices across a processor grid, following ScaLAPACK conventions, to enable efficient load balancing and communication patterns on distributed-memory systems.
  • The core solvers PDBSEIG (real) and PZBSEIG (complex) compute the spectral decomposition of H, returning eigenvalues in Λ and eigenvectors in X1 and X2, normalized via a specific unitary condition.
  • For absorption spectrum computation, the library uses the Lanczos algorithm with various broadening functions (Gaussian, Lorentzian) and supports both direct and iterative solution paths.
  • It integrates with optimized BLAS, LAPACK, ScaLAPACK, and BLACS libraries, and provides multiple solver combinations (e.g., FULLBSE+DIRECT, FULLBSE+LANCZOS) for flexibility and performance.
  • The library includes example programs and test suites (e.g., runall.sh) to validate correctness, with input data formatted in a standardized text format for A, B, d, and σ.

Experimental results

Research questions

  • RQ1How can the Bethe–Salpeter eigenvalue problem be efficiently solved on large-scale distributed-memory HPC systems with minimal communication overhead?
  • RQ2What is the optimal combination of iterative and direct solvers for computing absorption spectra in the full BSE and TDA frameworks?
  • RQ3How can the 2D block-cyclic data layout be effectively leveraged to scale the solution of large-scale Bethe–Salpeter matrices across thousands of processors?
  • RQ4What are the performance characteristics and numerical stability of different broadening methods (Gaussian, Lorentzian) when applied to the absorption spectrum computation?
  • RQ5How can a modular, portable, and maintainable library be designed to support both real and complex arithmetic in electronic structure calculations?

Key findings

  • The library successfully compiles and passes all 8192 tests in the TESTING directory, with 100% test success rate, indicating correct implementation and robustness.
  • The library supports multiple solver combinations, including direct diagonalization (via LAPACK HEEV/HEEVD/HEEVR/HEEVX) and iterative Lanczos methods, with options for Gaussian and Lorentzian broadening.
  • The absorption spectrum computation via the Lanczos algorithm achieves accurate results on 1024 sampling points of ω, as demonstrated in the example program absorption_real.f.
  • The input format is standardized: matrices A, B, and d are read in row-major order with real and imaginary parts separated, and σ is read as a single real number.
  • The library is designed for interoperability with existing ab initio codes, with clear interfaces following ScaLAPACK conventions and support for both real and complex arithmetic.
  • The use of a modified BSD license allows for open use and redistribution, with citation requirements for academic use.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.