<?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 Hi Sergey,It seemed as if we in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/runtime-error-in-matlab-mex-with-lnked-with-ipp/m-p/924845#M16081</link>
    <description>&lt;P&gt;Hi Sergey,&lt;BR /&gt;It seemed as if we were missing the file: libiomp5md.dll. After attempting a re-install of the Intel Composer 2013 version 7.1, this file now appears to be there. We did check the ipp and mkl paths which are currently set to:&lt;BR /&gt;%INTEL_DEV_REDIST%redist\intel64\compiler;%INTEL_DEV_REDIST%redist\ia32\compiler;%INTEL_DEV_REDIST%redist\intel64\ipp;%INTEL_DEV_REDIST%redist\ia32\ipp;&lt;/P&gt;
&lt;P&gt;with INTEL_DEV_REDIST set to:&lt;BR /&gt;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\&lt;BR /&gt;&lt;BR /&gt;The error I now get is:&lt;BR /&gt;Invalid MEX-file 'D:\my_mex.mexw64': A dynamic link library (DLL) initialization routine failed.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Chris&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jun 2013 14:12:02 GMT</pubDate>
    <dc:creator>Christopher_W_</dc:creator>
    <dc:date>2013-06-18T14:12:02Z</dc:date>
    <item>
      <title>runtime error in matlab mex with lnked with ipp</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/runtime-error-in-matlab-mex-with-lnked-with-ipp/m-p/924843#M16079</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; I can compile and link my mex program. However, when I try to run it through a matlab program, I get&lt;/P&gt;
&lt;P&gt;Invalid MEX-file 'D:my_mex.mexw64': The specified module could not be found.&lt;/P&gt;
&lt;P&gt;This must be a problem with the calls to the ipp library as when I remove them, it does not crash.&lt;/P&gt;
&lt;P&gt;I am using Windows 7 and compiling&amp;nbsp;via the compiler:&lt;/P&gt;
&lt;P&gt;Intel C++ 13.0 in %ICPP_COMPILER13%&lt;/P&gt;
&lt;P&gt;my compile line is matlab is:&lt;/P&gt;
&lt;P&gt;mex -v -g my_mex.cpp -L"C:\Program Files (x86)\Intel\Composer XE 2013\mkl\lib\intel64"&amp;nbsp; -lmkl_intel_lp64 -lmkl_core -lmkl_sequential -lmkl_cdft_core&amp;nbsp; -lmkl_intel_thread -L"C:\Program Files (x86)\Intel\Composer XE 2013\ipp\lib\intel64" -lippm -lippm_l&lt;/P&gt;
&lt;P&gt;Does anyone have any suggestions?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2013 08:43:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/runtime-error-in-matlab-mex-with-lnked-with-ipp/m-p/924843#M16079</guid>
      <dc:creator>Christopher_W_</dc:creator>
      <dc:date>2013-06-18T08:43:14Z</dc:date>
    </item>
    <item>
      <title>Please verify that runtime</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/runtime-error-in-matlab-mex-with-lnked-with-ipp/m-p/924844#M16080</link>
      <description>Please verify that runtime DLLs for &lt;STRONG&gt;IPP&lt;/STRONG&gt; and &lt;STRONG&gt;MKL&lt;/STRONG&gt; could be found. That is, there are right search paths in &lt;STRONG&gt;PATH&lt;/STRONG&gt; environment variable.</description>
      <pubDate>Tue, 18 Jun 2013 13:22:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/runtime-error-in-matlab-mex-with-lnked-with-ipp/m-p/924844#M16080</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-06-18T13:22:17Z</dc:date>
    </item>
    <item>
      <title>Hi Sergey,It seemed as if we</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/runtime-error-in-matlab-mex-with-lnked-with-ipp/m-p/924845#M16081</link>
      <description>&lt;P&gt;Hi Sergey,&lt;BR /&gt;It seemed as if we were missing the file: libiomp5md.dll. After attempting a re-install of the Intel Composer 2013 version 7.1, this file now appears to be there. We did check the ipp and mkl paths which are currently set to:&lt;BR /&gt;%INTEL_DEV_REDIST%redist\intel64\compiler;%INTEL_DEV_REDIST%redist\ia32\compiler;%INTEL_DEV_REDIST%redist\intel64\ipp;%INTEL_DEV_REDIST%redist\ia32\ipp;&lt;/P&gt;
