Dissemin is shutting down on January 1st, 2025

Links

Tools

Export citation

Search in Google Scholar

Fileset for testing thread-safety of TChem

Published in 2017 by Nick Curtis, Kyle Niemeyer ORCID
This paper is available in a repository.
This paper is available in a repository.

Full text: Download

Question mark in circle
Preprint: policy unknown
Question mark in circle
Postprint: policy unknown
Question mark in circle
Published version: policy unknown

Abstract

This fileset holds a self-contained example of how TChem is not thread-safe when parallelized with OpenMP. The testing program first uses TChem to evaluate the chemical kinetic Jacobian for a number of thermo-chemical states in an entirely single-threaded (i.e., serial) manner. Next, the tester turns on OpenMP parallelization and re-computes the Jacobian matrices for the same thermo-chemical states. Finally, the tester compares the results from the single-threaded and multi-threaded evaluations, and determines the error relative to the single-threaded version. In all cases tested, significant error is found for the multi-threaded version. See README.md for more information.