Skip to content

Cannot compile with previous command after #4613 #4636

@maki49

Description

@maki49

Describe the bug

Since 9350441 (#4613), an error occurs when I compile ABACUS with the previous command:

-- Found git: attempting to get commit info...
-- Current commit hash: 9350441c7
-- Last commit date: Wed Jul 10 21:28:59 2024 +0800
-- CUDA components detected, but USE_CUDA is set to OFF. NOT building CUDA version of ABACUS.
-- MKL_ARCH: intel64
-- MKL_LINK: dynamic
CMake Error at /usr/local/lib/cmake/mkl-2023.1.0/MKLConfig.cmake:103 (message):
  Invalid MKL_INTERFACE_FULL `intel_lp64`, options are: intel_ilp64
Call Stack (most recent call first):
  /usr/local/lib/cmake/mkl-2023.1.0/MKLConfig.cmake:168 (mkl_message)
  /usr/local/lib/cmake/mkl-2023.1.0/MKLConfig.cmake:296 (define_param)
  cmake/FindMKL.cmake:7 (find_package)
  CMakeLists.txt:398 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/fortneu49/abacus-develop/build/CMakeFiles/CMakeOutput.log".

Command:

cmake -B build -DCMAKE_CXX_COMPILER=icpx -DMPI_CXX_COMPILER=mpiicpc -DELPA_DIR=/home/fortneu49/soft/elpa/2021.05.002 -DCereal_INCLUDE_DIR=/home/fortneu49/soft/cereal/include -DBUILD_TESTING=1 -DENABLE_LIBXC=1 -DENABLE_LIBRI=1 && cmake --build build   -j32

@caic99 How should I adjust my command after your fix?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions