Portable CPU implementation of Wilson, Brillouin and Susskind fermions in lattice QCD

Published: 14 October 2022| Version 1 | DOI: 10.17632/7km9wcspn3.1
Contributor:

Description

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 x 24-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.

Files

Categories

Computational Physics, Quantum Chromodynamics

Licence