Fileset for testing thread-safety of TChem
2017-01-19T01:32:31Z (GMT) by
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.