When building Intel® oneAPI Math Kernel Library (oneMKL) code examples, you can select a compiler:
For Fortran examples: Intel® compiler
For C examples: Intel, Clang*, or GNU* compiler
Intel® oneAPI Math Kernel Library (oneMKL) provides a set of include files to simplify program development by specifying enumerated values and prototypes for the respective functions. Calling Intel® oneAPI Math Kernel Library (oneMKL) functions from your application without an appropriate include file may lead to incorrect behavior of the functions.