mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
misc small edits. Trying to track down threading bug that causes undefined behavior
This commit is contained in:
parent
69d782f315
commit
79bf18efa8
4 changed files with 22 additions and 8 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue