Developer Guide

  • 2021.1
  • 12/04/2020
  • Public Content
Contents

Setting the Environment Variable for Conditional Numerical Reproducibility

The following examples illustrate the use of the
MKL_CBWR
environment variable. The first command
in each list
sets
Intel® oneAPI Math Kernel Library
to run in the CNR mode based on the default dispatching for your platform. The other two commands
in each list
are equivalent and set the CNR branch to Intel AVX
.
For the bash shell:
  • export MKL_CBWR="AUTO"
  • export MKL_CBWR="AVX"
  • export MKL_CBWR="BRANCH=AVX"
For the C shell (csh or tcsh):
  • setenv MKL_CBWR "AUTO"
  • setenv MKL_CBWR "AVX"
  • setenv MKL_CBWR "BRANCH=AVX"

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.