<?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 Re: Link problems with Matlab / IPP; wrong options? in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-problems-with-Matlab-IPP-wrong-options/m-p/905351#M13368</link>
    <description>&lt;P&gt;Hi Koen,&lt;/P&gt;
&lt;P&gt;The IPP was developed to minimize use of other libraries, only malloc/free is used from CRT libs, andprobably some mathemathic functions from Intel CRT libraries (part of Intel Compiler package).&lt;/P&gt;
&lt;P&gt;I've looked trough posts on forum for similar issue (basicall search for Matlab keyword), you might be interested with looking at the following topics:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.intel.com/ISN/Community/en-US/forums/permalink/30220616/5483464/ShowThread.aspx#5483464"&gt;load library&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.intel.com/ISN/Community/en-US/forums/permalink/5483646/5483587/ShowThread.aspx#5483587"&gt;OpenCV and IPP Conflict&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.intel.com/ISN/Community/en-US/forums/permalink/5482211/5482211/ShowThread.aspx#5482211"&gt;Entry Point Not Found in ippi20.dll&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;BTW, what Matlab technical support said on this?&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
    <pubDate>Fri, 20 Oct 2006 02:46:43 GMT</pubDate>
    <dc:creator>Vladimir_Dudnik</dc:creator>
    <dc:date>2006-10-20T02:46:43Z</dc:date>
    <item>
      <title>Link problems with Matlab / IPP; wrong options?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-problems-with-Matlab-IPP-wrong-options/m-p/905349#M13366</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am having spurious errors with IPP in combinations with Matlab (on Linux). It seems to be connected to the linking process. For testing purposes, I've created a virtually empty c++ file (ippitestlink.cpp):&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;#include "mex.h"&lt;BR /&gt;#include "/opt/intel/ipp/5.1/ia32/include/ipp.h"&lt;BR /&gt;&lt;BR /&gt;void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])&lt;BR /&gt;{&lt;BR /&gt;}&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;If I then run&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;mex -v ippitestlink.cpp -L/opt/intel/ipp/5.1/ia32/lib/ -L/opt/intel/ipp/5.1/ia32/sharedlib/&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;run matlab and call the routine, everything is ok. However, if I &lt;BR /&gt;call&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;mex -v ippitestlink.cpp -L/opt/intel/ipp/5.1/ia32/lib/ -L/opt/intel/ipp/5.1/ia32/sharedlib/ -lippi&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;run matlab and call the routine, matlab refuses to gracefully exit afterwards. So, given that it is related to the linking process, what can be wrong? The commands run by the above mex call are&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;BR /&gt;-&amp;gt; g++-3.3 -c -I/usr/local/matlab7p1/extern/include -DMATLAB_MEX_FILE -fPIC -ansi -D_GNU_SOURCE -pthread -O -DNDEBUG ippitestlink.cpp&lt;BR /&gt;&lt;BR /&gt;-&amp;gt; gcc-3.3 -c -I/usr/local/matlab7p1/extern/include -DMATLAB_MEX_FILE -fPIC -ansi -D_GNU_SOURCE -pthread -fexceptions -m32 -O -DNDEBUG /usr/local/matlab7p1/extern/src/mexversion.c&lt;BR /&gt;&lt;BR /&gt;-&amp;gt; g++-3.3 -O -pthread -shared -m32 -Wl,--version-script,/usr/local/matlab7p1/extern/lib/glnx86/mexFunction.map -o ippitestlink.mexglx ippitestlink.o mexversion.o -L/opt/intel/ipp/5.1/ia32/lib/ -L/opt/intel/ipp/5.1/ia32/sharedlib/ -lippi -Wl,-rpath-link,/usr/local/matlab7p1/bin/glnx86 -L/usr/local/matlab7p1/bin/glnx86 -lmx -lmex -lmat -lm -lm&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Is there something wrong with these calls to gcc/g++? (I've tried 3.4 and 4.1 as well, with the same results.)&lt;BR /&gt;&lt;BR /&gt;I have been trying to fix this Matlab / IPP interoperability stuff for quite some time now, so I really appreciate any help!&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Koen&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Oct 2006 01:13:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Link-problems-with-Matlab-IPP-wrong-options/m-p/905349#M13366</guid>
      <dc:creator>kavermeer</dc:creator>
      <dc:date>2006-10-18T01:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Link problems with Matlab / IPP; wrong options?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-problems-with-Matlab-IPP-wrong-options/m-p/905350#M13367</link>
      <description>I also tried an alternative route. Matlab allows you to load a shared library from within the Matlab program. As a quick test, I did:&lt;BR /&gt;&lt;BR /&gt;loadlibrary('/opt/intel/ipp/5.1/ia32/sharedlib/libippi.so','/opt/intel/ipp/5.1/ia32/include/ippi.h')&lt;BR /&gt;unloadlibrary('libippi');&lt;BR /&gt;&lt;BR /&gt;and I quit the Matlab desktop. Same error: No clean exit, but an 'Aborted' or 'Killed' statement on the bash prompt.&lt;BR /&gt;&lt;BR /&gt;Could there be something with the libraries Matlab uses and the ones IPP uses that just doesn't work together? Maybe same libraries but different versions? How could I check this?&lt;BR /&gt;&lt;BR /&gt;Koen&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Oct 2006 17:26:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Link-problems-with-Matlab-IPP-wrong-options/m-p/905350#M13367</guid>
      <dc:creator>kavermeer</dc:creator>
      <dc:date>2006-10-18T17:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Link problems with Matlab / IPP; wrong options?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-problems-with-Matlab-IPP-wrong-options/m-p/905351#M13368</link>
      <description>&lt;P&gt;Hi Koen,&lt;/P&gt;
