Skip to content

Commit fc2aa44

Browse files
committed
Since libmkl_sycl_distributed_dft.so can be correctly found, we try to turn on SYCL
1 parent 8e67fbe commit fc2aa44

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ 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")
466+
# set(MKL_SYCL_DISTRIBUTED_DFT OFF CACHE BOOL "Disable SYCL distributed DFT")
467467
find_package(MKL REQUIRED)
468468
add_definitions(-D__MKL)
469469
include_directories(${MKL_INCLUDE} ${MKL_INCLUDE}/fftw)

Dockerfile.intel

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ RUN export LD_LIBRARY_PATH=${GKLIB_ROOT}/lib:${METIS32_ROOT}/lib:${PARMETIS32_RO
8181
cd /tmp && git clone https://github.com/deepmodeling/abacus-develop.git --depth 1 && \
8282
cd abacus-develop && \
8383
cmake -B build \
84-
-DMKL_SYCL=OFF \
85-
-DMKL_SYCL_DISTRIBUTED_DFT=OFF \
8684
-DENABLE_MLALGO=ON \
8785
-DENABLE_LIBXC=ON \
8886
-DENABLE_LIBRI=ON \
@@ -92,6 +90,7 @@ RUN export LD_LIBRARY_PATH=${GKLIB_ROOT}/lib:${METIS32_ROOT}/lib:${PARMETIS32_RO
9290
cmake --install build && \
9391
(/usr/local/bin/abacus --version || echo "ABACUS installed but version check failed") && \
9492
rm -rf /tmp/abacus-develop
95-
93+
# -DMKL_SYCL=OFF \
94+
# -DMKL_SYCL_DISTRIBUTED_DFT:BOOL=OFF \
9695
# Default entry
9796
CMD ["/bin/bash"]

0 commit comments

Comments
 (0)