We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbf6cf1 commit edc877fCopy full SHA for edc877f
python/pyabacus/CMakeLists.txt
@@ -33,9 +33,9 @@ if(MKLROOT)
33
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
34
add_link_options(${OpenMP_CXX_LIBRARIES})
35
endif()
36
- find_package(IntelMKL REQUIRED)
+ find_package(MKL REQUIRED)
37
add_definitions(-D__MKL)
38
- include_directories(${MKL_INCLUDE_DIRS} ${MKL_INCLUDE_DIRS}/fftw)
+ include_directories(${MKL_INCLUDE} ${MKL_INCLUDE}/fftw)
39
40
# Since libtorch will find its own MKL, the fftw part conflicts with the original one.
41
# When enable deepks, mkl will be linked within ${TORCH_LIBRARIES}.
0 commit comments