Search engine for discovering works of Art, research articles, and books related to Art and Culture
ShareThis
Javascript must be enabled to continue!

Accelerating Lagrangian transport simulations on graphics processing units: performance optimizations of Massive-Parallel Trajectory Calculations (MPTRAC) v2.6

View through CrossRef
Lagrangian particle dispersion models are indispensable tools for the study of atmospheric transport processes. However, Lagrangian transport simulations can become numerically expensive when large numbers of air parcels are involved. To accelerate these simulations, we made considerable efforts to port the Massive-Parallel Trajectory Calculations (MPTRAC) model to graphics processing units (GPUs). Here we discuss performance optimizations of the major bottleneck of the GPU code of MPTRAC, the advection kernel. Timeline, roofline, and memory analyses of the baseline GPU code revealed that the application is memory-bound, and performance suffers from near-random memory access patterns. By changing the data structure of the horizontal wind and vertical velocity fields of the global meteorological data driving the simulations from structure of arrays (SoAs) to array of structures (AoSs) and by introducing a sorting method for better memory alignment of the particle data, performance was greatly improved. We evaluated the performance on NVIDIA A100 GPUs of the Jülich Wizard for European Leadership Science (JUWELS) Booster module at the Jülich Supercomputing Center, Germany. For our largest test case, transport simulations with 10 8 particles driven by the European Centre for Medium-Range Weather Forecasts (ECMWF) ERA5 reanalysis, we found that the runtime for the full set of physics computations was reduced by 75 %, including a reduction of 85 % for the advection kernel. In addition to demonstrating the benefits of code optimization for GPUs, we show that the runtime of central processing unit (CPU-)only simulations is also improved. For our largest test case, we found a runtime reduction of 34 % for the physics computations, including a reduction of 65 % for the advection kernel. The code optimizations discussed here bring the MPTRAC model closer to applications on upcoming exascale high-performance computing systems and will also be of interest for optimizing the performance of other models using particle methods.
Title: Accelerating Lagrangian transport simulations on graphics processing units: performance optimizations of Massive-Parallel Trajectory Calculations (MPTRAC) v2.6
Description:
Lagrangian particle dispersion models are indispensable tools for the study of atmospheric transport processes.
However, Lagrangian transport simulations can become numerically expensive when large numbers of air parcels are involved.
To accelerate these simulations, we made considerable efforts to port the Massive-Parallel Trajectory Calculations (MPTRAC) model to graphics processing units (GPUs).
Here we discuss performance optimizations of the major bottleneck of the GPU code of MPTRAC, the advection kernel.
Timeline, roofline, and memory analyses of the baseline GPU code revealed that the application is memory-bound, and performance suffers from near-random memory access patterns.
By changing the data structure of the horizontal wind and vertical velocity fields of the global meteorological data driving the simulations from structure of arrays (SoAs) to array of structures (AoSs) and by introducing a sorting method for better memory alignment of the particle data, performance was greatly improved.
We evaluated the performance on NVIDIA A100 GPUs of the Jülich Wizard for European Leadership Science (JUWELS) Booster module at the Jülich Supercomputing Center, Germany.
For our largest test case, transport simulations with 10 8 particles driven by the European Centre for Medium-Range Weather Forecasts (ECMWF) ERA5 reanalysis, we found that the runtime for the full set of physics computations was reduced by 75 %, including a reduction of 85 % for the advection kernel.
In addition to demonstrating the benefits of code optimization for GPUs, we show that the runtime of central processing unit (CPU-)only simulations is also improved.
For our largest test case, we found a runtime reduction of 34 % for the physics computations, including a reduction of 65 % for the advection kernel.
The code optimizations discussed here bring the MPTRAC model closer to applications on upcoming exascale high-performance computing systems and will also be of interest for optimizing the performance of other models using particle methods.

Related Results

Implementation and evaluation of diabatic advection in the Lagrangian transport model MPTRAC 2.6
Implementation and evaluation of diabatic advection in the Lagrangian transport model MPTRAC 2.6
Abstract. Diabatic transport schemes with hybrid zeta coordinates, which follow isentropes in the stratosphere, are known to greatly improve Lagrangian transport calculations compa...
MPTRAC: Domain-decomposed Massively-Parallel Trajectory Calculations
MPTRAC: Domain-decomposed Massively-Parallel Trajectory Calculations
Models for the calculation of Lagrangian particle dispersion in the atmosphere or the ocean are indispensable tools for understanding natural and anthropogenic processes. These pro...
Accelerating Lagrangian transport simulations on graphics processing units: performance optimizations of MPTRAC v2.6
Accelerating Lagrangian transport simulations on graphics processing units: performance optimizations of MPTRAC v2.6
Abstract. Lagrangian particle dispersion models are indispensable tools for the study of atmospheric transport processes. However, Lagrangian transport simulations can become numer...
Lagrangian versus Eulerian spectral estimates of surface kinetic energy over the global ocean
Lagrangian versus Eulerian spectral estimates of surface kinetic energy over the global ocean
In this study, we carried out a novel massive Lagrangian simulation experiment derived from a global 1/48° tide-resolving numerical simulation of the ocean circulation. This first-...
Traceability of Ocean Flows and Material Transport
Traceability of Ocean Flows and Material Transport
Tracing ocean flows and material transport has numerous applications in oceanography, climate research, ecology, and marine pollution research. This is typically done from a Lagran...
TO THE QUESTION OF HENDIADIC PAIR-WORD UNITS REVERSIBILITY IN MODERN ENGLISH
TO THE QUESTION OF HENDIADIC PAIR-WORD UNITS REVERSIBILITY IN MODERN ENGLISH
Problem statement. The article provides an analysis of distinctive features of hendiadic pair-word units reversibility in Modern English. The concept of hendiadys is sufficiently w...
Identification of source regions of the Asian Tropopause Aerosol Layer on the Indian subcontinent in August 2016
Identification of source regions of the Asian Tropopause Aerosol Layer on the Indian subcontinent in August 2016
Abstract. The Asian tropopause aerosol layer (ATAL) is a distinct feature during the Asian summer monsoon season with an impact on the regional radiative balance of the Earth's atm...
Control-Oriented Real-Time Trajectory Planning for Heterogeneous UAV Formations
Control-Oriented Real-Time Trajectory Planning for Heterogeneous UAV Formations
Aiming at the trajectory planning problem for heterogeneous UAV formations in complex environments, a trajectory prediction model combining Convolutional Neural Networks (CNNs) and...

Back to Top