Hello!
I'm trying to build Elemental on cluster using Intel Compiler + Intel MKL + IntelMPI toolchain.
Using following cmake command:
cmake -D CMAKE_INSTALL_PREFIX=/home/ag/lib/elemental -D CMAKE_CXX_COMPILER=mpiicc -D CMAKE_C_COMPILER=mpiicc -D CMAKE_Fortran_COMPILER=mpiifort -D MATH_LIBS="-L/usr/local/opt/intel/composer_xe_2011_sp1.6.233/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lm" ..
I end up with error:
-- Using user-defined MATH_LIBS=-L/usr/local/opt/intel/composer_xe_2011_sp1.6.233/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lm
-- Looking for daxpy
-- Looking for daxpy - not found
-- Looking for daxpy_
-- Looking for daxpy_ - not found
CMake Error at CMakeLists.txt:316 (message):
Could not determine BLAS format.
At the same time nm tells me there is BLAS:
elemental/build> nm /usr/local/opt/intel/composer_xe_2011_sp1.6.233/mkl/lib/intel64/libmkl_intel_lp64.so | grep daxpy 0000000000113b70 T cblas_daxpy
0000000000113bb0 T cblas_daxpyi
0000000000103c30 T daxpy
0000000000103c30 T daxpy_
0000000000100540 T daxpyi
0000000000100540 T daxpyi_
U mkl_blas_daxpy
U mkl_blas_daxpyi
Any ideas why cmake can not find BLAS?
Thanks.