DOE PAGES title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: CSPlib: A performance portable parallel software toolkit for analyzing complex kinetic mechanisms

Journal Article · · Computer Physics Communications
ORCiD logo [1];  [1];  [2];  [3]
  1. Sandia National Lab. (SNL-NM), Albuquerque, NM (United States). Center for Computing Research
  2. Sandia National Lab. (SNL-CA), Livermore, CA (United States). Quantitative Modeling and Analysis
  3. Sandia National Lab. (SNL-CA), Livermore, CA (United States). Combustion Research Facility

Computational singular perturbation (CSP) is a method to analyze dynamical systems. It targets the decoupling of fast and slow dynamics using an alternate linear expansion of the right-hand side of the governing equations based on eigenanalysis of the associated Jacobian matrix. This representation facilitates diagnostic analysis, detection and control of stiffness, and the development of simplified models. For this work, we have implemented CSP in a C++ open-source library CSPlib using the Kokkos parallel programming model to address portability across diverse heterogeneous computing platforms, i.e., multi/many-core CPUs and GPUs. We describe the CSPlib implementation and present its computational performance across different computing platforms using several test problems. Specifically, we test the CSPlib performance for a constant pressure ignition reactor model on different architectures, including IBM Power 9, Intel Xeon Skylake, and NVIDIA V100 GPU. The size of the chemical kinetic mechanism is varied in these tests. As expected, the Jacobian matrix evaluation, the eigensolution of the Jacobian matrix, and matrix inversion are the most expensive computational tasks. When considering the higher throughput characteristic of GPUs, GPUs performs better for small matrices with higher occupancy rate. CPUs gain more advantages from the higher performance of well-tuned and optimized linear algebra libraries such as OpenBLAS.

Research Organization:
Sandia National Laboratories (SNL-NM), Albuquerque, NM (United States)
Sponsoring Organization:
USDOE National Nuclear Security Administration (NNSA); USDOE Office of Science (SC), Basic Energy Sciences (BES). Chemical Sciences, Geosciences & Biosciences Division (CSGB)
Grant/Contract Number:
NA0003525
OSTI ID:
2311381
Alternate ID(s):
OSTI ID: 2369133
Report Number(s):
SAND--2024-00111J
Journal Information:
Computer Physics Communications, Journal Name: Computer Physics Communications Vol. 297; ISSN 0010-4655
Publisher:
ElsevierCopyright Statement
Country of Publication:
United States
Language:
English

References (41)

Skeletal mechanism generation and analysis for n-heptane with CSP journal January 2007
Diffusion maps journal July 2006
Dynamical system analysis of ignition phenomena using the Tangential Stretching Rate concept journal August 2015
On the Construction and Use of Reduced Chemical Kinetic Mechanisms Produced on the Basis of Given Algebraic Relations journal October 1996
Kokkos 3: Programming Model Extensions for the Exascale Era journal January 2021
The Kokkos EcoSystem: Comprehensive Performance Portability For High Performance Computing journal January 2021
Survey on Probabilistic Models of Low-Rank Matrix Factorizations journal August 2017
Skeletal mechanism generation with CSP and validation for premixed n-heptane flames journal January 2009
The QR Transformation A Unitary Analogue to the LR Transformation--Part 1 journal March 1961
Higher order corrections in the approximation of low-dimensional manifolds and the construction of simplified problems with the CSP method journal November 2005
Multi-stage heat release in lean combustion: Insights from coupled tangential stretching rate (TSR) and computational singular perturbation (CSP) analysis journal September 2020
Analysis of n-heptane auto-ignition characteristics using computational singular perturbation journal January 2013
Methods of Model Reduction for Large-Scale Biological Systems: A Survey of Current Methods and Trends journal June 2017
The Computational Singular Perturbation/Perfectly Stirred Reactor Approach in Reduced Chemistry of Premixed Ethanol Combustion journal May 2017
A CSP and tabulation-based adaptive chemistry model journal February 2007
TChem: A performance portable parallel software toolkit for complex kinetic mechanisms journal April 2023
Efficient eigenvalue and singular value computations on shared memory machines journal July 1999
Understanding complex chemical kinetics with computational singular perturbation journal January 1989
Analysis of methane–air edge flame structure journal July 2010
Explicit Time-Scale Splitting Algorithm for Stiff Problems: Auto-ignition of Gaseous Mixtures behind a Steady Shock journal May 2001
A study of homogeneous methanol oxidation kinetics using CSP journal January 1992
Development and validation of an n-dodecane skeletal mechanism for spray combustion applications journal March 2014
An algorithm for the construction of global reduced mechanisms with CSP data journal June 1999
Hierarchical and comparative kinetic modeling of laminar flame speeds of hydrocarbon and oxygenated fuels journal August 2012
Reduced kinetic mechanism for methane ignition journal January 1992
Issues arising in the construction of QSSA mechanisms: the case of reduced n-heptane/air models for premixed flames journal June 2018
An automatic procedure for the simplification of chemical kinetic mechanisms based on CSP journal July 2006
CSP analysis of a transient flame-vortex interaction journal July 2003
Using CSP to Understand Complex Chemical Kinetics journal March 1993
Kinetic modeling of gasoline surrogate components and mixtures under engine conditions journal January 2011
A Comprehensive Reaction Mechanism For Carbon Monoxide/Hydrogen/Oxygen Kinetics journal September 1991
Model Reduction and Physical Understanding of Slowly Oscillating Processes: The Circadian Cycle journal January 2006
The CSP method for simplifying kinetics journal April 1994
PyCSP: A Python package for the analysis and simplification of chemically reacting systems based on Computational Singular Perturbation journal July 2022
Kokkos: Enabling manycore performance portability through polymorphic memory access patterns journal December 2014
Structure of n-heptane/air triple flames in partially-premixed mixing layers journal November 2011
The QR Transformation--Part 2 journal April 1962
Enhancements of the G-Scheme Framework journal June 2018
Chemical model reduction under uncertainty journal May 2017
Computational singular perturbation analysis of brain lactate metabolism journal December 2019
Diffusion Maps, Reduction Coordinates, and Low Dimensional Representation of Stochastic Systems journal January 2008