We recently moved to Intel OneAPI MKL in DLA-Future (see https://github.com/eth-cscs/DLA-Future/pull/1073), which broke sirius+dlaf since they both use MKL_FOUND and other equally named variables, but then use sirius::mkl and MKL::MKL, respectively. This leads to
179 The link interface of target "DLAF::LAPACK" contains:
180
181 MKL::MKL
182
183 but the target was not found. Possible reasons include:
(Thanks @albestro for the help spotting that sharing MKL_FOUND was the root of the problem.)
This PR removes the custom
FindMKL.cmake
module in favor of using theMKLConfig.cmake
provided by Intel OneAPI MKL (since version2021.3
).intel-mkl
is now deprecated in Spack (see https://github.com/spack/spack/pull/41488), and the last release is2020.4.30
.We recently moved to Intel OneAPI MKL in DLA-Future (see https://github.com/eth-cscs/DLA-Future/pull/1073), which broke
sirius+dlaf
since they both useMKL_FOUND
and other equally named variables, but then usesirius::mkl
andMKL::MKL
, respectively. This leads to(Thanks @albestro for the help spotting that sharing
MKL_FOUND
was the root of the problem.)