&lt;P&gt;The IPP was developed to minimize use of other libraries, only malloc/free is used from CRT libs, andprobably some mathemathic functions from Intel CRT libraries (part of Intel Compiler package).&lt;/P&gt;
&lt;P&gt;I've looked trough posts on forum for similar issue (basicall search for Matlab keyword), you might be interested with looking at the following topics:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.intel.com/ISN/Community/en-US/forums/permalink/30220616/5483464/ShowThread.aspx#5483464"&gt;load library&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.intel.com/ISN/Community/en-US/forums/permalink/5483646/5483587/ShowThread.aspx#5483587"&gt;OpenCV and IPP Conflict&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.intel.com/ISN/Community/en-US/forums/permalink/5482211/5482211/ShowThread.aspx#5482211"&gt;Entry Point Not Found in ippi20.dll&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;BTW, what Matlab technical support said on this?&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2006 02:46:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Link-problems-with-Matlab-IPP-wrong-options/m-p/905351#M13368</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2006-10-20T02:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Link problems with Matlab / IPP; wrong options?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-problems-with-Matlab-IPP-wrong-options/m-p/905352#M13369</link>
      <description>Hi Vladimir,&lt;BR /&gt;&lt;BR /&gt;Thanks for the search. I found those as well, and it doesn't really give a workable solution. I guess part of the problem is that Matlab ships with IPP 2.0. In addition, they support very specific versions of gcc and libc6 (glibc). So it's pretty difficult to find out what exactly goes wrong. I have already asked them whether they will support more recent versions of IPP, and they tell that IPP support is 'under review'. So that doesn't give me much to go on.&lt;BR /&gt;&lt;BR /&gt;I can try removing all libraries that might conflict, but it's just a shot in the dark... I'd really like to use Matlab with (new versions of) IPP!&lt;BR /&gt;&lt;BR /&gt;Koen</description>
      <pubDate>Fri, 20 Oct 2006 05:41:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Link-problems-with-Matlab-IPP-wrong-options/m-p/905352#M13369</guid>
      <dc:creator>kavermeer</dc:creator>
      <dc:date>2006-10-20T05:41:12Z</dc:date>
    </item>
  </channel>
</rss>

