#828: num-threads set in the machine files is never used as default value ------------------------+--------------------------------------------------- Reporter: alibeck | Owner: eschnett Type: defect | Status: new Priority: minor | Milestone: Component: SimFactory | Version: ET_2011_05 Keywords: | ------------------------+--------------------------------------------------- If I set in a mdb/machine ini file
num-threads = xx
this value is never used e.g. as @NUM_THREADS@ in a SubmitScript or a RunScript, if --num-threads is not set on the command line. Instead of this, always a value of 1 is used as default.
Of course this might make sense, if we want to set no OpenMP as default, but then is does ot make sense to set num-threads to a value different of 1 in the machines ini file, or even more, it does not make sense to set num-threads to anything in the machines ini files.
#828: num-threads set in the machine files is never used as default value -------------------------+-------------------------------------------------- Reporter: alibeck | Owner: eschnett Type: defect | Status: new Priority: minor | Milestone: Component: SimFactory | Version: ET_2011_05 Resolution: | Keywords: -------------------------+--------------------------------------------------
Comment (by eschnett):
The ini files contain not only information that is directly used, but also provide a generic description of the systems. In this case, num-threads is "a good number of threads to use" on the particular system. For example, a tool may want to query or display this information, e.g. to run benchmarks on a system.
Also, the current version of Simfactory does use OpenMP by default, and does use this MDB entry by default.
#828: num-threads set in the machine files is never used as default value -------------------------+-------------------------------------------------- Reporter: alibeck | Owner: eschnett Type: defect | Status: closed Priority: minor | Milestone: Component: SimFactory | Version: ET_2011_05 Resolution: invalid | Keywords: -------------------------+-------------------------------------------------- Changes (by hinder):
* status: new => closed * resolution: => invalid
trac@lists.einsteintoolkit.org