Frontiers of Data and Computing ›› 2024, Vol. 6 ›› Issue (6): 32-42.

CSTR: 32002.14.jfdc.CN10-1649/TP.2024.06.004

doi: 10.11871/jfdc.issn.2096-742X.2024.06.004

Previous Articles     Next Articles

Application of Mixed Precision GMRES Method in Lattice Quantum Chromodynamics

ZHANG Kelong,HE Lianhua*(),XU Shun,JIN Zhong   

  1. Computer Network Information Center, Chinese Academy of Sciences, Beijing 100083, China
  • Received:2024-02-04 Online:2024-12-20 Published:2024-12-20
  • Contact: HE Lianhua E-mail:helh@sccas.cn

Abstract:

[Application Background] Lattice quantum chromodynamics is an important theory for particle physics research through computer simulation, which is built on a four-dimensional space-time lattice. The main computing hotspot in the simulation process is solving sparse linear systems with hundreds of millions of unknowns. [Methods] The generalized minimal residual method (GMRES) is used in this paper, in which a matrix-free algorithm is used to realize the complex matrix-vector multiplication of Wilson fermions. Firstly, the selection of subspace dimension in the GMRES method is evaluated. Secondly, in order to reduce the amount of data movement and memory occupation, and thus, to improve the computational performance of the GMRES algorithm, we implement four mixed precision GMRES algorithms, evaluate the corresponding performance in lattice quantum chromodynamics, and analyze the acceleration of each kernel. [Results] The experimental results show that the four mixed-precision GMRES algorithms converge consistently with the double-precision GMRES algorithm and obtain different degrees of performance acceleration. [Limitations and Conclusions] The performance bottleneck of the mixed-precision algorithms is analyzed, and the future research directions are forecasted.

Key words: lattice quantum chromodynamics, mixed precision, GMRES, parallel computing