<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic SDL-Interface under x64 crashes in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SDL-Interface-under-x64-crashes/m-p/809009#M3663</link>
    <description>Hi @all,&lt;BR /&gt;&lt;BR /&gt;I've got a problem with the new SDL interface.&lt;BR /&gt;Have a look at the following code fragment:&lt;BR /&gt;&lt;BR /&gt; mkl_set_interface_layer(MKL_INTERFACE_ILP64);&lt;BR /&gt;  mkl_set_progress(mkl_progress_);&lt;BR /&gt;&lt;BR /&gt;I'm linking with the mkl_rt.lib.&lt;BR /&gt;When running at a 32bit system, all works fine.&lt;BR /&gt;But on x64 the call to mkl_set_progress() crashes.&lt;BR /&gt;&lt;BR /&gt;In order to test just calling another MKL function I tried to replace it with a call to&lt;BR /&gt;&lt;BR /&gt; ipiv = (MKL_INT*)mkl_malloc(dim*sizeof(MKL_INT),16);&lt;BR /&gt;&lt;BR /&gt;which crashes too.&lt;BR /&gt;&lt;BR /&gt;When I replace the mkl_rt.lib with the three static Libs&lt;BR /&gt;&lt;BR /&gt; mkl_intel_ilp64.lib mkl_intel_thread.lib mkl_core.lib&lt;BR /&gt;&lt;BR /&gt;both calls work fine...&lt;BR /&gt;&lt;BR /&gt;Any ideas what goes wrong?&lt;BR /&gt;Regards&lt;BR /&gt;Andreas&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 03 Feb 2011 11:09:35 GMT</pubDate>
    <dc:creator>Andreas_Rost</dc:creator>
    <dc:date>2011-02-03T11:09:35Z</dc:date>
    <item>
      <title>SDL-Interface under x64 crashes</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SDL-Interface-under-x64-crashes/m-p/809009#M3663</link>
      <description>Hi @all,&lt;BR /&gt;&lt;BR /&gt;I've got a problem with the new SDL interface.&lt;BR /&gt;Have a look at the following code fragment:&lt;BR /&gt;&lt;BR /&gt; mkl_set_interface_layer(MKL_INTERFACE_ILP64);&lt;BR /&gt;  mkl_set_progress(mkl_progress_);&lt;BR /&gt;&lt;BR /&gt;I'm linking with the mkl_rt.lib.&lt;BR /&gt;When running at a 32bit system, all works fine.&lt;BR /&gt;But on x64 the call to mkl_set_progress() crashes.&lt;BR /&gt;&lt;BR /&gt;In order to test just calling another MKL function I tried to replace it with a call to&lt;BR /&gt;&lt;BR /&gt; ipiv = (MKL_INT*)mkl_malloc(dim*sizeof(MKL_INT),16);&lt;BR /&gt;&lt;BR /&gt;which crashes too.&lt;BR /&gt;&lt;BR /&gt;When I replace the mkl_rt.lib with the three static Libs&lt;BR /&gt;&lt;BR /&gt; mkl_intel_ilp64.lib mkl_intel_thread.lib mkl_core.lib&lt;BR /&gt;&lt;BR /&gt;both calls work fine...&lt;BR /&gt;&lt;BR /&gt;Any ideas what goes wrong?&lt;BR /&gt;Regards&lt;BR /&gt;Andreas&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Feb 2011 11:09:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SDL-Interface-under-x64-crashes/m-p/809009#M3663</guid>
      <dc:creator>Andreas_Rost</dc:creator>
      <dc:date>2011-02-03T11:09:35Z</dc:date>
    </item>
    <item>
      <title>SDL-Interface under x64 crashes</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SDL-Interface-under-x64-crashes/m-p/809010#M3664</link>
      <description>Hi Andreas,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;The first idea is to check whether PATH and LIB env. variables refer to the correct path where Intel64 DLLs reside or not. Because in another case the program will crash exactly at the very first call to an MKL function located in any dynamic lib.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Konstantin&lt;/DIV&gt;</description>
      <pubDate>Thu, 03 Feb 2011 11:32:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SDL-Interface-under-x64-crashes/m-p/809010#M3664</guid>
      <dc:creator>Konstantin_A_Intel</dc:creator>
      <dc:date>2011-02-03T11:32:34Z</dc:date>
    </item>
    <item>
      <title>SDL-Interface under x64 crashes</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SDL-Interface-under-x64-crashes/m-p/809011#M3665</link>
      <description>Hi Konstantin,&lt;BR /&gt;&lt;BR /&gt;thanks for your answer.&lt;BR /&gt;&lt;BR /&gt;The machine my application crashes on isn't the one, on which I develop.&lt;BR /&gt;So the LIB and PATH env. variables shouldn't have any influence - shouldn't they?&lt;BR /&gt;(LIB actually doesn't exist at all and PATH is set to c:\windows\system32 as its first entry)&lt;BR /&gt;&lt;BR /&gt;Anyway there is only one x64 version of mkl_rt.dll inside c:\windows\system32, which is definitively used by my app (if I rename the dll temporarily, my app doesn't start any longer).&lt;BR /&gt;&lt;BR /&gt;So the reason for the crash should lay somewhere else...&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Andreas</description>
      <pubDate>Thu, 03 Feb 2011 12:54:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SDL-Interface-under-x64-crashes/m-p/809011#M3665</guid>
      <dc:creator>Andreas_Rost</dc:creator>
      <dc:date>2011-02-03T12:54:08Z</dc:date>
    </item>
    <item>
      <title>SDL-Interface under x64 crashes</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SDL-Interface-under-x64-crashes/m-p/809012#M3666</link>
      <description>Andreas,&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;Can you give us the example? and&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;What MKL version you are using? --Gennady&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;DIV style="font-size: 9px;" id="_mcePaste"&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 03 Feb 2011 13:04:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SDL-Interface-under-x64-crashes/m-p/809012#M3666</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2011-02-03T13:04:24Z</dc:date>
    </item>
    <item>
      <title>SDL-Interface under x64 crashes</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SDL-Interface-under-x64-crashes/m-p/809013#M3667</link>
      <description>Hi Gennady,&lt;BR /&gt;&lt;BR /&gt;my MKL version is 10.3.2.1&lt;BR /&gt;&lt;BR /&gt;To give you an example is pretty difficult because our app is an dynamic link library working as an AutoCAD extension. Y would have to have AutoCAD installed and install our app additionally...&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Andreas</description>
      <pubDate>Thu, 03 Feb 2011 13:29:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SDL-Interface-under-x64-crashes/m-p/809013#M3667</guid>
      <dc:creator>Andreas_Rost</dc:creator>
      <dc:date>2011-02-03T13:29:59Z</dc:date>
    </item>
    <item>
      <title>SDL-Interface under x64 crashes</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SDL-Interface-under-x64-crashes/m-p/809014#M3668</link>
      <description>Hi Andreas,&lt;BR /&gt;&lt;BR /&gt;A couple of clarifying questions:&lt;BR /&gt;1. Do you have the rest of required MKL dlls (e.g. libimalloc.dll mkl_mc3.dll mkl_core.dll mkl_intel_thread.dll) somewhere in the PATH?&lt;BR /&gt;2. Do you compile your code with -DMKL_ILP64?&lt;BR /&gt;&lt;BR /&gt;Bset regards,&lt;BR /&gt;-Vladimir</description>
      <pubDate>Fri, 04 Feb 2011 05:50:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SDL-Interface-under-x64-crashes/m-p/809014#M3668</guid>
      <dc:creator>Vladimir_Petrov__Int</dc:creator>
      <dc:date>2011-02-04T05:50:28Z</dc:date>
    </item>
    <item>
      <title>SDL-Interface under x64 crashes</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SDL-Interface-under-x64-crashes/m-p/809015#M3669</link>
      <description>Hi Vladimir,&lt;BR /&gt;&lt;BR /&gt;You gave me the right hint.&lt;BR /&gt;It were the above mentioned (and missing) 4 DLLs which produced the crash.&lt;BR /&gt;So the issue is resolved for me - thanks!&lt;BR /&gt;&lt;BR /&gt;But a recommendation / request:&lt;BR /&gt;&lt;BR /&gt;I've used the Dependency Walker to obtain all the DLLs requested for using the MKL and it showed the mkl_rt.dll only. Why don't you load the other DLLs just the way mkl_rt.dll does.&lt;BR /&gt;This would prevent any applications from starting if they are missing and produce an error message instead of a crash. Besides all of them would be listed in a tool like Dependency Walker.&lt;BR /&gt;&lt;BR /&gt;And it would be a good idea to give an overview in the documentation, which of the DLLs of the redist directory are needed under which circumstances.&lt;BR /&gt;&lt;BR /&gt;Regards &amp;amp; Thanks&lt;BR /&gt;Andreas&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Feb 2011 08:41:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SDL-Interface-under-x64-crashes/m-p/809015#M3669</guid>
      <dc:creator>Andreas_Rost</dc:creator>
      <dc:date>2011-02-04T08:41:30Z</dc:date>
    </item>
    <item>
      <title>SDL-Interface under x64 crashes</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SDL-Interface-under-x64-crashes/m-p/809016#M3670</link>
      <description>Andreas,&lt;DIV&gt;ok. thanks for the remarks. we will add some notes about this issue into the userguide.&lt;/DIV&gt;&lt;DIV&gt;--Gennady&lt;/DIV&gt;</description>
      <pubDate>Fri, 04 Feb 2011 09:20:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SDL-Interface-under-x64-crashes/m-p/809016#M3670</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2011-02-04T09:20:47Z</dc:date>
    </item>
  </channel>
</rss>

