How to remedy loadlibrary failure when trying to load libippm?
2 次查看(过去 30 天)
显示 更早的评论
On a CentOS 7 box, I am trying to use loadlibrary to use Intel's Integrated Performance Primitives (IPP) with Intel's C/C++ Compiler (ICC), but my attempts fail with each attempt to load libippm. The error message shows the compile command that fails and then explains the following.
Compile command that appears when using loadlibrary:
icc -I"<path to /matlab/r2021b/base/extern/include>"
-fexceptions -fPIC -fno-omit-frame-pointer -pthread
-I"<path to directory of m-files>"
-I"<path to IPP include directory>"
"libippm_thunk_glnxa64.c"
-LD -Fe "libippm_thunk_glnxa64.so"
Error explanation:
icc: command line warning #10006: ignoring unknown option '-Felibippm_thunk_glnxa64.so'
/lib64/crt1.so:
In function `_start': (.text+0x20): undefined reference to `main'
Possibly pertinent information:
When I look at compilation configurations with the following commands, I see no linker for the C compiler option.
cc = mex.getCompilerConfigurations
cc.LinkerName
cc.LinkerName for the C option (and the FORTRAN option) is a 0x0 empty char array.
I get the same kind of error message when I try to load libmkl_rt.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 C Shared Library Integration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!