Design and optimization of a portable LQCD Monte Carlo code using OpenACC
arXiv:1701.00426 · doi:10.1142/S0129183117500632
Abstract
The present panorama of HPC architectures is extremely heterogeneous, ranging from traditional multi-core CPU processors, supporting a wide class of applications but delivering moderate computing performance, to many-core GPUs, exploiting aggressive data-parallelism and delivering higher performances for streaming computing applications. In this scenario, code portability (and performance portability) become necessary for easy maintainability of applications; this is very relevant in scientific computing where code changes are very frequent, making it tedious and prone to error to keep different code versions aligned. In this work we present the design and optimization of a state-of-the-art production-level LQCD Monte Carlo application, using the directive-based OpenACC programming model. OpenACC abstracts parallel programming to a descriptive level, relieving programmers from specifying how codes should be mapped onto the target architecture. We describe the implementation of a code fully written in OpenACC, and show that we are able to target several different architectures, including state-of-the-art traditional CPUs and GPUs, with the same code. We also measure performance, evaluating the computing efficiency of our OpenACC code on several architectures, comparing with GPU-specific implementations and showing that a good level of performance-portability can be reached.
arXiv comment26 pages, 2 png figures, preprint of an article submitted for consideration in International Journal of Modern Physics C
References in corpus (13)
- Analytic Smearing of SU(3) Link Variables in Lattice QCD
- Solving Lattice QCD systems of equations using mixed precision solvers on GPUs
- Accelerating Dynamical Fermion Computations using the Rational Hybrid Monte Carlo (RHMC) Algorithm with Multiple Pseudofermion Fields
- HMC algorithm with multiple time scale integration and mass preconditioning
- Testing and tuning symplectic integrators for Hybrid Monte Carlo algorithm in lattice QCD
- Lattice QCD as a video game
- Optimized Verlet-like algorithms for molecular dynamics simulations
- Accelerating Staggered Fermion Dynamics with the Rational Hybrid Monte Carlo (RHMC) Algorithm
- Performance and Portability of Accelerated Lattice Boltzmann Applications with OpenACC
- Lattice QCD based on OpenCL
- Topological Susceptibility in Two Flavors Lattice QCD with the Optimal Domain-Wall Fermion
- QCD simulations with staggered fermions on GPUs
- SU(2) Lattice Gauge Theory Simulations on Fermi GPUs
Cited by in corpus (10)
- Curvature of the pseudocritical line in QCD: Taylor expansion matches analytic continuation
- QCD phase diagram in a magnetic background for different values of the pion mass
- Phase diagram of QCD in a magnetic background
- Roberge-Weiss endpoint and chiral symmetry restoration in QCD
- Confining and chiral properties of QCD in extremely strong magnetic fields
- Portable multi-node LQCD Monte Carlo simulations using OpenACC
- Gauge-invariant screening masses and static quark free energies in QCD at non-zero baryon density
- Dependence of the static quark free energy on and the crossover temperature of QCD
- Accelerating lattice QCD simulations with 2 flavours of staggered fermions on multiple GPUs using OpenACC - a first attempt
- Energy-efficiency evaluation of Intel KNL for HPC workloads