Avoiding calls to kernel32.dll (djacobix i.c.w. xPC target)

Avoiding calls to kernel32.dll (djacobix i.c.w. xPC target)

Hi everyone,I want to use the intel MKL function djacobix (numerial differences for gradient/jacobian estimation) on real time hardware using xPC-target (a Mathworks Simulink family product). The functions are written in C.I ran into issues since the xPC kernel does not support specific calls to the kernel32.dll. I am getting an error: unable to load DLL dependency: KERNEL32.dll.GetProcessAffinityMask.My question therefor is: Would it be possible to bypass these function calls and still use the djacobix function?More information here: http://www.mathworks.com/matlabcentral/newsreader/view_thread/322752#886231

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

We have no experience how to do that - but one of our expert recomend to link statically and with serial version of MKL.

Using the serial version of MKL sounds like a good idea! Where can I find it? I found this, but the links are dead. I also cannot find information in the current user guide.http://redfort-software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-where-can-i-find-the-serial-non-threaded-version-of-intel-mkl/

I already link statically. I am not sure about the terminlology, but I just include three .lib files and about 20 headers.

all sequential ( non-threaded ) binaries available in every packages of MKL. how to to link with sequential version of Intel MKL - see Linker Adviser

Leave a Comment

Please sign in to add a comment. Not a member? Join today