<?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: How to statically link libiomp5md in IVF 11.0? in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-statically-link-libiomp5md-in-IVF-11-0/m-p/848002#M64968</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/336209"&gt;Steve Lionel (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;P&gt;/Qopenmp-link:static&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Thanks Steve. Didn't think to look under /Qopenmp.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Al&lt;/P&gt;</description>
    <pubDate>Tue, 11 Nov 2008 12:57:40 GMT</pubDate>
    <dc:creator>Greynolds__Alan</dc:creator>
    <dc:date>2008-11-11T12:57:40Z</dc:date>
    <item>
      <title>How to statically link libiomp5md in IVF 11.0?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-statically-link-libiomp5md-in-IVF-11-0/m-p/848000#M64966</link>
      <description>&lt;P&gt;I want to create a standaloneOpenMp application in IVF 11.0 but even with /static the exe still needs to find libiomp5md.dll.&lt;/P&gt;
&lt;P&gt;Al Greynolds&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.ruda.com"&gt;www.ruda.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;'&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2008 17:37:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-statically-link-libiomp5md-in-IVF-11-0/m-p/848000#M64966</guid>
      <dc:creator>Greynolds__Alan</dc:creator>
      <dc:date>2008-11-10T17:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to statically link libiomp5md in IVF 11.0?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-statically-link-libiomp5md-in-IVF-11-0/m-p/848001#M64967</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;/Qopenmp-link:static&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2008 05:13:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-statically-link-libiomp5md-in-IVF-11-0/m-p/848001#M64967</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2008-11-11T05:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to statically link libiomp5md in IVF 11.0?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-statically-link-libiomp5md-in-IVF-11-0/m-p/848002#M64968</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/336209"&gt;Steve Lionel (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;P&gt;/Qopenmp-link:static&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Thanks Steve. Didn't think to look under /Qopenmp.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Al&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2008 12:57:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-statically-link-libiomp5md-in-IVF-11-0/m-p/848002#M64968</guid>
      <dc:creator>Greynolds__Alan</dc:creator>
      <dc:date>2008-11-11T12:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to statically link libiomp5md in IVF 11.0?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-statically-link-libiomp5md-in-IVF-11-0/m-p/848003#M64969</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/222004"&gt;layzarc@aol.com&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;P&gt;Thanks Steve. Didn't think to look under /Qopenmp.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Al&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2008 19:52:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-statically-link-libiomp5md-in-IVF-11-0/m-p/848003#M64969</guid>
      <dc:creator>pbkenned1</dc:creator>
      <dc:date>2008-11-17T19:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to statically link libiomp5md in IVF 11.0?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-statically-link-libiomp5md-in-IVF-11-0/m-p/848004#M64970</link>
      <description>&lt;DIV style="margin:0px;"&gt;There's more involved than just compiling with /Qopenmp here. If you want to link against the static OpenMP RTL, you must add /Qopenmp-link:static, which is a new switch for 11.0. So to produce a purely static executable, compile/link with /MT /Qopenmp-link:static /Qopenmp&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;&lt;BR /&gt;The 11.0 Windows compilers (both C++ and Fortran) have decoupled /MT from having any effect on which OpenMP runtime (static or dynamic) gets linked. In fact, all of /MT&lt;D&gt;, /MD&lt;D&gt;, and /ML&lt;D&gt; (latter VS2003 only) now only effect which MS C runtime is linked.&lt;/D&gt;&lt;/D&gt;&lt;/D&gt;&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;&lt;BR /&gt;We made this change because we want dynamic to be the default when linking the OpenMP RTL. The use of static OpenMP libraries is not recommended, because they might cause multiple libraries to be linked in an application. The condition is not supported and could lead to unpredictable results. It can also cause Thread Checker false positives and other problems with the Intel Threading tools.&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;&lt;BR /&gt;Patrick Kennedy&lt;BR /&gt;Intel Compiler Lab&lt;BR /&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Nov 2008 19:56:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-statically-link-libiomp5md-in-IVF-11-0/m-p/848004#M64970</guid>
      <dc:creator>pbkenned1</dc:creator>
      <dc:date>2008-11-17T19:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to statically link libiomp5md in IVF 11.0?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-statically-link-libiomp5md-in-IVF-11-0/m-p/848005#M64971</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/18024"&gt;pbkenned&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;There's more involved than just compiling with /Qopenmp here. If you want to link against the static OpenMP RTL, you must add /Qopenmp-link:static, which is a new switch for 11.0. So to produce a purely static executable, compile/link with /MT /Qopenmp-link:static /Qopenmp&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;&lt;BR /&gt;The 11.0 Windows compilers (both C++ and Fortran) have decoupled /MT from having any effect on which OpenMP runtime (static or dynamic) gets linked. In fact, all of /MT&lt;D&gt;, /MD&lt;D&gt;, and /ML&lt;D&gt; (latter VS2003 only) now only effect which MS C runtime is linked.&lt;/D&gt;&lt;/D&gt;&lt;/D&gt;&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;&lt;BR /&gt;We made this change because we want dynamic to be the default when linking the OpenMP RTL. The use of static OpenMP libraries is not recommended, because they might cause multiple libraries to be linked in an application. The condition is not supported and could lead to unpredictable results. It can also cause Thread Checker false positives and other problems with the Intel Threading tools.&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;&lt;BR /&gt;Patrick Kennedy&lt;BR /&gt;Intel Compiler Lab&lt;BR /&gt;&lt;/DIV&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Sep 2009 04:49:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-statically-link-libiomp5md-in-IVF-11-0/m-p/848005#M64971</guid>
      <dc:creator>Steefel__Carl</dc:creator>
      <dc:date>2009-09-24T04:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to statically link libiomp5md in IVF 11.0?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-statically-link-libiomp5md-in-IVF-11-0/m-p/848006#M64972</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/444246"&gt;Carl Steefel&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;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Sorry about the double post, don't know what happened.
