<div dir="ltr"><div><p class="MsoNormal" style="font-size:12pt;margin:0in;font-family:Calibri,sans-serif"><span style="font-size:11pt"><font color="#000000">Hello,</font></span></p><p class="MsoNormal" style="font-size:12pt;margin:0in;font-family:Calibri,sans-serif"><span style="font-size:11pt"><font color="#000000"> </font></span></p><p class="MsoNormal" style="font-size:12pt;margin:0in;font-family:Calibri,sans-serif"><span style="font-size:11pt"><font color="#000000">I have trying to build dmritool with MKL library. In the  ccmake ../dmritool , configure and generate worked well.</font></span></p><p class="MsoNormal" style="font-size:12pt;margin:0in;font-family:Calibri,sans-serif"><span style="font-size:11pt"><font color="#000000"> </font></span></p><p class="MsoNormal" style="font-size:12pt;margin:0in;font-family:Calibri,sans-serif"><span style="font-size:11pt"><font color="#000000">The error occurs when I try to run “make”. Screenshots attached for further clarification. I noticed that MKL library I have installed is not the version that’s downloaded and installed. And although configure says it found the MKL directory (as follows) it looks like MKL_INCLUDE_DIR, MKL_LIB_DIR these directories don’t exist. I’m not sure how I can update these wrong references. I think these variables are auto-generated somehow based on MKLROOT_PATH. But I didn’t have any luck playing with it.</font></span></p><p class="MsoNormal" style="font-size:12pt;margin:0in;font-family:Calibri,sans-serif"><span style="font-size:11pt"><font color="#000000"> </font></span></p><p class="gmail-p1" style="margin:0in;background-color:rgb(21,21,21);font-size:8.5pt;font-family:Menlo;color:rgb(214,235,213)"><span class="gmail-s1">MKL is found at /opt/intel/mkl</span></p><p class="gmail-p1" style="margin:0in;background-color:rgb(21,21,21);font-size:8.5pt;font-family:Menlo;color:rgb(214,235,213)"><span class="gmail-apple-converted-space"> </span><span class="gmail-s1">Found MKL libraries: libmkl_intel_lp64.so;libmkl_intel_thread.so;libmkl_core.so;libmkl_def.so;iomp5;m;pthread</span></p><p class="gmail-p1" style="margin:0in;background-color:rgb(21,21,21);font-size:8.5pt;font-family:Menlo;color:rgb(214,235,213)"><span class="gmail-apple-converted-space"> </span><span class="gmail-s1">MKL_INCLUDE_DIR: /opt/intel/mkl/include</span></p><p class="gmail-p1" style="margin:0in;background-color:rgb(21,21,21);font-size:8.5pt;font-family:Menlo;color:rgb(214,235,213)"><span class="gmail-apple-converted-space"> </span><span class="gmail-s1">MKL_LIB_DIR: /opt/intel/mkl/lib/intel64</span></p><p class="gmail-p1" style="margin:0in;background-color:rgb(21,21,21);font-size:8.5pt;font-family:Menlo;color:rgb(214,235,213)"><span class="gmail-apple-converted-space"> </span><span class="gmail-s1">MKL_COMPILER_LIB_DIR: /opt/intel/compiler/lib/intel64;/opt/intel/lib/intel64</span></p><p class="gmail-p1" style="margin:0in;background-color:rgb(21,21,21);font-size:8.5pt;font-family:Menlo;color:rgb(214,235,213)"><span class="gmail-apple-converted-space"> </span><span class="gmail-s1">MKL_LIBRARIES=libmkl_intel_lp64.so;libmkl_intel_thread.so;libmkl_core.so;libmkl_def.so;iomp5;m;pthread</span></p><p class="gmail-p1" style="margin:0in;background-color:rgb(21,21,21);font-size:8.5pt;font-family:Menlo;color:rgb(214,235,213)"><span class="gmail-apple-converted-space"> </span><span class="gmail-s1">BLAS_LIBRARIES=libmkl_intel_lp64.so;libmkl_intel_thread.so;libmkl_core.so;libmkl_def.so;iomp5;m;pthread</span></p><p class="gmail-p1" style="margin:0in;background-color:rgb(21,21,21);font-size:8.5pt;font-family:Menlo;color:rgb(214,235,213)"><span class="gmail-apple-converted-space"> </span><span class="gmail-s1">LAPACK_LIBRARIES=libmkl_intel_lp64.so;libmkl_intel_thread.so;libmkl_core.so;libmkl_def.so;iomp5;m;pthread</span></p><p class="MsoNormal" style="font-size:12pt;margin:0in;font-family:Calibri,sans-serif;color:rgb(255,255,255)"><span style="font-size:11pt"> </span></p><p class="MsoNormal" style="font-size:12pt;margin:0in;font-family:Calibri,sans-serif"><span style="font-size:11pt"><font color="#000000"> </font></span></p><p class="MsoNormal" style="font-size:12pt;margin:0in;font-family:Calibri,sans-serif"><span style="font-size:11pt"><font color="#000000">Any help would be greatly appreciated!</font></span></p><p class="MsoNormal" style="font-size:12pt;margin:0in;font-family:Calibri,sans-serif"><span style="font-size:11pt"><font color="#000000"> </font></span></p><p class="MsoNormal" style="font-size:12pt;margin:0in;font-family:Calibri,sans-serif"><span style="font-size:11pt"><font color="#000000">Bests,</font></span></p><p class="MsoNormal" style="font-size:12pt;margin:0in;font-family:Calibri,sans-serif"><span style="font-size:11pt"><font color="#000000">Abrar F</font></span></p></div><div><br></div><div><p class="MsoNormal" style="font-size:12pt;margin:0in;font-family:Calibri,sans-serif;color:rgb(255,255,255)"><span style="font-size:11pt"><br class="gmail-Apple-interchange-newline"> </span></p><p class="MsoNormal" style="font-size:12pt;margin:0in;font-family:Calibri,sans-serif;color:rgb(255,255,255)"><span style="font-size:11pt"><img width="973" height="924" id="gmail-Picture_x0020_3" src="blob:https://mail.google.com/5aa84bab-6248-49f3-8225-9d7da20280fa" style="width: 10.1354in; height: 9.625in;"></span></p></div><img src="cid:ii_l6gme4c40" alt="image.png" width="543" height="516"><br><div><br></div><div><img width="971" height="928" id="gmail-Picture_x0020_4" src="blob:https://mail.google.com/fdc3f2aa-f8f4-466f-b535-24c682971470" style="caret-color: rgb(255, 255, 255); color: rgb(255, 255, 255); font-family: Calibri, sans-serif; font-size: 14.666666984558105px; width: 10.1145in; height: 9.6666in;"><br></div><div><img width="828" height="146" id="gmail-Picture_x0020_5" src="blob:https://mail.google.com/bbfd6aa6-b9d2-45b2-9e1d-e073cb155fb1" style="caret-color: rgb(255, 255, 255); color: rgb(255, 255, 255); font-family: Calibri, sans-serif; font-size: 14.666666984558105px; width: 8.625in; height: 1.5208in;"><br></div><div><br></div></div>