<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>In your MKL installation, do you have the mkl_link_tool in the mkl/tools folder?<br><br>Tim<br><br><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Andreas Voegel" <andreasvoegel@gmail.com><br><b>To: </b>cmake@cmake.org<br><b>Sent: </b>Wednesday, February 1, 2012 1:11:02 AM<br><b>Subject: </b>[CMake] Intel MKL with FindBLAS and FindLAPACK on OS X?<br><br>I am trying to include Intel's MKL in my project by including the following in my CMakeLists.txt file:<div><br></div><div>set( ENV{BLA_VENDOR} "Intel10_64lp" )</div><div>find_package (LAPACK)<div><br></div><div>
Unfortunately, when I execute cmake I receive the following errors:</div><div>-- A library with BLAS API not found. Please specify library location.</div><div><div>-- LAPACK requires BLAS</div><div>-- A library with LAPACK API not found. Please specify library location.</div>
</div><div><br></div><div>If I instead use set( ENV{BLA_VENDOR} "Apple" ) in my CMakeLists.txt file, the Accelerate framework is successfully located. This, of course, leads me to believe that FindBLAS.cmake and/or FindLAPACK.cmake fail to locate my MKL install.</div>
<div><br></div><div>The contents of my DYLD_LIBRARY_PATH environment variable are: /opt/intel/composer_xe_2011_sp1.8.269/compiler/lib:/opt/intel/composer_xe_2011_sp1.8.269/compiler/lib/intel64:/opt/intel/composer_xe_2011_sp1.8.269/ipp/../compiler/lib:/opt/intel/composer_xe_2011_sp1.8.269/ipp/lib:/opt/intel/composer_xe_2011_sp1.8.269/compiler/lib:/opt/intel/composer_xe_2011_sp1.8.269/mkl/lib:/opt/intel/composer_xe_2011_sp1.8.269/tbb/lib</div>
<div><br></div><div>Is there anything special I need to do to get FindLAPACK to locate my install? Is there some way I can force cmake to give me more information to help debug this problem?</div><div><br></div><div>Thank you for your advice.</div>
<div><br></div><div>Best regards,</div><div>Andreas</div></div>
<br>--<br><br>Powered by www.kitware.com<br><br>Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br><br>Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ<br><br>Follow this link to subscribe/unsubscribe:<br>http://www.cmake.org/mailman/listinfo/cmake</div><br></div></body></html>