mirror of https://github.com/QMCPACK/qmcpack.git
Use serial MKL with non Intel compiler by default.
This commit is contained in:
parent
a813e278b7
commit
d3c1cef7d7
|
@ -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()
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue