<?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: Distribute DLLs to IT-restricted customers in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1556392#M170115</link>
    <description>&lt;P&gt;Sweet. Thanks for all the help!&lt;/P&gt;</description>
    <pubDate>Thu, 21 Dec 2023 17:33:08 GMT</pubDate>
    <dc:creator>CoryG</dc:creator>
    <dc:date>2023-12-21T17:33:08Z</dc:date>
    <item>
      <title>Distribute DLLs to IT-restricted customers</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1553745#M169948</link>
      <description>&lt;P&gt;We build software using the Intel Fortran Compiler and distribute it to various customers. Until recently, we've been using the 2013 compiler version. Along with our executable, we ship out&amp;nbsp;&lt;SPAN&gt;libiomp5md.dll as our code needs this to run.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Recently, we've upgraded to the latest version of the Fortran Compiler. This has caused issues with accessing that DLL on some customers' computers. Even if we ship out the latest version of libiomp5md.dll with our executable, the code cannot run. I was able to fix this for one customer by having them upgrade the Intel runtime libraries (as suggested in this post: &lt;A href="https://community.intel.com/t5/Intel-Fortran-Compiler/Procedure-entry-point-kmpc-aligned-alloc-could-not-be-located/m-p/1330222" target="_self"&gt;https://community.intel.com/t5/Intel-Fortran-Compiler/Procedure-entry-point-kmpc-aligned-alloc-could-not-be-located/m-p/1330222&lt;/A&gt;&amp;nbsp;, which, by the way, describes the exact same errors our customers were getting).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Unfortunately, a lot of our customers have IT systems that are pretty locked down, and so having everyone upgrade the Intel runtimes would be hard. Even without IT issues, forcing all customers to do this manually would be a pain. Is there a simpler way to make sure that when we ship out our executable the correct DLLs will be present on the receiving end?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 23:19:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1553745#M169948</guid>
      <dc:creator>CoryG</dc:creator>
      <dc:date>2023-12-13T23:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Distribute DLLs to IT-restricted customers</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1553758#M169951</link>
      <description>&lt;P&gt;When you say "the code cannot run", exactly what do you mean? What are the error messages?&lt;/P&gt;&lt;P&gt;There are multiple DLLs that are used by Intel-compiled applications. You could choose to link against the static libraries, which will reduce many of the dependencies, but not all - in particular, libiomp5md.dll. You can use the &lt;A href="https://github.com/lucasg/Dependencies" target="_self"&gt;Dependencies&lt;/A&gt; app to identify which DLLs your program needs.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 00:05:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1553758#M169951</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2023-12-14T00:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Distribute DLLs to IT-restricted customers</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1554020#M169974</link>
      <description>&lt;P&gt;We get errors like:&lt;BR /&gt;&lt;BR /&gt;"The application was unable to start correctly (0xc000007b). Click OK to close the application."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"The procedure entry point __kmpc_aligned_alloc could not be located in the dynamic link library C:\..."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So is there not a static library we can use instead of libiomp5md.dll? Would there be a simple way to remove the need for this DLL? Our code uses OpenMP pretty extensively, but I'm not sure what functionality requires that particular DLL.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 16:44:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1554020#M169974</guid>
      <dc:creator>CoryG</dc:creator>
      <dc:date>2023-12-14T16:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Distribute DLLs to IT-restricted customers</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1554053#M169979</link>
      <description>&lt;P&gt;That's an OpenMP library entry point. On Windows there is no longer a static Intel OpenMP library (this change happened about 8-10 years ago - oddly, Intel continued to ship a static OMP library on Linux, though I don't know if they still do.)&amp;nbsp;&lt;/P&gt;&lt;P&gt;As that entry point has been in libiomp5md.dll for years (I found it in a 2021 copy), it makes me wonder which copy of this you are shipping. Make sure that you are providing the 32-bit or 64-bit version, depending on your application build configuration.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 17:50:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1554053#M169979</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2023-12-14T17:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Distribute DLLs to IT-restricted customers</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1554426#M170009</link>
      <description>&lt;P&gt;I downloaded the Dependencies app, and it is showing the dependency on libiomp5md.dll. It lists on there a specific file location for the DLL. If I grab the DLL from that location and ship that, I should be fine right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How would I check which version the DLL is?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 16:47:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1554426#M170009</guid>
      <dc:creator>CoryG</dc:creator>
      <dc:date>2023-12-15T16:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Distribute DLLs to IT-restricted customers</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1554463#M170016</link>
      <description>&lt;P&gt;All DLLs have a version that is visible when you look at the file properties. If your program runs fine on your system, then, sure, ship that DLL, which you would place in the same folder as the executable.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 17:41:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1554463#M170016</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2023-12-15T17:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Distribute DLLs to IT-restricted customers</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1556071#M170092</link>
      <description>&lt;P&gt;That worked! I've read elsewhere on the forum though that it's not best practice to distribute DLLs. Instead, it's better to rely on end users downloading the runtime libraries. Why is that?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 20:24:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1556071#M170092</guid>
      <dc:creator>CoryG</dc:creator>
      <dc:date>2023-12-20T20:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Distribute DLLs to IT-restricted customers</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1556100#M170096</link>
      <description>&lt;P&gt;"Why" - the Runtime Libraries installer has all the libraries possible.&amp;nbsp; So you don't accidentally forget to package one or another.&lt;/P&gt;
