figshare
Browse
1/1
15 files

Fileset for testing thread-safety of TChem

dataset
posted on 2017-01-19, 01:32 authored by Nick CurtisNick Curtis, Kyle NiemeyerKyle Niemeyer
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.

Funding

NSF ACI-1535065 and ACI-1534688

History