Developer Guide

Developer Guide for Intel® oneAPI Math Kernel Library Linux*

ID 766690
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of 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 (oneMKL) to run in the CNR mode based on the default dispatching for your platform. The other two commandsin 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"