Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Run 2:   # Threads = 8, KMP Offset = 8

 This This will lock each thread to a unique core.  Run 1 will be using 8 cores and Run 2 the other 8 cores.  The total CPU usage will only show 50% because those calculations are based on the total number of threads, i.e. 32.

A typical Intel I7 computer had has from has 4 to 6 cores. The way these cores are handled in the EFDC code is with the KMP_AFFINITY variable, defined as:

...

Note that a "0_RunEFDC" file is created in the model folder each time the EFDC_DSI + model is run. This file tells EE whether the model ran to completion or not as it is deleted on successful model completion. . If the user opens that file then they can see these KMP offset related parameters.


  2381147 Figure 1 illustrates the binding of OpenMP thread to hardware thread contexts when specifying "KMP_AFFINITY=granularity=fine,compact".

...