Scalable Parallel Numerical Methods and Software Tools for Material Design

Eric J. Bylaska, Scott R. Kohn, Scott B. Baden, Alan Edelman, Ryoichi Kawai, M. Elizabeth G. Ong, John H. WearePP 1995

TL;DR

This paper introduces a novel parallel adaptive multigrid eigenvalue solver designed to overcome the computational bottlenecks in first-principles material design. By efficiently handling the multiple length scales and singularities inherent in electronic structure calculations, their method promises to make accurate simulations of large, complex materials tractable.

What Problem Does This Paper Address?

Designing materials with specific high-performance properties requires a deep understanding of their atomic structure and electronic behavior. The gold standard for this is solving the electronic Schrödinger equation using the local density approximation (LDA). However, existing methods scale poorly (O(N³), where N is the number of atoms), making simulations of realistic material sizes computationally infeasible. This paper tackles the challenge of developing methods that are fast, accurate, can handle multiple length scales, and scale efficiently (O(N²) or better) to enable the design of complex materials.

Methods

The core of this work is a Parallel Adaptive Eigenvalue Solver (AMG). This solver combines two key innovations:

  • Adaptive Mesh Refinement (AMR): Instead of using a uniform grid, which is dictated by the shortest length scale and leads to excessive computational cost, the AMG solver uses a composite grid. This composite grid allows for local refinement of the discretization only where needed, adapting to the local phenomena in the wavefunction. This is implemented as a hierarchy of grid levels, where finer levels provide more accurate representations.
  • Multigrid Eigenvalue Algorithm: The paper leverages a previously developed multigrid method for efficiently solving the linear eigenvalue problem that arises from the LDA. This method is described as rapidly converging, reaching machine precision within about fifteen iterations.

The authors also highlight the use of the LPARX parallel programming system as crucial for managing the complex data structures of the composite grid and enabling the code to run on diverse high-performance parallel architectures.

Datasets

The paper uses simplified model problems to test and demonstrate the capabilities of their AMG solver:

  • The Hydrogen Atom: A 3D model problem with a known analytical solution, used to showcase the solver's ability to handle singularities at the origin.
  • The H₂⁺ Molecule: A two-center problem with singularities, used to illustrate the solver's performance on a more chemically relevant scenario.
  • Smoothed H₂⁺ Potential: To compare directly with FFT methods, the singularities in the H₂⁺ problem were softened using an error function. This allowed for a quantitative comparison of accuracy and computational cost.

No new large-scale datasets were introduced; rather, these model problems serve as benchmarks for the developed numerical techniques.

Key Insights and Ideas

  • Adaptivity is Crucial for Singularities: The paper strongly emphasizes that adaptive mesh refinement is not just beneficial but necessary to accurately solve the eigenvalue problem near atomic centers, where singularities in the potential occur. Uniform grids struggle significantly with these sharp features.
  • Composite Grids Offer Efficiency: By representing wavefunctions on a composite grid that locally refines the discretization, computational resources (flops and memory) are expended only where they are most needed, leading to significant efficiency gains over uniform grid methods.
  • FFT Methods Struggle with Short Length Scales: The paper demonstrates that traditional FFT-based methods, while efficient for parallelization, require an impractically large number of basis functions to achieve sufficient accuracy when dealing with short length scales and steep atomic potentials.
  • Direct Real Space Methods are Promising: The authors suggest that their direct real-space adaptive methods could offer a much-needed efficient approach for computing forces in complex materials, a critical step for material design.

Key Results

  • Hydrogen Atom: The AMG solver accurately reproduces the known solution for the hydrogen atom, even with its singularity at r=0. The paper notes that FFT methods with a uniform grid of 64³ points failed to achieve the correct eigenvalue.
  • H₂⁺ Molecule: The AMG method performs well on the H₂⁺ problem, accurately capturing the binding energy curve. The paper shows that as singularities are softened (by increasing rcut), both uniform grid and FFT methods converge to the same answer as the adaptive method, but they lose accuracy rapidly as the softening decreases.
  • Adaptive vs. Uniform/FFT: Table 1 provides a quantitative comparison. For rcut = 0.2, the adaptive method achieves an eigenvalue of -0.8734, while FFT yields -0.8998 and a uniform grid -0.9035, all using a similar number of basis elements. The known solution for rcut = 0 is -0.911. This highlights the superior accuracy of the adaptive method in capturing the essential physics.
  • Efficiency of Adaptivity: For the H₂⁺ problem, the resolution at the finest level of the adaptive grid was equivalent to a uniform grid with 4096³ basis elements, yet the adaptive algorithm required fewer than 64³ points.

Limitations and Future Work

  • Model Problems: The current work primarily uses simplified model problems (hydrogen atom, H₂⁺) that replace the full LDA potentials with simpler, localized potentials. While these capture the critical issues of multiple length scales and singularities, they do not fully represent the complexity of real material calculations.
  • Self-Consistency and Full LDA: The paper acknowledges that solving the full, self-consistent LDA problem remains a challenge. The presented method is a crucial step towards this goal.
  • Future Work: The authors explicitly state their goal is to develop methods that can efficiently treat large and complex systems. This includes enabling simulations requiring thousands of atomic interaction evaluations and achieving high accuracy (0.02 eV/atom). They also aim to develop a software infrastructure that exploits high-performance parallel architectures to provide the necessary throughput and memory.

Summary updated

BibTeX
@inproceedings{bylaska1995scalable,
  author = {Eric J. Bylaska and Scott R. Kohn and Scott B. Baden and Alan Edelman and Ryoichi Kawai and M. Elizabeth G. Ong and John H. Weare},
  title = {{Scalable Parallel Numerical Methods and Software Tools for Material Design}},
  booktitle = {PP},
  year = {1995},
  url = {https://openreview.net/forum?id=mJSZcGy7JN},
}
Figure