misc small edits. Trying to track down threading bug that causes undefined behavior

This commit is contained in:
John Tramm 2020-01-06 20:52:48 +00:00
parent 69d782f315
commit 79bf18efa8
4 changed files with 22 additions and 8 deletions

View file

@ -49,10 +49,10 @@ extern const RegularMesh* ufs_mesh;
extern std::vector<double> k_generation;
extern std::vector<int64_t> work_index;
// Threadprivate variables
extern "C" bool trace; //!< flag to show debug information
//// Threadprivate variables
//extern "C" bool trace; //!< flag to show debug information
#pragma omp threadprivate(trace)
//#pragma omp threadprivate(trace)
} // namespace simulation