- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
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
location.
Call Stack (most recent call first):
C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindLAPACK.cmake:142 (find_package)
C:/stuff/stuff.cmake:14 (find_package)
CMakeLists.txt:43 (include)
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.
FindBLAS.cmake
FindLAPACK.cmake
Software: Intel Parallel Studio XE 2011
Thanks,
F
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
location.
Call Stack (most recent call first):
C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindLAPACK.cmake:142 (find_package)
C:/stuff/stuff.cmake:14 (find_package)
CMakeLists.txt:43 (include)
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.
FindBLAS.cmake
FindLAPACK.cmake
Software: Intel Parallel Studio XE 2011
Thanks,
F
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
--Sridevi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Sridevi,
I tried running the mklvars and setting the BLAS_LIB_DIR and LAPACK_LIB_DIR variables but I recieve the same errors.
I tried running the mklvars and setting the BLAS_LIB_DIR and LAPACK_LIB_DIR variables but I recieve the same errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
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
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

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page