Skip to content

Commit 378f94e

Browse files
committed
Recover find_package(MKL NO_MODULE) in FindMKL.cmake
2 parents fc2aa44 + f245f8e commit 378f94e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,6 @@ endif()
463463
if(MKLROOT)
464464
set(MKL_INTERFACE lp64)
465465
set(ENABLE_SCALAPACK ON)
466-
# set(MKL_SYCL_DISTRIBUTED_DFT OFF CACHE BOOL "Disable SYCL distributed DFT")
467466
find_package(MKL REQUIRED)
468467
add_definitions(-D__MKL)
469468
include_directories(${MKL_INCLUDE} ${MKL_INCLUDE}/fftw)
@@ -804,4 +803,4 @@ install(PROGRAMS ${ABACUS_BIN_PATH}
804803

805804
if(ENABLE_COVERAGE)
806805
coverage_evaluate()
807-
endif()
806+
endif()

cmake/FindMKL.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# MKL_INCLUDE - where to find mkl.h, etc.
55
# MKL_FOUND - True if mkl found.
66

7-
# find_package(MKL NO_MODULE) # try using official module first
7+
find_package(MKL NO_MODULE) # try using official module first
88
if(NOT TARGET MKL::MKL)
99

1010
find_path(MKL_INCLUDE mkl_service.h HINTS ${MKLROOT}/include)

0 commit comments

Comments
 (0)