Я пытался построить ngsolve в WSL, и я столкнулся с следующей проблемой, я установил Intel mkl oneapi, но при выполнении "cmake -dcmake_install_prefix = $ {basedir}/ngsolve -install $ {basedir}/ ngsolve-src "Я получаю следующую ошибку: < /p>
CMake Error at /opt/intel/oneapi/mkl/latest/lib/cmake/mkl/MKLConfig.cmake:325 (string):
string sub-command REPLACE requires at least four arguments.
Call Stack (most recent call first):
cmake/cmake_modules/FindMKL.cmake:36 (find_package)
cmake/SuperBuild.cmake:203 (find_package)
CMakeLists.txt:52 (include)
CMake Warning at cmake/cmake_modules/FindMKL.cmake:36 (find_package):
Found package configuration file:
/opt/intel/oneapi/mkl/latest/lib/cmake/mkl/MKLConfig.cmake
but it set MKL_FOUND to FALSE so package "MKL" is considered to be NOT
FOUND. Reason given by package:
The required variable MKL_ROOT has an invalid value "".
Call Stack (most recent call first):
cmake/SuperBuild.cmake:203 (find_package)
CMakeLists.txt:52 (include)
CMake Error at /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find MKL (missing: MKL_INCLUDE_DIR MKL_LIBRARY
MKL_MINIMAL_LIBRARY)
Call Stack (most recent call first):
/usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
cmake/cmake_modules/FindMKL.cmake:151 (find_package_handle_standard_args)
cmake/SuperBuild.cmake:203 (find_package)
CMakeLists.txt:52 (include)
-- Configuring incomplete, errors occurred!
I've tried many solutions on the internet but the folder /opt/intel/oneapi/mkl/latest/lib/cmake/mkl/MKLConfig.cmake doesn't exist, I followed that path and ends with an empty .txt at "latest".
Подробнее здесь: https://stackoverflow.com/questions/794 ... lve-in-wsl
Ошибка с использованием Cmake с Intel MKL OneApi при создании NGSOLE в WSL ⇐ Linux
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение