I've used the same code provided in this link How to setup MKL on linux with CMake
But i'm getting this error Could NOT find MKL (missing: MKL_LIBRARIES MKL_INCLUDE_DIRS
I've tried to set MKLROOT to the following SET(ENV{MKLROOT} "/home/usr/intel/mkl:$ENV{MKLROOT}")
This is how findmkl.cmake module looks like without the line of code to set the environment for mklroot (i've used the same code in the link below)
https://gist.github.com/scivision/5108cf6ab1515f581a84cd9ad1ef72aa
i suspect the issue is setting the mklroot but not sure, any help is appreciated.