<?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 compile using libiomp5md.lib rather than libiomp5md.dll in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/compile-using-libiomp5md-lib-rather-than-libiomp5md-dll/m-p/804939#M39733</link>
    <description>When running the executable file, I am finding that the file libiomp5md.dll is needed. I would much prefer to NOT need the .dll file at runtime. &lt;BR /&gt;&lt;BR /&gt;I see that there is a static version by the same name, ending with .lib, in the lib folder installed with the compiler. However, I have not been able to find a way to force the compiler to use the static version of the library when compiling the program. &lt;BR /&gt;&lt;BR /&gt;Further, I do not know what this particular .dll file does, so I am not sure how it is being invoked in my program. I call programs from the IMSL libraries, which may in turn be invoking the .dll supplied by Intel.&lt;BR /&gt;&lt;BR /&gt;How can I compile the program so a .dll file is not needed at runtime?</description>
    <pubDate>Wed, 15 Jun 2011 00:38:08 GMT</pubDate>
    <dc:creator>Jennifer_Koran</dc:creator>
    <dc:date>2011-06-15T00:38:08Z</dc:date>
    <item>
      <title>compile using libiomp5md.lib rather than libiomp5md.dll</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/compile-using-libiomp5md-lib-rather-than-libiomp5md-dll/m-p/804939#M39733</link>
      <description>When running the executable file, I am finding that the file libiomp5md.dll is needed. I would much prefer to NOT need the .dll file at runtime. &lt;BR /&gt;&lt;BR /&gt;I see that there is a static version by the same name, ending with .lib, in the lib folder installed with the compiler. However, I have not been able to find a way to force the compiler to use the static version of the library when compiling the program. &lt;BR /&gt;&lt;BR /&gt;Further, I do not know what this particular .dll file does, so I am not sure how it is being invoked in my program. I call programs from the IMSL libraries, which may in turn be invoking the .dll supplied by Intel.&lt;BR /&gt;&lt;BR /&gt;How can I compile the program so a .dll file is not needed at runtime?</description>
      <pubDate>Wed, 15 Jun 2011 00:38:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/compile-using-libiomp5md-lib-rather-than-libiomp5md-dll/m-p/804939#M39733</guid>
      <dc:creator>Jennifer_Koran</dc:creator>
      <dc:date>2011-06-15T00:38:08Z</dc:date>
    </item>
    <item>
      <title>compile using libiomp5md.lib rather than libiomp5md.dll</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/compile-using-libiomp5md-lib-rather-than-libiomp5md-dll/m-p/804940#M39734</link>
      <description>The MS linker cannot directly link your objects to DLLs. It uses an imports library, such as libiomp5.lib, instead.&lt;BR /&gt;&lt;BR /&gt;If you do not have an equivalent static library, you are stuck with having to use the DLL at run time.</description>
      <pubDate>Wed, 15 Jun 2011 01:16:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/compile-using-libiomp5md-lib-rather-than-libiomp5md-dll/m-p/804940#M39734</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-06-15T01:16:12Z</dc:date>
    </item>
    <item>
      <title>compile using libiomp5md.lib rather than libiomp5md.dll</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/compile-using-libiomp5md-lib-rather-than-libiomp5md-dll/m-p/804941#M39735</link>
      <description>The OpenMP library is required by the MKL threaded library, as well as by any OpenMP calls in your program or in IMSL. The option /Qopenmp-link:static has been provided in some versions of ifort, or you can link libiomp5mt.lib explicitly, if you take care not to link more than once against any of the libiomp, libguide, or vcomp versions.</description>
      <pubDate>Wed, 15 Jun 2011 05:25:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/compile-using-libiomp5md-lib-rather-than-libiomp5md-dll/m-p/804941#M39735</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2011-06-15T05:25:20Z</dc:date>
    </item>
    <item>
      <title>compile using libiomp5md.lib rather than libiomp5md.dll</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/compile-using-libiomp5md-lib-rather-than-libiomp5md-dll/m-p/804942#M39736</link>
      <description>I tried the option that you specified, but I received the message "ignoring unknown option," so it must not be available in my version (Professional).&lt;BR /&gt;I need a better understanding of what you mean by linking the .lib file explicitly. Is this something I can accomplish with a use or include statement in my code, even if IMSL is calling this library? I think I understand how to specify additional library directories, but not how to explicitly link a particular file.</description>
      <pubDate>Wed, 15 Jun 2011 20:09:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/compile-using-libiomp5md-lib-rather-than-libiomp5md-dll/m-p/804942#M39736</guid>
      <dc:creator>Jennifer_Koran</dc:creator>
      <dc:date>2011-06-15T20:09:34Z</dc:date>
    </item>
    <item>
      <title>compile using libiomp5md.lib rather than libiomp5md.dll</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/compile-using-libiomp5md-lib-rather-than-libiomp5md-dll/m-p/804943#M39737</link>
      <description>Tim had a typo - it is /Qopenmp-link:static&lt;BR /&gt;&lt;BR /&gt;If you are using IMSL, do you have a line:&lt;BR /&gt;&lt;BR /&gt;!DEC$ OBJCOMMENT LIB:'libiomp5md.lib'&lt;BR /&gt;&lt;BR /&gt;in one of your sources? If so, change the file name to libiomp5mt.lib</description>
      <pubDate>Wed, 15 Jun 2011 20:27:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/compile-using-libiomp5md-lib-rather-than-libiomp5md-dll/m-p/804943#M39737</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2011-06-15T20:27:10Z</dc:date>
    </item>
    <item>
      <title>compile using libiomp5md.lib rather than libiomp5md.dll</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/compile-using-libiomp5md-lib-rather-than-libiomp5md-dll/m-p/804944#M39738</link>
      <description>Making the change in this line seems to have worked. Thank you.</description>
      <pubDate>Fri, 24 Jun 2011 18:36:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/compile-using-libiomp5md-lib-rather-than-libiomp5md-dll/m-p/804944#M39738</guid>
      <dc:creator>Jennifer_Koran</dc:creator>
      <dc:date>2011-06-24T18:36:21Z</dc:date>
    </item>
  </channel>
</rss>

