- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm trying to call some VML functions from Intel Fortran 10.1; the program seems to link all right, but when I come to any VML call I get an unhandled exception. I can't think how to begin to debug this...
Some details: I'm running IVF 10.1.0.13 with MKL 10.0.2. As I have a couple of different modules that want to make use of the VML, I have created a module within my program which consists of simply:
module
MKL include 'mkl_vml.fi'end module MKL
...so that any module wanting to use anyVML functions can simple say 'use MKL' in its definitions. My application compiles and links without error, though it does give three warnings along the way to the effect of :
C:Program FilesIntelMKL10.0.2.019ia32libmkl_c.lib : warning LNK4003: invalid library format; library ignored
...but it's always done this, even before I tried incorporating MKL functions into my program.
At runtime,even the most trivial call to the VML, for example
oldvmlmode=vmlgetmode()
...(where oldvmlmode has been declared as an integer) is enough to provoke the error message:
Access violation reading location 0x00000000.
The most recent entry on the call stack after the latter example is:
Numerics.dll!_mkl_vml_core_ax_vml_GetMode() + 0xd bytes
(where Numerics.dll is the name of my application, which is being called by a MATLAB program). Needless to say I'm baffled by this, and can't even think what to do next in the way of debugging it. Any suggestions would be very welcome.
Link Copied
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page