How to remedy loadlibrary failure when trying to load libippm?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur C Shared Library Integration dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!