73 research outputs found

    Accelerating moderately stiff chemical kinetics in reactive-flow simulations using GPUs

    Full text link
    The chemical kinetics ODEs arising from operator-split reactive-flow simulations were solved on GPUs using explicit integration algorithms. Nonstiff chemical kinetics of a hydrogen oxidation mechanism (9 species and 38 irreversible reactions) were computed using the explicit fifth-order Runge-Kutta-Cash-Karp method, and the GPU-accelerated version performed faster than single- and six-core CPU versions by factors of 126 and 25, respectively, for 524,288 ODEs. Moderately stiff kinetics, represented with mechanisms for hydrogen/carbon-monoxide (13 species and 54 irreversible reactions) and methane (53 species and 634 irreversible reactions) oxidation, were computed using the stabilized explicit second-order Runge-Kutta-Chebyshev (RKC) algorithm. The GPU-based RKC implementation demonstrated an increase in performance of nearly 59 and 10 times, for problem sizes consisting of 262,144 ODEs and larger, than the single- and six-core CPU-based RKC algorithms using the hydrogen/carbon-monoxide mechanism. With the methane mechanism, RKC-GPU performed more than 65 and 11 times faster, for problem sizes consisting of 131,072 ODEs and larger, than the single- and six-core RKC-CPU versions, and up to 57 times faster than the six-core CPU-based implicit VODE algorithm on 65,536 ODEs. In the presence of more severe stiffness, such as ethylene oxidation (111 species and 1566 irreversible reactions), RKC-GPU performed more than 17 times faster than RKC-CPU on six cores for 32,768 ODEs and larger, and at best 4.5 times faster than VODE on six CPU cores for 65,536 ODEs. With a larger time step size, RKC-GPU performed at best 2.5 times slower than six-core VODE for 8192 ODEs and larger. Therefore, the need for developing new strategies for integrating stiff chemistry on GPUs was discussed.Comment: 27 pages, LaTeX; corrected typos in Appendix equations A.10 and A.1

    CAMP first GPU solver: a solution to accelerate chemistry in atmospheric models

    Get PDF
    Atmospheric models are a representation of dynamical, physical, chemical, dynamical, and radiative processes in the atmosphere [1]. The load of these models is often spread across multiple processes in HPC environments. Most of this load comes from the resolution of chemical processes, which can take up to 90% of the total time execution [2]. Recent studies reported a relevant speedup by translating a chemical module to GPUs [3] [4]. This study is based in some previous works of the authors. These works are tested in the Chemistry Accross Multiple Phases (CAMP) module [5] simulating the conditions of an atmospheric model experiment. In our first approach we present an strategy to efficiently integrate GPU routines without needing to translate the entire chemical module to GPU code [6]. In our second and last work, we integrated a GPU version of the linear solver used in CAMP and evaluated multiple kernel configurations, achieving up to 34x speedup from the base CPU linear solver in a singlethread execution, in addition to a 2.7x for an equivalent MPI implementation with the maximum number of physical cores available on a node (40) [7]. The main objective of this work is to develop a GPU version of the entire CAMP solving algorithm. Our second objective is to evaluate the performance of our work, comparing the results with other state of the art GPU chemical modules
    • …
    corecore