[ET Trac] [Einstein Toolkit] #530: Change default for --num-threads

Einstein Toolkit trac-noreply at einsteintoolkit.org
Wed Sep 7 11:34:07 CDT 2011


#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?

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/530#comment:3>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list