<?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 Problem with a dll in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-a-dll/m-p/808684#M41603</link>
    <description>It looks like in dependency walker that the dll is relying on two lib files from INTEL.&lt;DIV&gt;LIBIFCOREMD.DLL and LIBMMD.DLL&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;IMG style="vertical-align: bottom;" src="http://www.relap.com/images/dlls.jpg" alt="dependant dll" /&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;So I figured out that machines that do not have the IFC installed on them they get the DLL error. I copied the two LIB DLL files into the same folder as the main program on a machine that was gettign the error, and now the error is gone.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Why is my dll relying on the IFC dll's.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 12 Oct 2010 15:47:58 GMT</pubDate>
    <dc:creator>Brian_Allison</dc:creator>
    <dc:date>2010-10-12T15:47:58Z</dc:date>
    <item>
      <title>Problem with a dll</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-a-dll/m-p/808680#M41599</link>
      <description>I don't know if this is the right place or not for this, but here goes.&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;We have a program that uses a dll created with IFC. It works fine on our computers, XP and Win 7.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;We have some clients over seas that are encountering a problem with the dll. THey are getting an error message.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&lt;P&gt;&lt;STRONG&gt;"DLL Loading Error: relap5l.dll"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thats it! The next thing they are asked to do is click OK.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: normal;"&gt;Any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;/STRONG&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 12 Oct 2010 14:46:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-a-dll/m-p/808680#M41599</guid>
      <dc:creator>Brian_Allison</dc:creator>
      <dc:date>2010-10-12T14:46:24Z</dc:date>
    </item>
    <item>
      <title>Problem with a dll</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-a-dll/m-p/808681#M41600</link>
      <description>That error message would appear to be coming from the application. I would guess that the application tries to dynamically load this DLL using LoadLibrary and it fails. It is not coming from Intel Fortran itself.</description>
      <pubDate>Tue, 12 Oct 2010 15:28:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-a-dll/m-p/808681#M41600</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2010-10-12T15:28:21Z</dc:date>
    </item>
    <item>
      <title>Problem with a dll</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-a-dll/m-p/808682#M41601</link>
      <description>but why would it be only on certain machines?</description>
      <pubDate>Tue, 12 Oct 2010 15:32:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-a-dll/m-p/808682#M41601</guid>
      <dc:creator>Brian_Allison</dc:creator>
      <dc:date>2010-10-12T15:32:10Z</dc:date>
    </item>
    <item>
      <title>Problem with a dll</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-a-dll/m-p/808683#M41602</link>
      <description>The DLL being loaded may have dependencies on other DLLs that are not present on some systems. Use &lt;A href="http://dependencywalker.com/"&gt;Dependency Walker&lt;/A&gt; to check.</description>
      <pubDate>Tue, 12 Oct 2010 15:42:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-a-dll/m-p/808683#M41602</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2010-10-12T15:42:03Z</dc:date>
    </item>
    <item>
      <title>Problem with a dll</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-a-dll/m-p/808684#M41603</link>
      <description>It looks like in dependency walker that the dll is relying on two lib files from INTEL.&lt;DIV&gt;LIBIFCOREMD.DLL and LIBMMD.DLL&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;IMG style="vertical-align: bottom;" src="http://www.relap.com/images/dlls.jpg" alt="dependant dll" /&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;So I figured out that machines that do not have the IFC installed on them they get the DLL error. I copied the two LIB DLL files into the same folder as the main program on a machine that was gettign the error, and now the error is gone.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Why is my dll relying on the IFC dll's.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 12 Oct 2010 15:47:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-a-dll/m-p/808684#M41603</guid>
      <dc:creator>Brian_Allison</dc:creator>
      <dc:date>2010-10-12T15:47:58Z</dc:date>
    </item>
    <item>
      <title>Problem with a dll</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-a-dll/m-p/808685#M41604</link>
      <description>Because, by default, when you build a DLL it links to DLL libraries. You can change that if the DLL will not be called from Fortran. Or you can provide our &lt;A href="http://software.intel.com/en-us/articles/redistributable-libraries-of-the-intel-c-and-fortran-compiler-for-windows/"&gt;redistributable installer&lt;/A&gt;.</description>
      <pubDate>Tue, 12 Oct 2010 18:02:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-a-dll/m-p/808685#M41604</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2010-10-12T18:02:35Z</dc:date>
    </item>
    <item>
      <title>Problem with a dll</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-a-dll/m-p/808686#M41605</link>
      <description>How do you force this? We encounter the very same problem: the DLL is called by a Java program in our case.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Arjen</description>
      <pubDate>Wed, 13 Oct 2010 07:49:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-a-dll/m-p/808686#M41605</guid>
      <dc:creator>Arjen_Markus</dc:creator>
      <dc:date>2010-10-13T07:49:38Z</dc:date>
    </item>
    <item>
      <title>Problem with a dll</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-a-dll/m-p/808687#M41606</link>
      <description>I think it means that, when you specify to build a DLL, you can choose the option to satisfy all external dependencies by linking to the static library versions rather than the DLL versions. That way all external dependency code should become part of your DLL (which will of course be bigger as a consequence) and the DLL will not then need to link in other DLL's in order to load the code for the external dependencies. &lt;BR /&gt;&lt;BR /&gt;This presupposes that there exist static versions of all of the DLLs on which your Fortran code depends.</description>
      <pubDate>Wed, 13 Oct 2010 09:00:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-a-dll/m-p/808687#M41606</guid>
      <dc:creator>anthonyrichards</dc:creator>
      <dc:date>2010-10-13T09:00:39Z</dc:date>
    </item>
    <item>
      <title>Problem with a dll</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-a-dll/m-p/808688#M41607</link>
      <description>Yes, but I am especially interested in suppressing the dependencies to the DLL versions of the Intel runtime&lt;BR /&gt;libraries. If the program depends on the DLL versions, we need to redistribute them, complicating the distribution mechanism (some of our clients have a very restricted environment!)&lt;BR /&gt;&lt;BR /&gt;I think there is a compile/link option for that, but I have not found it yet in the online documentation.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Arjen</description>
      <pubDate>Wed, 13 Oct 2010 09:12:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-a-dll/m-p/808688#M41607</guid>
      <dc:creator>Arjen_Markus</dc:creator>
      <dc:date>2010-10-13T09:12:09Z</dc:date>
    </item>
    <item>
      <title>Problem with a dll</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-a-dll/m-p/808689#M41608</link>
      <description>Consider reading the help for the /libs:static option.&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Oct 2010 11:14:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-a-dll/m-p/808689#M41608</guid>
      <dc:creator>IanH</dc:creator>
      <dc:date>2010-10-13T11:14:23Z</dc:date>
    </item>
    <item>
      <title>Problem with a dll</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-a-dll/m-p/808690#M41609</link>
      <description>Thanks, I have read it - the phrase "search for unresolved references" did not strike me as &lt;BR /&gt;belonging to the option I needed. Reading the lemma for the option /libs:static does me confidence&lt;BR /&gt;that that is what I should use.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Arjen</description>
      <pubDate>Wed, 13 Oct 2010 12:33:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-a-dll/m-p/808690#M41609</guid>
      <dc:creator>Arjen_Markus</dc:creator>
      <dc:date>2010-10-13T12:33:36Z</dc:date>
    </item>
    <item>
      <title>Problem with a dll</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-a-dll/m-p/808691#M41610</link>
      <description>If you are building in Visual Studio, you want Fortran &amp;gt; Libraries &amp;gt; Use Runtime Libraries &amp;gt; Multithreaded.</description>
      <pubDate>Wed, 13 Oct 2010 15:40:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-a-dll/m-p/808691#M41610</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2010-10-13T15:40:44Z</dc:date>
    </item>
    <item>
      <title>Problem with a dll</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-a-dll/m-p/808692#M41611</link>
      <description>I use the Multithreaded option (/libs:static /threads) and I do not need to provide any runtime libraries to my users - just the DLL.&lt;BR /&gt;&lt;BR /&gt;David</description>
      <pubDate>Thu, 14 Oct 2010 01:50:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-a-dll/m-p/808692#M41611</guid>
      <dc:creator>DavidWhite</dc:creator>
      <dc:date>2010-10-14T01:50:32Z</dc:date>
    </item>
  </channel>
</rss>