&lt;P&gt;with INTEL_DEV_REDIST set to:&lt;BR /&gt;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\&lt;BR /&gt;&lt;BR /&gt;The error I now get is:&lt;BR /&gt;Invalid MEX-file 'D:\my_mex.mexw64': A dynamic link library (DLL) initialization routine failed.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Chris&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2013 14:12:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/runtime-error-in-matlab-mex-with-lnked-with-ipp/m-p/924845#M16081</guid>
      <dc:creator>Christopher_W_</dc:creator>
      <dc:date>2013-06-18T14:12:02Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;The error I now get is:</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/runtime-error-in-matlab-mex-with-lnked-with-ipp/m-p/924846#M16082</link>
      <description>&amp;gt;&amp;gt;The error I now get is:
&amp;gt;&amp;gt;Invalid MEX-file 'D:\my_mex.mexw64': A dynamic link library (DLL) initialization routine failed.

There are also &lt;STRONG&gt;CPU dispatching&lt;/STRONG&gt; DLLs for &lt;STRONG&gt;IPP&lt;/STRONG&gt; and &lt;STRONG&gt;MKL&lt;/STRONG&gt; ( also known as &lt;STRONG&gt;Waterfall&lt;/STRONG&gt; DLLs ) and when at least one of these DLLs is Not found application won't start. I'm confident that you still have DLL dependencies problem and use MS Depends to verify.</description>
      <pubDate>Tue, 18 Jun 2013 14:55:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/runtime-error-in-matlab-mex-with-lnked-with-ipp/m-p/924846#M16082</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-06-18T14:55:48Z</dc:date>
    </item>
    <item>
      <title>OK, I compiled using every</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/runtime-error-in-matlab-mex-with-lnked-with-ipp/m-p/924847#M16083</link>
      <description>&lt;P&gt;OK, I compiled using every static library:&lt;BR /&gt;mex -v -g my_mex.cpp -L"C:\Program Files (x86)\Intel\Composer XE 2013\mkl\lib\intel64"&amp;nbsp; -lmkl_intel_lp64 -lmkl_core -lmkl_sequential -lmkl_cdft_core -lmkl_intel_thread -L"C:\Program Files (x86)\Intel\Composer XE 2013\ipp\lib\intel64" -lippm_l -lippac_l -lippcc_l -lippch_l -lippcore_l -lippcv_l -lippdc_l -lippdi_l -lippdj_l -lippr_l -lipps_l -lippsc_l -lippvc_l -lippvm_l&lt;/P&gt;
&lt;P&gt;and it seems to get over the dll issues. Not sure if I really need all those libraries, but it seems to work.&lt;/P&gt;
&lt;P&gt;Thanks, Chris&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2013 15:58:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/runtime-error-in-matlab-mex-with-lnked-with-ipp/m-p/924847#M16083</guid>
      <dc:creator>Christopher_W_</dc:creator>
      <dc:date>2013-06-18T15:58:57Z</dc:date>
    </item>
    <item>
      <title>Hi Chris,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/runtime-error-in-matlab-mex-with-lnked-with-ipp/m-p/924848#M16084</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;
&lt;P&gt;IPP hierarchy is the next: all IPP domains (libraries) are based on ippCore library, so when you linked with ippm domain (small matrix) you also should add ippcore. It's nothing wrong when linking statically to define all ipp libraries in the cmd line - linker will link only those obj that are used in your app.&lt;/P&gt;
&lt;P&gt;Regards, Igor&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2013 06:55:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/runtime-error-in-matlab-mex-with-lnked-with-ipp/m-p/924848#M16084</guid>
      <dc:creator>Igor_A_Intel</dc:creator>
      <dc:date>2013-06-21T06:55:38Z</dc:date>
    </item>
  </channel>
</rss>

