#530: Change default for --num-threads --------------------------+------------------------------------------------- Reporter: eschnett | Owner: hinder Type: enhancement | Status: assigned Priority: major | Milestone: Component: SimFactory | Version: Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by eschnett):
My apologies for missing the discussion. I dislike the idea of introducing a global variable for this.
If people want to use only a single thread, they can (a) use the --num- threads option, or (b) build without OpenMP, or (c) change the settings in their defs.local.ini file. A global variable complicates things for everybody, and is really just a sign that we do not dare to make a choice ourselves. However, this is just what Simfactory is supposed to do -- make choices so that people don't have to care. Since with think that OpenMP works fine, and since the majority of our code (McLachlan, GRHydro) have been parallelised, we should simply make the switch. Or was there somebody in the discussion who mentioned an actual problem that would arise?