2,684
edits
Line 86: | Line 86: | ||
== Performance == | == Performance == | ||
Cluster nodes may have different numbers of processors. The algorithm that determines the number of threads used on a node is: | |||
NB = DELPHI / OSCILLATION_RANGE # this may be slightly adjusted by XDS if DATA_RANGE / NB is not integer | |||
if MAXIMUM_NUMBER_OF_PROCESSORS is not specified in XDS.INP then MAXIMUM_NUMBER_OF_PROCESSORS = 99 | |||
NCORE = number of processors in node, obtained by OMP_GET_NUM_PROCS() | |||
number_of_threads = MIN( NB, NCORE, MAXIMUM_NUMBER_OF_PROCESSORS ) | |||
This is implemented in BUILT=20191015 onwards. | |||