I ran the mklvars to set env for all the MKL varaibles then ran cmake-gui from the command prompt. When I try to "Configure" I get the following errors.
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindBLAS.cmake:612 (message):
A required library with BLAS API not found. Please specify library
Call Stack (most recent call first):
C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindLAPACK.cmake:142 (find_package)
the findBLAS.cmake is calling for sgemm.
Is there a different method for cmake to see MKL?
Please find attached the findBLAS.cmake and findLAPACK.cmake.
Software: Intel Parallel Studio XE 2011
error says : Requried Library BLAS API not found" ..
So, I'm guessing you need to let your program know where BLAS libraries are installed
Could you please set environment variables:
BLAS_LIB_DIR = path to BLAS libraries
LAPACK_LIB_DIR = path to LAPACK libraries
and then rerun cmake-gui again?
FindBLAS.cmake and/or FindLAPACK.cmake are failing to locate your MKL install.
Can you please send me your CMakeLists.txt files? I think we need to specify your environment related information in this file. Which OS (version)are you using?
After looking at your FindBLAS.cmake for mkl fragments for Parallel Studio XE 2011:
1) please use iomp5 library instead of guide or guide40
2) don't use one-level mkl_ia32or mkl_em64t which are from old MKL releases but mkl layers: mkl_intel_lp64;mkl_intel_thread;mkl_core or mkl_intel_ilp64;mkl_intel_thread;mkl_core