Skip to main content
QUICK REVIEW

[Paper Review] High-productivity, high-performance workflow for virus-scale electrostatic simulations with Bempp-Exafmm

Tingyu Wang, Christopher D. Cooper|arXiv (Cornell University)|Mar 1, 2021
Bacteriophages and microbial interactionsEnvironmental Science26 references5 citations
TL;DR

This paper presents a high-productivity, high-performance workflow for virus-scale electrostatic simulations using Bempp-Exafmm, combining Bempp's Python-based boundary element method with Exafmm's kernel-independent fast multipole method. The framework enables interactive, Jupyter-based prototyping of Poisson-Boltzmann solvers with O(N) scaling, achieving 80-minute runtime for Zika virus solvation free energy on a single node with 10 million boundary elements.

ABSTRACT

Biomolecular electrostatics is key in protein function and the chemical processes affecting it. Implicit-solvent models via the Poisson-Boltzmann (PB) equation provide insights with less computational cost than atomistic models, making large-system studies -- at the scale of viruses -- accessible to more researchers. Here we present a high-productivity and high-performance linear PB solver based on Exafmm, a fast multipole method library, and Bempp, a Galerkin boundary element method package. The workflow integrates an easy-to-use Python interface with optimized computational kernels, and can be run interactively via Jupyter notebooks, for faster prototyping. Our results show the capability of the software, confirm code correctness, and assess performance with between 8,000 and 2 million elements. Showcasing the power of this interactive computing platform, we study the conditioning of two variants of the boundary integral formulation with just a few lines of code. Mesh-refinement studies confirm convergence as $1/N$, for $N$ boundary elements, and a comparison with results from the trusted APBS code using various proteins shows agreement. Our binding energy calculations using 9 various complexes align with the results from using five other grid-based PB solvers. Performance results include timings, breakdowns, and computational complexity. Exafmm offers evaluation speeds of just a few seconds for tens of millions of points, and $\mathcal{O}(N)$ scaling. The trend observed in our performance comparison with APBS demonstrates the advantage of Bempp-Exafmm in applications involving larger structures or requiring higher accuracy. Computing the solvation free energy of a Zika virus, represented by 1.6 million atoms and 10 million boundary elements, took 80-min runtime on a single compute node (dual 20-core).

Motivation & Objective

  • To develop an accessible, high-productivity platform for large-scale biomolecular electrostatics simulations beyond leadership-class computing facilities.
  • To enable rapid prototyping of boundary integral formulations for the linear Poisson-Boltzmann equation using high-level Python code.
  • To achieve high performance for virus-scale systems (up to 10 million boundary elements) through integration of Bempp and Exafmm.
  • To validate accuracy and performance against established solvers like APBS and grid-based methods.
  • To demonstrate the feasibility of interactive, high-fidelity electrostatic simulations of entire viruses using standard HPC hardware.

Proposed method

  • The workflow combines Bempp, a Python-based Galerkin boundary element method library, with Exafmm-t, a high-performance kernel-independent fast multipole method (kifmm) library.
  • Boundary integral equations for the linear Poisson-Boltzmann equation are formulated using Galerkin discretization within Bempp’s high-level Python interface.
  • Exafmm-t accelerates matrix-vector products via hierarchical clustering of boundary elements and low-rank approximations of far-field interactions.
  • The algorithm uses particle-to-multipole (P2M), multipole-to-multipole (M2M), multipole-to-local (M2L), local-to-local (L2L), local-to-particle (L2P), and particle-to-particle (P2P) translations in a dual-tree traversal.
  • The framework supports direct and Juffer-type boundary integral formulations, with formulation changes requiring only minor code edits.
  • The entire workflow is packaged in Jupyter notebooks for interactive use and reproducibility, with Docker support for portability.

Experimental results

Research questions

  • RQ1Can a high-productivity, interactive Python-based workflow achieve high performance for virus-scale electrostatic simulations?
  • RQ2How does the Bempp-Exafmm framework compare in accuracy and performance to established solvers like APBS for large biomolecular systems?
  • RQ3What is the computational complexity and scaling behavior of the Bempp-Exafmm solver for systems with up to 2 million boundary elements?
  • RQ4Can the framework efficiently compute solvation free energies for large viruses such as the Zika virus?
  • RQ5How does the conditioning of different boundary integral formulations compare in practice using minimal code changes?

Key findings

  • The Bempp-Exafmm workflow achieved O(N) computational complexity and evaluation speeds of just a few seconds for tens of millions of points using Exafmm-t.
  • Mesh-refinement studies confirmed convergence at a rate of 1/N for N boundary elements, validating the numerical accuracy of the solver.
  • Binding energy calculations for nine protein complexes showed strong agreement with results from five other grid-based PB solvers.
  • The framework correctly computed the solvation free energy of a Zika virus model with 1.6 million atoms and 10 million boundary elements in 80 minutes on a single dual 20-core compute node.
  • Performance comparisons with APBS demonstrated the advantage of Bempp-Exafmm for larger or higher-accuracy applications due to superior scaling and lower memory footprint.
  • The interactive Jupyter notebook interface enabled rapid prototyping and comparison of different boundary integral formulations with just a few lines of code.

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.