When I run a specific MEX file I get the message: "Invalid MEX file: The specified module could not be found". The dependency_walker utility seems not to work.

3 vues (au cours des 30 derniers jours)
I create MEX files all the time using Visual Studio 2019 IDE but by using the Intel C++, 19.2 compiler instead of the MS VS C++ compiler. No such problems as described above, only when I include the oneAPI Math Kernel Library. I have tried to run the dependency walker utility as instructed by the MATLAB community on this particular MEX file to see its dependencies:
!D:\Temp\dependency_walker\depends.exe WV_DAMA_SLOW_INV_OpenMP_MKL_MEX64.mexw64
which runs forever! After 1 hour I killed Matlab. I assume this should not take that long, or ??
In any case if there is anyone out there who recognizes this problem or has useful suggestions on how to proceed, please let me know. Your help is very much appreciated.

Réponses (1)

Jan
Jan le 18 Mai 2022
Open the DependencyWalker with a double click. Then select the mex file manually. This should show the report after some seconds.

Catégories

En savoir plus sur MATLAB Compiler dans Help Center et File Exchange

Tags

Produits


Version

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by