[cmake-developers] [CMake 0013543]: FindBLAS.cmake fails to find Intel10_64lp on OS X with MKL 10.3 and GCC

Mantis Bug Tracker mantis at public.kitware.com
Sun Sep 16 21:59:56 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=13543 
====================================================================== 
Reported By:                Jakob Bauer
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13543
Category:                   Modules
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-09-16 21:59 EDT
Last Modified:              2012-09-16 21:59 EDT
====================================================================== 
Summary:                    FindBLAS.cmake fails to find Intel10_64lp on OS X
with MKL 10.3 and GCC
Description: 
FindBLAS.cmake always fails to find Intel10_64lp on OS X. At line 518 of the
module, the following libraries are set:   
     mkl_intel_lp64 mkl_gnu_thread mkl_core gomp

mkl_gnu_thread does not ship with OS X, however. According to the MKL link line
advisor
(http://software.intel.com/sites/products/mkl/MKL_Link_Line_Advisor.html), the
user should instead link against mkl_intel_thread. For reference, on
MKL_Link_Line_Advisor I employ the following options:

Select Intel® product: Intel(R) MKL 10.3
Select OS:	Mac OS X
Select compiler: GNU C/C++
Select architecture: Intel(R) 64
Select dynamic or static linking: Static
Select interface layer: LP64 (32-bit integer)
Select sequential or multi-threaded layer:	 Multi-threaded
Select OpenMP library: Intel(R) (libiomp5)
(all other options unchecked)

Steps to Reproduce: 
set( ENV{BLA_VENDOR} Intel10_64lp )
find_package( BLAS REQUIRED )

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-09-16 21:59 Jakob Bauer    New Issue                                    
======================================================================




More information about the cmake-developers mailing list