Large Scale Finite-Temperature Real-Time Time Dependent Density Functional Theory Calculation with Hybrid Functional on ARM and GPU Systems

Rongrong Liu, Zhuoqiang Guo, Qiuchen Sha, Tong Zhao, Haibo Li, Wei Hu, Lijun Liu, Guangming Tan, Weile Jia

Introduction

Simulating ultra-fast electronic phenomena in materials at finite temperatures is computationally intensive, particularly when employing highly accurate "hybrid functionals." This research presents a highly optimized Parallel Transport-Implicit Midpoint (PT-IM) method designed to accelerate real-time Time-Dependent Density Functional Theory (rt-TDDFT) calculations on ARM and GPU-based supercomputers. By implementing algorithmic refinements and communication optimizations, the authors achieved over 40x speedups, enabling simulations of systems containing up to 3072 atoms—scales previously considered unattainable.

The Challenge: Scaling Hybrid Functionals at Finite Temperatures

Real-time Time-Dependent Density Functional Theory (rt-TDDFT) is a critical tool for observing how electrons react to external stimuli, such as laser pulses. To ensure accuracy, researchers incorporate "hybrid functionals," which include exact Fock exchange calculations.

However, performing these calculations at finite temperatures introduces significant complexity. Unlike zero-temperature systems where orbitals are either full or empty, finite temperatures result in fractional occupancy (mixed states). This causes the computational complexity of the Fock exchange operator to scale at $O(N^4)$, where $N$ is the number of electrons. Traditional acceleration techniques often fail for finite-temperature systems, making the simulation of large-scale real materials both slow and memory-prohibitive.

Methodology and Innovations

Algorithmic Innovations

The researchers integrated the PT-IM algorithm with hybrid functionals into their plane-wave code, PWDFT, and introduced two primary algorithmic improvements:

  1. Occupation Matrix Diagonalization: By exploiting the Hermitian nature of the occupation matrix, the authors diagonalized it to reduce the number of required Fast Fourier Transforms (FFTs). This mathematical shift reduced the Fock exchange operator's complexity from $O(N^4)$ to $O(N^3)$.
  2. Adaptively Compressed Exchange (ACE): The ACE formulation was utilized to decrease the frequency of Fock operator calculations. This optimization reduced the occurrence of the most expensive operations by approximately 80% per time step.
Workflow comparison between standard PT-IM and the optimized PT-IM-ACE method.

System and Hardware Innovations

To leverage modern supercomputing architectures like Fugaku (ARM) and NVIDIA A100 clusters (GPU), the team implemented hardware-specific optimizations:

  • Asynchronous Ring-Based Communication: To overcome the scalability bottlenecks of global MPI broadcasts (MPI_Bcast), the authors implemented a localized, asynchronous point-to-point ring topology. This allows communication latency to be overlapped with computation.
  • Shared Memory Utilization: To manage the massive memory footprint of large-scale wavefunctions, the team used MPI shared memory extensions. This allows identical matrices to be stored once per physical node rather than once per process, significantly freeing up RAM.
Optimization of communication using shared memory and inter-node Allreduce.

Performance and Results

The optimizations were evaluated using silicon supercells ranging from 48 to 3072 atoms, simulating electron dynamics under a 380 nm laser pulse at 8000K.

  • Significant Speedups: The optimized implementation delivered a 55.15x speedup on the ARM platform and a 41.44x speedup on NVIDIA A100 GPUs compared to the baseline.
  • Unprecedented Scalability: The team successfully simulated a 1536-atom system on 46,080 ARM cores and a massive 3072-atom system (12,288 electrons) on 768 A100 GPUs.
  • Efficiency and Accuracy: For the 3072-atom system, a single time step took 429.3 seconds. Crucially, the PT-IM method maintained the accuracy of traditional Runge-Kutta 4th order (RK4) methods while allowing for a time step 100 times larger.

Conclusion and Future Outlook

While the study demonstrates a major leap in simulation capability, it also highlights current hardware limits. Simulations at the 3072-atom scale consumed over 80% of available GPU memory, indicating that these calculations are primarily memory-bandwidth bound. The authors suggest that future deployments on systems with higher-speed interconnects (like NVLink) and larger GPU memory capacities will further expand the boundaries of real-time quantum dynamics simulations.

Summary updated

BibTeX
@inproceedings{liu2025large,
  author = {Rongrong Liu and Zhuoqiang Guo and Qiuchen Sha and Tong Zhao and Haibo Li and Wei Hu and Lijun Liu and Guangming Tan and Weile Jia},
  title = {{Large Scale Finite-Temperature Real-Time Time Dependent Density Functional Theory Calculation with Hybrid Functional on ARM and GPU Systems}},
  booktitle = {IPDPS},
  year = {2025},
  doi = {10.1109/ipdps64566.2025.00076},
}

Loading related content...

Figure