NEMOFFT project: Improved Fourier algorithms for global electromagnetic gyrokinetic simulations
Year: 2013
Type: report
Abstract: The NEMOFFT project addresses a well-known parallel scalability bottleneck of the global gyrokinetic ORB5 code, in its current electromagnetic version NEMORB.This code is very HPC-resource demanding, especially for large-sized simulations. It relies on efficient parallel algorithms that require filtering to refine the physical quantities and maintain appropriate numerical signal-to-noise levels. The filtering is done via bi-dimensional Fourier transforms (FTs) that involve parallel matrix transposes and hence require large data transfers across cores. Such communication naturally impairs the code's parallel scalability and renders, in practice, ITER-sized plasmas simulations unfeasible. To cope with this, NEMORB's filtering algorithm is modified. The Hermitian redundancy inherent to its purely real data is invoked to effectively reduce the number of floating point operations (FLOPs) involved in the FTs by roughly a factor of two. Further using a clever storage for the resulting data (half-complex packed format) reduces the message size being communicated by the same amount. Several parallel transpose methods are investigated within two main HPC architectures, namely, Intel CPU-based with InfiniBand interconnect (HPC-FF at JSC in Jülich and HELIOS at IFERC-CSC in Aamori) and IBM Power6 (VIP at RZG in Garching). The best overall performer is found to be based on a XOR/MPI Sendrecv algorithm. Its flexibility allows to exploit NEMORB's low pass filter to further reduce the inter-core data exchange, yielding speedups higher than two.CONTENTS I. Introduction 2 II.NEMORB's 2D Fourier transform algorithm 2 A. Domain decomposition 2 B. Multi-dimensional Fourier transforms 3 C. XOR/MPI Sendrecv distributed transpose algorithm 4 D. Basic algorithm profiling 4 III.Index order swapping: local transpose 5 IV.Fourier transform of real data: Hermitian redundancy 6 V. Half-complex packed format to avoid zero-padding 8 VI.Distributed transpose: XOR/MPI
Source: MPG.PuRe (Max Planck Society)
Author: T. Ribeiro
Institutions: Max Planck Society, Max Planck Institute for Plasma Physics
Language: English
Subfield: Hardware and Architecture
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W832274775
