Performance-portable spectral difference simulation of multi-species reacting flows on CPUs and GPUs
Romaric Simo Tamou, Thomas Marchal, Carlos Montilla, Jean-François Boussuge
Abstract
High-order discretizations and performance-portable programming models are two routes to cheaper simulations of turbulent reacting flows, but few solvers combine them for multi-species chemistry on both central and graphics processing units (CPUs and GPUs). This work extends HOPPS, a spectral difference solver written once in C++ with Kokkos, to compressible multi-species reacting flows with tabulated thermochemistry and a nine-species hydrogen-air mechanism. The physical models are selected at compile time. HOPPS on CPU and on GPU is cross-verified against the legacy Fortran solver JAGUAR on a non-reacting and a reacting three-dimensional Taylor-Green vortex. On AMD Genoa nodes, HOPPS is 1.7 to 2.8 times faster than JAGUAR. In strong scaling on AMD Rome nodes, for 108 degrees of freedom, the parallel efficiency at 6400 cores is 1.02 in the non-reacting case and 0.97 in the reacting case. On GPUs, the compute kernels follow the storage of the fields by element and keep the solution gradients in shared memory. One Nvidia H100 and one AMD MI300A then reach the same cost per degree of freedom, 3.8 to 4.5 times lower than that of a full 192-core AMD Genoa node. In weak scaling at 5x106 degrees of freedom per GPU, the parallel efficiency is between 0.85 and 0.95 in both cases on 512 H100 GPUs, 1024 graphics compute dies of AMD MI250X and 256 MI300A. On both CPUs and GPUs, activating chemistry multiplies the cost per degree of freedom by two to 2.5, with nearly the same or a higher parallel efficiency.
Create a lesson
Metadata
- Comments
- Submitted to Computer Physics Communications
Related papers
Adjoint shape optimization of VLEO satellites for drag reduction in multi-species rarefied gas flows
Shared title terminologyphysics.comp-phYanbing Zhang, Ruifeng Yuan, Lei Wu
BiGraFV: A K-Orthogonal Bipartite Graph Reduction for Scalable Fracture Flow and Reactive Transport Simulation
Shared title terminologyphysics.comp-phCollin R. Sutton, Alexis Navarre-Sitchler, Jeffrey D. Hyman
Robustness and Performance of Linear Solvers for Cardiovascular Fluid-Structure Interaction Simulations
Shared title terminologyphysics.comp-phZheyi Chu, Chi Zhu
ForSCF: Portable Multicore and Multi-GPU Fock Builds for Electronic Structure Calculations
Shared title terminologyphysics.comp-phMiguel Alonso Mediavilla, Mark Nicholas Jones, Stephan P. A. Sauer
Modeling of Chemically Reactive Gas Flows for Multi-Scale Problems
Shared title terminologyphysics.comp-phFranziska Tuttas, Marcel Pfeiffer
A shock-fitting approach to high-order simulation of viscous hypersonic flows based on inviscid implicit shock tracking
Shared title terminologyphysics.comp-phHuijing Dong, Alexander M. Perez Reyes, Matthew J. Zahr