link to MKL with icc
@@ -89,11 +89,20 @@ plasma-installer_%{version}/setup.py \
--cc=${CC} \
--fc=${FC} \
--notesting \
+%if %{compiler_family} == gnu7
--cflags="${RPM_OPT_FLAGS} ${PIC_OPT} -I${OPENBLAS_INC}" \
--fflags="${RPM_OPT_FLAGS} ${PIC_OPT} -I${OPENBLAS_INC}" \
--blaslib="-L${OPENBLAS_LIB} -lopenblas" \
--cblaslib="-L${OPENBLAS_LIB} -lopenblas" \
--lapacklib="-L${SCALAPACK_LIB} -lscalapack" \
+%endif
+%if %{compiler_family} == intel
+ --cflags="${RPM_OPT_FLAGS} ${PIC_OPT}" \
+ --fflags="${RPM_OPT_FLAGS} ${PIC_OPT}" \
+ --blaslib="-L/intel/mkl/lib/em64t -lmkl_intel_lp64 -lmkl_sequential -lmkl_core" \
+ --cblaslib="-L/intel/mkl/lib/em64t -lmkl_intel_lp64 -lmkl_sequential -lmkl_core" \
+ --lapacklib="-L/intel/mkl/lib/em64t -lmkl_intel_lp64 -lmkl_sequential -lmkl_core" \
+%endif
--downlapc
#
