I am trying to use MKL's LAPACK subroutine named "DGELS" but I got an error about mkl_avx2.dll. I added screenshot of code and error window.
After breake the debugging at that point I got another window which says "contains the debug information required to find the source for the module mkl_avx2.dll". I also added screen shot of that.
I have checked the path of mkl_avx2.dll and it's in the folder of mkl. Why does this problem occur?
1/ please build your case statically and run this exec file. it will help you to understand if this code works as expected 2/ Dynamic case: copy all mkl dll ( see redist\intel64\mkl directory .... to the folder where you put this executable file. run this exec.