&lt;P&gt;The latest Runtime Libraries have all the most recent fixes, including security fixes.&amp;nbsp; And the latest libs are backwards compatible.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BUT&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to save size, if you only need the OpenMP runtime libiomp5.dll and compiled with -static-intel you can easily package libiomp5.dll with your binary.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And as you said, installing the Runtime Libraries may involve a headache with yout IT department who may not be keen on installing "unknown" files from a vendor.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 21:53:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1556100#M170096</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2023-12-20T21:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Distribute DLLs to IT-restricted customers</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1556115#M170099</link>
      <description>&lt;P&gt;Makes sense. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 22:39:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1556115#M170099</guid>
      <dc:creator>CoryG</dc:creator>
      <dc:date>2023-12-20T22:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Distribute DLLs to IT-restricted customers</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1556118#M170100</link>
      <description>&lt;P&gt;One other reason people stick a load of dlls with the exe and then include the folder in the path. If this path occurs before other runtime paths it can right royally foobah other applications that use any of those dlls. It can causes endless&amp;nbsp; of pain when least expected....&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 22:45:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1556118#M170100</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2023-12-20T22:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Distribute DLLs to IT-restricted customers</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1556132#M170101</link>
      <description>&lt;P&gt;And even worse is when the application's installer puts the DLLs in the WIndows System folder, where they don't belong. I can't count the number of times I helped users resolve a problem caused by some third-party tool copying Fortran support DLLs to the Windows System folder.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 23:31:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1556132#M170101</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2023-12-20T23:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Distribute DLLs to IT-restricted customers</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1556338#M170109</link>
      <description>&lt;P&gt;But if we just have the DLL in the same folder as the executable and don't mess with the PATH variables or anything, we should be good, right?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 16:04:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1556338#M170109</guid>
      <dc:creator>CoryG</dc:creator>
      <dc:date>2023-12-21T16:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Distribute DLLs to IT-restricted customers</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1556381#M170113</link>
      <description>&lt;P&gt;Yes, that is the way.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 17:15:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1556381#M170113</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2023-12-21T17:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Distribute DLLs to IT-restricted customers</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1556392#M170115</link>
      <description>&lt;P&gt;Sweet. Thanks for all the help!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 17:33:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Distribute-DLLs-to-IT-restricted-customers/m-p/1556392#M170115</guid>
      <dc:creator>CoryG</dc:creator>
      <dc:date>2023-12-21T17:33:08Z</dc:date>
    </item>
  </channel>
</rss>

