arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.14640hep-lat
收藏

格点量子色动力学中Wilson、Brillouin和Susskind费米子的快速灵活实现

Fast and flexible implementations of Wilson, Brillouin and Susskind fermions in lattice QCD

Stephan Durr

摘要:

基于OpenMP共享内存并行技术和SIMD编译指令,给出了格点量子色动力学中三个Dirac算符(Wilson,Brillouin,Susskind)的现代Fortran实现.其主要思想是将Dirac算子同时应用于$N_v$向量,以缓解存储器带宽瓶颈。所有的索引计算都留给编译器,最大的权重是考虑到可移植性和灵活性。晶格体积$N_x N_y N_z N_t$、颜色数$N_c$和右侧数$N_v$是在编译时定义的参数。比较了几种内存布局选项。该代码在现代众核架构上表现良好(480 Gflop/s、880 Gflop/s和780 Gflop/s,在72核KNL处理器上以单精度使用$N_v=12$实现三个运算符,$2\times24$核Skylake节点产生类似的结果)。使用CG/BiCGstab逆变器的显式运行时测试证实,内存布局与KNL相关,但与Skylake架构无关。辅助代码分发包含所有例程,包括单精度、双精度和混合精度Krylov空间求解器,使其自包含且随时可用。

英文摘要:

A modern Fortran implementation of three Dirac operators (Wilson, Brillouin, Susskind) in lattice QCD is presented, based on OpenMP shared-memory parallelization and SIMD pragmas. The main idea is to apply a Dirac operator to $N_v$ vectors simultaneously, to ease the memory bandwidth bottleneck. All index computations are left to the compiler and maximum weight is given to portability and flexibility. The lattice volume, $N_x N_y N_z N_t$, the number of colors, $N_c$, and the number of right-hand sides, $N_v$, are parameters defined at compile time. Several memory layout options are compared. The code performs well on modern many-core architectures (480 Gflop/s, 880 Gflop/s, and 780 Gflop/s with $N_v=12$ for the three operators in single precision on a 72-core KNL processor, a $2\times24$-core Skylake node yields similar results). Explicit run-time tests with CG/BiCGstab inverters confirm that the memory layout is relevant for the KNL, but less so for the Skylake architecture. The ancillary code distribution contains all routines, including the single, double, and mixed precision Krylov space solvers, to render it self-contained and ready-to-use.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