Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

Could NOT find MKL

zidane__ali
Beginner
1,483 Views

I'm having an issue with the following cmake script

find_path(MKL_INCLUDE_DIR NAMES mkl.h HINTS $ENV{MKLROOT}/include)

i set the environment as follows:

SET(ENV{MKLROOT} "/home/usr/intel/mkl:$ENV{MKLROOT}")

but keep getting the error

  Could not find a package configuration file provided by "MKL" with any of
  the following names:

    MKLConfig.cmake
    mkl-config.cmake

0 Kudos
0 Replies
Reply