Versions Compared

Key

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

The user may also set the KMP Offset, which is the core offset for the current run. The KMP Offset relates to the number of cores already being used by the system, and is therefore usually set to zero. The KMP Offset should only be adjusted if the user wishes to run more than one model on the same machine. In order to run second model the KMP Offset should be set to the number of cores being used in the already running model. For example, assume a system comprising a Xeon Processer with 6 cores (12 threads), is already running a model on 2 cores (where KMP Offset had been set to 0). If the user wishes to run a second model, they then should set the KMP Offset to 2 and the OMP threads to 4.

 

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

...