Setting the Environment Variable for Conditional Numerical Reproducibility
The following examples illustrate the use of the
to run in the CNR mode based on the default dispatching for your platform. The other two commands
MKL_CBWR
environment variable. The first command
in each list
sets
Intel® oneAPI Math Kernel Library
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"