<?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: UMC, 64-bit Windows, OpenMP threading in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-64-bit-Windows-OpenMP-threading/m-p/856543#M7204</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/21699"&gt;Chao Yu (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;BR /&gt;&lt;BR /&gt;Hi Peter, &lt;BR /&gt;&lt;BR /&gt;IPP static libraries are not threaded, and do not depend on libiomp5md. IPP dynamic libraries and threaded static libraries are threaded internally with 'libiomp5md' ( IPP functions are built with Intel Compiler). &lt;BR /&gt;&lt;BR /&gt;The threading in UMC sample code is different. It is threaded in the UMC source code, not IPP functions. So if you build with UMC source with cl. it will use 'vcomp'. If you build the source code with Intel Compiler, it will choose 'libiomp5md'. &lt;BR /&gt;&lt;BR /&gt;So in this case, if you want to use 'libiomp5md', you need to use Intel Compiler to compile the source code. &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Chao&lt;/DIV&gt;
&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Good to know. I was not aware that the UMC libraries used the non-threaded IPP. However, I have build UMC and all of my code with VC9, specified libiomp5md in my link, and it worked fine. Looking at my binaries with depends shows a dependency on libiomp5md.dll and not on vcomp90.dll. I take it from your comments that since I want to use VC9, the safest way to use OpenMP is with the MS library even though linking with Intel's appears (on the surface) to work. Thanks for the input - I'll switch it over and start my testing.&lt;BR /&gt;&lt;BR /&gt;Peter&lt;BR /&gt;</description>
    <pubDate>Mon, 20 Jul 2009 10:57:58 GMT</pubDate>
    <dc:creator>pvonkaenel</dc:creator>
    <dc:date>2009-07-20T10:57:58Z</dc:date>
    <item>
      <title>UMC, 64-bit Windows, OpenMP threading</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-64-bit-Windows-OpenMP-threading/m-p/856536#M7197</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I have been building the UMC samples that come with IPP 6.1 as static libraries using both ICL and VC9. In either case when I link the UMC libraries with a 64-bit application, depends does not list libiomp5md.dll as a dependency while 32-bit applications do. Is there something I'm missing to get threaded 64-bit static UMC libraries?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Peter&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jul 2009 15:55:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-64-bit-Windows-OpenMP-threading/m-p/856536#M7197</guid>
      <dc:creator>pvonkaenel</dc:creator>
      <dc:date>2009-07-14T15:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: UMC, 64-bit Windows, OpenMP threading</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-64-bit-Windows-OpenMP-threading/m-p/856537#M7198</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/414649"&gt;pvonkaenel&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;I have been building the UMC samples that come with IPP 6.1 as static libraries using both ICL and VC9. In either case when I link the UMC libraries with a 64-bit application, depends does not list libiomp5md.dll as a dependency while 32-bit applications do. Is there something I'm missing to get threaded 64-bit static UMC libraries?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Peter&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Well it looks like it was specific to the cl compiler and not icl. There is a place in the UMC makefile that only puts /openmp in with the CFLAGS if it is a 32-bit build. Is there something wrong with using the libiomp5md version of OpenMP in the UMC samples when build with cl for 64-bit?&lt;BR /&gt;&lt;BR /&gt;Peter&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jul 2009 18:17:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-64-bit-Windows-OpenMP-threading/m-p/856537#M7198</guid>
      <dc:creator>pvonkaenel</dc:creator>
      <dc:date>2009-07-14T18:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: UMC, 64-bit Windows, OpenMP threading</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-64-bit-Windows-OpenMP-threading/m-p/856538#M7199</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;BR /&gt;Hi Peter, &lt;BR /&gt;&lt;BR /&gt;You can change the following to enable the openmp threading with cl: &lt;BR /&gt;&lt;BR /&gt;!IF "$(CC)" == "cl.exe" &amp;amp;&amp;amp; "$(ARCH)" == "win32"&lt;BR /&gt;-&amp;gt;&amp;gt;!IF "$(CC)" == "cl.exe" &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The OpenMP code will be threaded by MS compiler. The code will depends on MS OpenMP runtime library (vcomp.dll?), not Intel openmp library (libiomp5md).&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;Chao &lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Jul 2009 07:25:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-64-bit-Windows-OpenMP-threading/m-p/856538#M7199</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2009-07-16T07:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: UMC, 64-bit Windows, OpenMP threading</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-64-bit-Windows-OpenMP-threading/m-p/856539#M7200</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/21699"&gt;Chao Yu (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;BR /&gt;Hi Peter, &lt;BR /&gt;&lt;BR /&gt;You can change the following to enable the openmp threading with cl: &lt;BR /&gt;&lt;BR /&gt;!IF "$(CC)" == "cl.exe" &amp;amp;&amp;amp; "$(ARCH)" == "win32"&lt;BR /&gt;-&amp;gt;&amp;gt;!IF "$(CC)" == "cl.exe" &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The OpenMP code will be threaded by MS compiler. The code will depends on MS OpenMP runtime library (vcomp.dll?), not Intel openmp library (libiomp5md).&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;Chao &lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Thanks for the reply Chao. That is the makefile change I made, but I also link with libiomp5md.lib which gets me Intel's version of OpenMP.&lt;BR /&gt;&lt;BR /&gt;Peter&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Jul 2009 13:41:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-64-bit-Windows-OpenMP-threading/m-p/856539#M7200</guid>
      <dc:creator>pvonkaenel</dc:creator>
      <dc:date>2009-07-16T13:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: UMC, 64-bit Windows, OpenMP threading</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-64-bit-Windows-OpenMP-threading/m-p/856540#M7201</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/414649"&gt;pvonkaenel&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;&lt;BR /&gt;Thanks for the reply Chao. That is the makefile change I made, but I also link with libiomp5md.lib which gets me Intel's version of OpenMP.&lt;BR /&gt;&lt;BR /&gt;Peter&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;Hi Peter,&lt;BR /&gt;&lt;BR /&gt;'libiomp5md.lib' is not necessory. since the code is comipled by MS compiler. The compiler will choose the MS openmp runtime library. Adding libiomp5md.lib may not be helpful. &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Chao</description>
      <pubDate>Fri, 17 Jul 2009 05:27:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-64-bit-Windows-OpenMP-threading/m-p/856540#M7201</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2009-07-17T05:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: UMC, 64-bit Windows, OpenMP threading</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-64-bit-Windows-OpenMP-threading/m-p/856541#M7202</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/21699"&gt;Chao Yu (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;Hi Peter,&lt;BR /&gt;&lt;BR /&gt;'libiomp5md.lib' is not necessory. since the code is comipled by MS compiler. The compiler will choose the MS openmp runtime library. Adding libiomp5md.lib may not be helpful. &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Chao&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hi Chao,&lt;BR /&gt;&lt;BR /&gt;I have two reasons for wanting to use libiomp5md.dll instead of vcomp9.dll, but please let me know if they are misplaced:&lt;BR /&gt;&lt;BR /&gt;1) I use IPP, and while I do not currently use the threaded layer, if I start then I think I must use libiomp5md. Is that correct, or will IPP threaded calls use vcomp?&lt;BR /&gt;&lt;BR /&gt;2) libiomp5md conforms to OpenMP 3 while vcomp9 is still OpenMP 2. I am assuning there have been advances in 3 over 2 that I should be able to seemlessly take advantage of. Is this correct, or are all the changes in omp_* calls that will only be available if I'm also using Intel's omp.h header file?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Peter&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Jul 2009 10:55:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-64-bit-Windows-OpenMP-threading/m-p/856541#M7202</guid>
      <dc:creator>pvonkaenel</dc:creator>
      <dc:date>2009-07-17T10:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: UMC, 64-bit Windows, OpenMP threading</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-64-bit-Windows-OpenMP-threading/m-p/856542#M7203</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;BR /&gt;&lt;BR /&gt;Hi Peter, &lt;BR /&gt;&lt;BR /&gt;IPP static libraries are not threaded, and do not depend on libiomp5md. IPP dynamic libraries and threaded static libraries are threaded internally with 'libiomp5md' ( IPP functions are built with Intel Compiler). &lt;BR /&gt;&lt;BR /&gt;The threading in UMC sample code is different. It is threaded in the UMC source code, not IPP functions. So if you build with UMC source with cl. it will use 'vcomp'. If you build the source code with Intel Compiler, it will choose 'libiomp5md'. &lt;BR /&gt;&lt;BR /&gt;So in this case, if you want to use 'libiomp5md', you need to use Intel Compiler to compile the source code. &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Chao&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Jul 2009 05:55:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-64-bit-Windows-OpenMP-threading/m-p/856542#M7203</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2009-07-20T05:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: UMC, 64-bit Windows, OpenMP threading</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-64-bit-Windows-OpenMP-threading/m-p/856543#M7204</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/21699"&gt;Chao Yu (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;BR /&gt;&lt;BR /&gt;Hi Peter, &lt;BR /&gt;&lt;BR /&gt;IPP static libraries are not threaded, and do not depend on libiomp5md. IPP dynamic libraries and threaded static libraries are threaded internally with 'libiomp5md' ( IPP functions are built with Intel Compiler). &lt;BR /&gt;&lt;BR /&gt;The threading in UMC sample code is different. It is threaded in the UMC source code, not IPP functions. So if you build with UMC source with cl. it will use 'vcomp'. If you build the source code with Intel Compiler, it will choose 'libiomp5md'. &lt;BR /&gt;&lt;BR /&gt;So in this case, if you want to use 'libiomp5md', you need to use Intel Compiler to compile the source code. &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Chao&lt;/DIV&gt;
&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Good to know. I was not aware that the UMC libraries used the non-threaded IPP. However, I have build UMC and all of my code with VC9, specified libiomp5md in my link, and it worked fine. Looking at my binaries with depends shows a dependency on libiomp5md.dll and not on vcomp90.dll. I take it from your comments that since I want to use VC9, the safest way to use OpenMP is with the MS library even though linking with Intel's appears (on the surface) to work. Thanks for the input - I'll switch it over and start my testing.&lt;BR /&gt;&lt;BR /&gt;Peter&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Jul 2009 10:57:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-64-bit-Windows-OpenMP-threading/m-p/856543#M7204</guid>
      <dc:creator>pvonkaenel</dc:creator>
      <dc:date>2009-07-20T10:57:58Z</dc:date>
    </item>
  </channel>
</rss>

