Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

Compatibility with LabVIEW

mathieularoche
Beginner
334 Views

Hi,

Did anyone tried the MKL with LabVIEW?

I get an error when using the VML functions (vdPowX, Sin, etc.)with LabVIEW.

I created my own .dll which uses some of the VML functions of the library and I get the error:

Access violation reading location 0x00000000.

By tracing it with Visual Studio 2005 in debug mode, I find that the errors happens at the location where it get the mode (HA or LA).

_mkl_vml_core_w7_vml_GetMode:
023D528C mov ecx,dword ptr [__tls_index (240EA0Ch)]
023D5292 mov edx,dword ptr fs:[2Ch]
023D5299 mov eax,dword ptr [edx+ecx*4]
023D529C mov eax,dword ptr [eax+12Ch]

When I use the function daSum(), which is a BLAS 1 function, everything works fine in labVIEW. I only get the error with VML functions so far.

Also, my DLL and the VML functions work correctly whenI run it withVisual Studio 2005.

Any help would be appreciated. Thank you.

0 Kudos
1 Reply
Andrey_G_Intel2
Employee
334 Views
I think, you are trying to create your own DLL directly from static libraries. I`m right?It`s incorrect way for VML&VSL functions. If you want to create your own DLL - use custom DLL builder feature.
0 Kudos
Reply