Use serial MKL with non Intel compiler by default.

This commit is contained in:
Ye Luo 2020-10-30 23:00:04 -05:00
parent a813e278b7
commit d3c1cef7d7
2 changed files with 1 additions and 3 deletions

View File

@ -1,5 +1,4 @@
# Check compiler version
SET(INTEL_COMPILER 1)
IF ( CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19.0 )
MESSAGE(FATAL_ERROR "Requires Intel 19.0 or higher ")
ENDIF()

View File

@ -317,7 +317,6 @@ IF(CMAKE_TOOLCHAIN_FILE)
ELSE(CMAKE_TOOLCHAIN_FILE)
MESSAGE(STATUS "Trying to figure out .....")
SET(ENABLE_OPENMP 0)
SET(INTEL_COMPILER 0)
SET(HAVE_ACML 0)
######################################################
@ -520,7 +519,7 @@ FOREACH(MKL_LIB_PATH IN ITEMS ${MKL_ROOT} $ENV{MKL_ROOT} $ENV{MKLROOT} $ENV{MKL_
ENDFOREACH()
IF(NOT BLA_VENDOR)
MESSAGE(STATUS "Trying to find LAPACK from Intel MKL")
IF(QMC_OMP)
IF(QMC_OMP AND CMAKE_CXX_COMPILER_ID MATCHES "Intel" )
SET(BLA_VENDOR Intel10_64lp)
ELSE()
SET(BLA_VENDOR Intel10_64lp_seq)