Performance and Portability of Accelerated Lattice Boltzmann Applications with OpenACC
arXiv:1703.00186 · doi:10.1002/cpe.3862
Abstract
An increasingly large number of HPC systems rely on heterogeneous architectures combining traditional multi-core CPUs with power efficient accelerators. Designing efficient applications for these systems has been troublesome in the past as accelerators could usually be programmed using specific programming languages threatening maintainability, portability and correctness. Several new programming environments try to tackle this problem. Among them, OpenACC offers a high-level approach based on compiler directive clauses to mark regions of existing C, C++ or Fortran codes to run on accelerators. This approach directly addresses code portability, leaving to compilers the support of each different accelerator, but one has to carefully assess the relative costs of portable approaches versus computing efficiency. In this paper we address precisely this issue, using as a test-bench a massively parallel Lattice Boltzmann algorithm. We first describe our multi-node implementation and optimization of the algorithm, using OpenACC and MPI. We then benchmark the code on a variety of processors, including traditional CPUs and GPUs, and make accurate performance comparisons with other GPU implementations of the same algorithm using CUDA and OpenCL. We also asses the performance impact associated to portable programming, and the actual portability and performance-portability of OpenACC-based applications across several state-of-the- art architectures.
References in corpus (1)
Cited by in corpus (7)
- Massively parallel lattice-Boltzmann codes on large GPU clusters
- Multi-GPU thermal lattice Boltzmann simulations using OpenACC and MPI
- Particle-resolved thermal lattice Boltzmann simulation using OpenACC on multi-GPUs
- Evaluation of DVFS techniques on modern HPC processors and accelerators for energy-aware applications
- Beyond moments: relativistic Lattice-Boltzmann methods for radiative transport in computational astrophysics
- Fast kinetic simulator for relativistic matter
- Vielbein Lattice Boltzmann approach for fluid flows on spherical surfaces