When building Intel® oneAPI Math Kernel Library (oneMKL) code examples for either C or Fortran, you can select a compiler: Intel®, GNU*, or PGI*.
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.