Javascript must be enabled to continue!
Accelerating Lagrangian transport simulations on graphics processing units: performance optimizations of MPTRAC v2.6
View through CrossRef
Abstract. 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 (SoA) to Array of Structures (AoS), 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 108 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 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 MPTRAC v2.6
Description:
Abstract.
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 (SoA) to Array of Structures (AoS), 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 108 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 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 Massive-Parallel Trajectory Calculations (MPTRAC) v2.6
Accelerating Lagrangian transport simulations on graphics processing units: performance optimizations of Massive-Parallel Trajectory Calculations (MPTRAC) v2.6
Lagrangian particle dispersion models are indispensable tools for the study of atmospheric transport processes. However, Lagrangian transport simulations can become numerically exp...
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-...
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...
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...
Research on Approval of Domestic and International Transport Container Application of Radioactive Material
Research on Approval of Domestic and International Transport Container Application of Radioactive Material
Due to the potentially dangerous properties of radioactive material, it is during the transport that the process of nuclear energy and technology uses are prone to nuclear and radi...
Trends in Graphics and Graphics Technology: ABSTRACT
Trends in Graphics and Graphics Technology: ABSTRACT
ABSTRACT
Graphics technology has been evolving for at least 15 years. There have been false starts and diverse paths that have been followed. Now, however, the pr...

