-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu 22.04 building fail: cmake & MKL #14
Comments
Hello! My college has checked this problem, thanks @RyanTaoLiu About the Intel-MKL, I used the tools from https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-download.html?operatingsystem=linux&distributions=offline. And after installing, there will be a "setvars.sh" in the install dir. use |
Thanks, I was able to move forward, but it still doesn't succeed. Here the full installation steps:
Downloading installer shell-script file: https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-download.html?operatingsystem=linux&distributions=offline then
but still fails with
any package am I still missing? @RyanTaoLiu |
Thanks, I set this referred by https://www.intel.com/content/www/us/en/docs/onemkl/developer-guide-macos/2023-1/cmake-config-for-onemkl.html. I am not sure any errors happen, if you could comment out those 3 lines about "target link and include", $<TARGET_PROPERTY:MKL::MKL,INTERFACE_COMPILE_OPTIONS> around GLKLib/CMakeLists.txt:40. |
I commented out
so I commented out
when I ran into another error:
I installed |
Sorry for reply too late. In my point of view, |
just my 2cents: I always use Plocate to find the stuff and link them manually, that is usually what is needed on *nix OSs. Install plocate, run |
@Spiritdude how did you fix the MKL error? I'm stuck at the same point. Did you made a tutorial how do you installed it? |
|
I used branch 'main-ubuntu', and I struggle with
(One|Intel-)MKL
andcmake
.My steps:
and then
I found
FindMKL.cmake
at https://github.com/marian-nmt/marian-dev/blob/master/cmake/FindMKL.cmake and copied to/usr/local/share/cmake-3.24/Modules/
, but didn't help either, as it's missingMKLROOT
being set, which according some reports needs to be/usr
but that didn't work either.Can you describe the exact steps (like required packages) you got it compiled on Ubuntu 20.04 or 22.04?
My setup:
Ubuntu 22.04.2 LTS
The text was updated successfully, but these errors were encountered: