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 MKL 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"
Select sticky button color: 
Orange (only for download buttons)
For more complete information about compiler optimizations, see our Optimization Notice.