&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;But the issue here is that many of us would like to distribute executables to non-computer types without also having to distribute the libiomp5md.lib. The people I give my code to are severely challenged by something as simple as an Environment Variable. Not impossible to deal with, but if one can minimize these extra dynamic libraries, it helps.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Speaking of which, I cannot get the OpenMP to link statically in any case. I built the PETSc library using the link flags&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;/Qopenmp-link:static /Qopenmp /MT&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;then built my Intel Visual Fortran project (Intel 11.1.046) using the same thing as additional options in the Command Line (for Fortran and Link). I don't see anywhere else to include this.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;When I transfer the executable to another Windows PC, I get the message that libiomp5md.dll is missing, and this is fixed by dropping in this library in next to the executable. Anyway, it seems as if the /Qopenmp-link:static is being ignored???&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Sep 2009 06:16:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-statically-link-libiomp5md-in-IVF-11-0/m-p/848006#M64972</guid>
      <dc:creator>Steefel__Carl</dc:creator>
      <dc:date>2009-09-24T06:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to statically link libiomp5md in IVF 11.0?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-statically-link-libiomp5md-in-IVF-11-0/m-p/848007#M64973</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/444246"&gt;Carl Steefel&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;
Sorry about the double post, don't know what happened.
&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;But the issue here is that many of us would like to distribute executables to non-computer types without also having to distribute the libiomp5md.lib. The people I give my code to are severely challenged by something as simple as an Environment Variable. Not impossible to deal with, but if one can minimize these extra dynamic libraries, it helps.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Speaking of which, I cannot get the OpenMP to link statically in any case. I built the PETSc library using the link flags&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;/Qopenmp-link:static /Qopenmp /MT&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;then built my Intel Visual Fortran project (Intel 11.1.046) using the same thing as additional options in the Command Line (for Fortran and Link). I don't see anywhere else to include this.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;When I transfer the executable to another Windows PC, I get the message that libiomp5md.dll is missing, and this is fixed by dropping in this library in next to the executable. Anyway, it seems as if the /Qopenmp-link:static is being ignored???&lt;/DIV&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;To avoid having to statically link the libraries, have you thought about packaging the files for your users into an installer? I use NSIS (available from sourceforge.net) - this isopen source and available for use both commercially and personally.</description>
      <pubDate>Thu, 24 Sep 2009 07:11:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-statically-link-libiomp5md-in-IVF-11-0/m-p/848007#M64973</guid>
      <dc:creator>DavidWhite</dc:creator>
      <dc:date>2009-09-24T07:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to statically link libiomp5md in IVF 11.0?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-statically-link-libiomp5md-in-IVF-11-0/m-p/848008#M64974</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/142656"&gt;David White&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;To avoid having to statically link the libraries, have you thought about packaging the files for your users into an installer? I use NSIS (available from sourceforge.net) - this isopen source and available for use both commercially and personally.&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Yes, I believe this is the way to go. I used to do this in the past, then quit doing it when so many people had trouble downloading *.exe files (the Installers I used had this format). Maybe it is no problem again...</description>
      <pubDate>Thu, 24 Sep 2009 14:49:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-statically-link-libiomp5md-in-IVF-11-0/m-p/848008#M64974</guid>
      <dc:creator>Steefel__Carl</dc:creator>
      <dc:date>2009-09-24T14:49:26Z</dc:date>
    </item>
  </channel>
</rss>

