Putting dagmc setting in an ifdef.

This commit is contained in:
pshriwise 2018-10-01 20:09:00 +00:00
parent e1361d615c
commit 82f68c4411

View file

@ -408,10 +408,12 @@ void read_settings_xml()
#endif
}
#ifdef _OPENMP
if (dagmc) {
warning("Forcing number of threads to 1 for DAGMC simulation.");
omp_set_num_threads(1);
}
#endif
// ==========================================================================
// EXTERNAL SOURCE