mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 21:25:36 -04:00
Forcing number of threads to one for a dagmc run and letting the user know.
This commit is contained in:
parent
7b881c8317
commit
e1361d615c
1 changed files with 5 additions and 0 deletions
|
|
@ -408,6 +408,11 @@ void read_settings_xml()
|
|||
#endif
|
||||
}
|
||||
|
||||
if (dagmc) {
|
||||
warning("Forcing number of threads to 1 for DAGMC simulation.");
|
||||
omp_set_num_threads(1);
|
||||
}
|
||||
|
||||
// ==========================================================================
|
||||
// EXTERNAL SOURCE
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue