<?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 DependencyWalker, in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Redistributing-Program-with-IMSL-Routines/m-p/1022085#M108406</link>
    <description>&lt;P&gt;DependencyWalker, inexplicably, doesn't understand how WIndows deals with 32-bit and 64-bit applications on a 64-bit system. You want the IA-32 version of IMSL_DLL.dll. This should be in a folder on PATH - it won't work if it is in the folder with your DLLs. (Or it could be in the folder with the VB executable.)&lt;/P&gt;

&lt;P&gt;Although you're using the 6.0 IMSL, I thought I'd mention an important issue should you upgrade to IMSL 7.01. The default for link_fnl_shared.h is now to link to a version of IMSL that also depends on Intel MKL, so you would need the appropriate MKL DLL installed as well. There is an alternative.h file, whose name I don't recall right now (and don't have a system with it installed), that uses an IMSL-only DLL. Note also that Intel Fortran doesn't add the MKL path to PATH by default - you'll have to do that manually.&lt;/P&gt;</description>
    <pubDate>Sat, 11 Oct 2014 00:51:13 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2014-10-11T00:51:13Z</dc:date>
    <item>
      <title>Redistributing Program with IMSL Routines</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Redistributing-Program-with-IMSL-Routines/m-p/1022084#M108405</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;I have a 32-bit VB-Net application that calls several FORTRAN dlls. The dlls work fine on the development computer and on a test installation computer (one without a&amp;nbsp;compiler)&amp;nbsp;with the exception of one dll that uses the IMSL library. The vb program can't find the dll with the IMSL routines. If I remove the IMSL calls, it works. I have the following statement in the code: &amp;nbsp;&lt;/SPAN&gt;include 'link_fnl_shared.h' &amp;nbsp;and the following include library in the compiler settings:&amp;nbsp;C:\Program Files (x86)\VNI\imsl\fnl600\IA32\include\dll.&lt;/P&gt;

&lt;P&gt;I ran dependency walker and the routine is looking for a 64 bit version of IMS_DLL.DLL. When I include this in the program directory I get an error that says "An attempt was made to load a program with an incorrect format"&lt;/P&gt;

&lt;P&gt;It seems I'm missing some redistributable file for the IMSL library.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Oct 2014 00:41:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Redistributing-Program-with-IMSL-Routines/m-p/1022084#M108405</guid>
      <dc:creator>Bruce_Barker</dc:creator>
      <dc:date>2014-10-11T00:41:07Z</dc:date>
    </item>
    <item>
      <title>DependencyWalker,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Redistributing-Program-with-IMSL-Routines/m-p/1022085#M108406</link>
      <description>&lt;P&gt;DependencyWalker, inexplicably, doesn't understand how WIndows deals with 32-bit and 64-bit applications on a 64-bit system. You want the IA-32 version of IMSL_DLL.dll. This should be in a folder on PATH - it won't work if it is in the folder with your DLLs. (Or it could be in the folder with the VB executable.)&lt;/P&gt;

&lt;P&gt;Although you're using the 6.0 IMSL, I thought I'd mention an important issue should you upgrade to IMSL 7.01. The default for link_fnl_shared.h is now to link to a version of IMSL that also depends on Intel MKL, so you would need the appropriate MKL DLL installed as well. There is an alternative.h file, whose name I don't recall right now (and don't have a system with it installed), that uses an IMSL-only DLL. Note also that Intel Fortran doesn't add the MKL path to PATH by default - you'll have to do that manually.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Oct 2014 00:51:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Redistributing-Program-with-IMSL-Routines/m-p/1022085#M108406</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-10-11T00:51:13Z</dc:date>
    </item>
    <item>
      <title>Steve,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Redistributing-Program-with-IMSL-Routines/m-p/1022086#M108407</link>
      <description>&lt;P&gt;Steve,&lt;/P&gt;

&lt;P&gt;The VB program and DLL's are stored in the same directory so I placed&amp;nbsp;imsl_dll.dll and&amp;nbsp;imslmkl_dll.dll in the Windows\System32 directory which is on the system path. I'm still getting a DLL not found error message. (?)&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2014 15:38:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Redistributing-Program-with-IMSL-Routines/m-p/1022086#M108407</guid>
      <dc:creator>Bruce_Barker</dc:creator>
      <dc:date>2014-10-13T15:38:31Z</dc:date>
    </item>
    <item>
      <title>You're missing the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Redistributing-Program-with-IMSL-Routines/m-p/1022087#M108408</link>
      <description>&lt;P&gt;You're missing the appropriate MKL DLL - you don't need both imsl_dll.dll and imslmkl_dll.dll. imslmkl_dll.dll requires mkl_intel_thread.dll, libifcoremd,dll, libmmd.dll, libifportmd.dll and libiomp5md.dll. All of these but the first are in the compiler redistributables installer.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2014 18:28:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Redistributing-Program-with-IMSL-Routines/m-p/1022087#M108408</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-10-13T18:28:46Z</dc:date>
    </item>
    <item>
      <title>If I'm interpreting your last</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Redistributing-Program-with-IMSL-Routines/m-p/1022088#M108409</link>
      <description>&lt;P&gt;If I'm interpreting your last message correctly, I don't need i&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;mslmkl_dll.dll. I deleted imslmkl_dll.dll and kept imsl_dll.dll&amp;nbsp;and still the problem persists.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2014 18:57:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Redistributing-Program-with-IMSL-Routines/m-p/1022088#M108409</guid>
      <dc:creator>Bruce_Barker</dc:creator>
      <dc:date>2014-10-13T18:57:00Z</dc:date>
    </item>
    <item>
      <title>If you are developing all 32</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Redistributing-Program-with-IMSL-Routines/m-p/1022089#M108410</link>
      <description>&lt;P&gt;If you are developing all 32-bit applications which are to be run on a 64 bit Windows system, c:\Windows\System32 is the wrong place into which to put 32-bit DLLs. Those DLLs should go to c:\windows\SysWOW64, if you have thought the issues through and you want system-wide access to those DLLs.&lt;/P&gt;

&lt;P&gt;Whether to use imslmkl_dll.dll or imsl_dll.dll depends on how the application was linked, and the linking process is affected by #include &amp;lt;fnl...&amp;gt; directives in the source files.&lt;/P&gt;

&lt;P&gt;My suggestion is to avoid using MKL completely until you have a working build/deploy routine. After that, you can incorporate MKL to achieve higher performance.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2014 19:33:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Redistributing-Program-with-IMSL-Routines/m-p/1022089#M108410</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2014-10-13T19:33:00Z</dc:date>
    </item>
    <item>
      <title>Did you resolve the 32-bit vs</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Redistributing-Program-with-IMSL-Routines/m-p/1022090#M108411</link>
      <description>&lt;P&gt;Did you resolve the 32-bit vs. 64-bit DLL issue?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2014 20:00:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Redistributing-Program-with-IMSL-Routines/m-p/1022090#M108411</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-10-13T20:00:31Z</dc:date>
    </item>
    <item>
      <title>I moved imsl_dll.dll to the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Redistributing-Program-with-IMSL-Routines/m-p/1022091#M108412</link>
      <description>&lt;P&gt;I moved&amp;nbsp;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;imsl_dll.dll&amp;nbsp;&lt;/SPAN&gt;to the&amp;nbsp;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;SysWOW64 directory and I'm still receiving a DLL not found exception. I also tried it in another directory in the system path and no luck.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2014 20:12:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Redistributing-Program-with-IMSL-Routines/m-p/1022091#M108412</guid>
      <dc:creator>Bruce_Barker</dc:creator>
      <dc:date>2014-10-13T20:12:50Z</dc:date>
    </item>
    <item>
      <title>SysWOW64 is not a place you</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Redistributing-Program-with-IMSL-Routines/m-p/1022092#M108413</link>
      <description>&lt;P&gt;SysWOW64 is not a place you should put files. Keep in mind that VB will say "DLL not found" for ANY kind of DLL-related error, including entry point not found.&lt;/P&gt;

&lt;P&gt;As an experiment, write a Fortran program linked to your DLL (which has a call to the routine, even if not executed) and run it from the same location as the VB executable. You should get more informative diagnostics.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2014 20:42:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Redistributing-Program-with-IMSL-Routines/m-p/1022092#M108413</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-10-13T20:42:39Z</dc:date>
    </item>
    <item>
      <title>Quote:Steve Lionel (Intel)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Redistributing-Program-with-IMSL-Routines/m-p/1022093#M108414</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Steve Lionel (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Keep in mind that VB will say "DLL not found" for ANY kind of DLL-related error, including entry point not found.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Note that VBA also behaves this way.&amp;nbsp; It will also report DLL not found when a Win32 program tries to load an x64 DLL, even if it is on the PATH.&lt;/P&gt;
&lt;P&gt;An error message that the DLL was not able to be loaded, rather than not found would be more useful.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2014 00:36:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Redistributing-Program-with-IMSL-Routines/m-p/1022093#M108414</guid>
      <dc:creator>DavidWhite</dc:creator>
      <dc:date>2014-10-14T00:36:40Z</dc:date>
    </item>
    <item>
      <title>I wrote a FORTRAN program</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Redistributing-Program-with-IMSL-Routines/m-p/1022094#M108415</link>
      <description>&lt;P&gt;I wrote a FORTRAN program that called the DLL and the error message said that &amp;nbsp;msvcr71.dll was missing. With&amp;nbsp;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;msvcr71.dll and i&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;msl_dll.dll in the same directory as the VB program and DLL's it worked. I also discovered that&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;msvcr71.dll&amp;nbsp;&lt;/SPAN&gt;is packaged with the&amp;nbsp;Microsoft C Runtime Library 7.1 Merge Module. I was using&amp;nbsp;&amp;nbsp;Microsoft C++ 2008 SP1 Redistributable Package(x86), which apparently doesn't include&amp;nbsp;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;msvcr71.dll. I switched to the Runtime Library 7.1 Merge Module&amp;nbsp;and added&amp;nbsp;i&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;msl_dll.dll&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;to the installer and now it's working. The target computer also has redistributables from w_cprof_p_11.1.072_redist_ia32.exe&amp;nbsp;installed.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2014 18:56:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Redistributing-Program-with-IMSL-Routines/m-p/1022094#M108415</guid>
      <dc:creator>Bruce_Barker</dc:creator>
      <dc:date>2014-10-14T18:56:50Z</dc:date>
    </item>
    <item>
      <title>I am puzzled as to how you</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Redistributing-Program-with-IMSL-Routines/m-p/1022095#M108416</link>
      <description>&lt;P&gt;I am puzzled as to how you had a dependency on such an old (VS2003) DLL but am glad to hear you got it working.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2014 20:42:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Redistributing-Program-with-IMSL-Routines/m-p/1022095#M108416</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-10-14T20:42:25Z</dc:date>
    </item>
  </channel>
</rss>

