-
Notifications
You must be signed in to change notification settings - Fork 264
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
Doesn't build without docker. libiomp5 not found #1703
Comments
Disable OpenMP in CmakeList. Here:
|
Does this disable non-CUDA computations completely? I'm not really familiar with OpenMP and such, so i'm not sure whether this is the solution or just a bandaid The build files generated correctly though, i've managed to install libctranslate2 successfully! |
@alexlnkp Can you update full log of cmake? I think you have to review the process of installing
to:
Otherwise, related to the clean-chroot-build error, I think you don't have the correct version of gcc (14). See this. |
$ pkgconf --cflags --libs openmp
-I/opt/intel/oneapi/compiler/latest/linux/compiler/include -L/opt/intel/oneapi/compiler/latest/linux/compiler/lib/intel64/ -liomp5
Didn't seem to help either... The results were practically the same.
With changes (MKL_ROOT is set):
Didn't seem that way at the time, but I'll look into that. |
Try change: |
Okay, so i made it work.
Turns out it's not MKL_ROOT env variable, it's $ export INTELROOT=/opt/intel/ or $ export MKLROOT=/opt/intel/oneapi or $ export ONEAPI_ROOT=/opt/intel/oneapi Made it work. As it turns out, by default,
Didn't seem to change anything at all for me. It might be more "correct", though, my issue is not related to this. I believe that the issue is with the CMakeLists.txt file itself, since it makes sense that the |
Getting
Intel OpenMP runtime libiomp5 not found
error, even though i DO have libiomp5.System info:
Env vars:
Location of libiomp5.so and libiomp5_db.so:
/opt/intel/oneapi/lib/intel64/libiomp5*.so
Tried setting MKLROOT to paths like
/opt/intel/mkl/
and/opt/intel/
, nothing.I installed mkl as a package using pacman, here are all the intel-related packages i have:
CMake and stuff:
Tried building on master branch and few latest tags, none of those worked.
Tried using a package on AUR of arch, ctranslate2
Didn't work regularly, tried to build in a clean chroot but to not avail either.
Here's the error message for the clean-chroot-build error, just in case:
The text was updated successfully, but these errors were encountered: