<?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: Linking IMSL Libraries in IDE in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-IMSL-Libraries-in-IDE/m-p/782636#M28512</link>
    <description>The attachment is gone - it is from 2004 and is obsolete anyway. The information is in the on-disk documentation under Building Applications &amp;gt; Using Libraries &amp;gt; Using IMSL. You should also read &lt;A href="http://software.intel.com/en-us/articles/installing-and-using-the-imsl-libraries/"&gt;this article.&lt;/A&gt;</description>
    <pubDate>Wed, 23 Mar 2011 16:54:21 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2011-03-23T16:54:21Z</dc:date>
    <item>
      <title>Linking IMSL Libraries in IDE</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-IMSL-Libraries-in-IDE/m-p/782626#M28502</link>
      <description>I wrote a simple program calling one of the IMSL routines, "DLINRG", with the Intel FORTRAN compiler 8.0 within the Visual Studio environment.  The program contains USE NUMERICAL_LIBRARIES (but I'm not sure that's correct for using IMSL).

I keep getting an LNK2019, unresolved external for DLINRG.  What do I need to do????  The correct VNI directory has been added to the link path, but the linker never searches that directory.  Below is the build output text...


"------ Build started: Project: testMe, Configuration: Debug|Win32 ------

Deleting intermediate files and output files for project 'testMe', configuration 'Debug|Win32'.
Compiling...
ifort /nologo /Zi /Od /module:"Debug/" /object:"Debug/" /traceback /check:bounds /c  D:Dataursorg	estMe	estMe.f90
Linking...
Link /OUT:"Debug/testMe.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:Program FilesVNICTT5.0libintel32" /DEBUG /PDB:"Debug/testMe.pdb" /SUBSYSTEM:CONSOLE /VERBOSE:LIB Debug/testMe.obj
Link: executing 'link'

Searching libraries
    Searching C:program filesIntelFortranCompiler80Ia32Libifconsol.lib:
    Searching C:program filesIntelFortranCompiler80Ia32Liblibifcore.lib:
    Searching C:program filesIntelFortranCompiler80Ia32Liblibifport.lib:
    Searching C:program filesIntelFortranCompiler80Ia32Liblibm.lib:
    Searching C:program filesMicrosoft Visual Studio .NET 2003Vc7libLIBC.lib:
    Searching C:program filesIntelFortranCompiler80Ia32Liblibirc.lib:
    Searching C:program filesMicrosoft Visual Studio .NET 2003Vc7libOLDNAMES.lib:
    Searching C:program filesMicrosoft Visual Studio .NET 2003Vc7PlatformSDKlibuuid.lib:
    Searching C:program filesMicrosoft Visual Studio .NET 2003Vc7libkernel32.lib:
    Searching C:program filesIntelFortranCompiler80Ia32Libifconsol.lib:
    Searching C:program filesIntelFortranCompiler80Ia32Liblibifcore.lib:
    Searching C:program filesIntelFortranCompiler80Ia32Liblibifport.lib:
    Searching C:program filesIntelFortranCompiler80Ia32Liblibm.lib:
    Searching C:program filesMicrosoft Visual Studio .NET 2003Vc7libLIBC.lib:
    Searching C:program filesIntelFortranCompiler80Ia32Liblibirc.lib:
    Searching C:program filesMicrosoft Visual Studio .NET 2003Vc7libOLDNAMES.lib:
    Searching C:program filesMicrosoft Visual Studio .NET 2003Vc7PlatformSDKlibuuid.lib:
    Searching C:program filesMicrosoft Visual Studio .NET 2003Vc7libkernel32.lib:
    Searching C:program filesIntelFortranCompiler80Ia32Libifconsol.lib:
    Searching C:program filesIntelFortranCompiler80Ia32Liblibifcore.lib:
    Searching C:program filesIntelFortranCompiler80Ia32Liblibifport.lib:
    Searching C:program filesIntelFortranCompiler80Ia32Liblibm.lib:

Finished searching libraries
testMe.obj : error LNK2019: unresolved external symbol _DLINRG referenced in function _MAIN__
Debug/testMe.exe : fatal error LNK1120: 1 unresolved externals


testMe build failed."

-Robert</description>
      <pubDate>Fri, 28 May 2004 22:51:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-IMSL-Libraries-in-IDE/m-p/782626#M28502</guid>
      <dc:creator>ursorg</dc:creator>
      <dc:date>2004-05-28T22:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Linking IMSL Libraries in IDE</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-IMSL-Libraries-in-IDE/m-p/782627#M28503</link>
      <description>&lt;DIV&gt;It would seem that, unlike in CVF, Visual Numerics did not add the OBJCOMMENT directives to NUMERICAL_LIBRARIES to cause the libraries to be searched. You can add the library names under the Link properties tab of your project.&lt;/DIV&gt;</description>
      <pubDate>Fri, 28 May 2004 23:46:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-IMSL-Libraries-in-IDE/m-p/782627#M28503</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2004-05-28T23:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Linking IMSL Libraries in IDE</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-IMSL-Libraries-in-IDE/m-p/782628#M28504</link>
      <description>&lt;P&gt;Hi Steve,&lt;/P&gt;
&lt;P&gt;Thanks for wading through that mess (it was nicely formatted on my screen). I attempted to add all the library files using the "Properties&amp;gt;Linker&amp;gt;General&amp;gt;AdditionalLibraryDirectories". And,it shows up at the link command line,&lt;/P&gt;Link /OUT:"Debug/testMe.exe" /INCREMENTAL:NO /NOLOGO &lt;STRONG&gt;/LIBPATH:"C:Program FilesVNICTT5.0libintel32"&lt;/STRONG&gt; /DEBUG /PDB:"Debug/testMe.pdb" /SUBSYSTEM:CONSOLE /VERBOSE:LIB Debug/testMe.obj&lt;BR /&gt;
&lt;P&gt;However, if I use the /VERBOSE:LIB command, the linker never searches that path for the appropriate library. Is there something I'm missing here?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;-Robert&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 29 May 2004 00:01:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-IMSL-Libraries-in-IDE/m-p/782628#M28504</guid>
      <dc:creator>ursorg</dc:creator>
      <dc:date>2004-05-29T00:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Linking IMSL Libraries in IDE</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-IMSL-Libraries-in-IDE/m-p/782629#M28505</link>
      <description>&lt;DIV&gt;You have to aadd the actual library names under Link..Input..Additional Dependencies. imsl.lib imsls_err.lib imslscalar.lib&lt;/DIV&gt;</description>
      <pubDate>Sat, 29 May 2004 00:33:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-IMSL-Libraries-in-IDE/m-p/782629#M28505</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2004-05-29T00:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Linking IMSL Libraries in IDE</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-IMSL-Libraries-in-IDE/m-p/782630#M28506</link>
      <description>&lt;P&gt;Thanks - that worked like a charm. I was under the impression adding the library path was enough. Live and learn!&lt;/P&gt;
&lt;P&gt;-Robert&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 29 May 2004 00:55:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-IMSL-Libraries-in-IDE/m-p/782630#M28506</guid>
      <dc:creator>ursorg</dc:creator>
      <dc:date>2004-05-29T00:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Linking IMSL Libraries in IDE</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-IMSL-Libraries-in-IDE/m-p/782631#M28507</link>
      <description>&lt;DIV&gt;Additional Information,&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;When I was converting a large CVF workspace to an IVF solution, the "Properties&amp;gt;Fortran&amp;gt;ExternalProcedures&amp;gt;CallingConvention" was automatically set to "CVF". This would have worked fine, except the new IVF IMSL library calling convention is different (ie. the @xx is not appended to the end of the funtion name). In order to solve this problem, set the calling convention to "Default".&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;If working with IMSL libraries, and receiving unresolved external link errors, check to see if the "@xx" is appended to the end of the function. If so, what I said above could be the culprit.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;-Robert&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 29 May 2004 02:19:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-IMSL-Libraries-in-IDE/m-p/782631#M28507</guid>
      <dc:creator>ursorg</dc:creator>
      <dc:date>2004-05-29T02:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Linking IMSL Libraries in IDE</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-IMSL-Libraries-in-IDE/m-p/782632#M28508</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;May I offer another comment about this thread.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I had considerable difficulty getting the IMSL library linked to a simple example supplied by IMSL in their example directory (C:Program FilesVNICTT5.0examplesintel32f90validate).&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;What I eventually discovered was that under the property tabbed sheet - Linker, General, Additional Library Directories - is that you don't need to include the /LIBPATH: when putting the text in the box. The IDE will automatically add it for you. As well, the LIBPATH should appear as "C:Program FilesVNICTT5.0libintel32" in the box. I believe there's a "" missing between the "5.0" and the "lib" in the line under Steve's reply above.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Another note is that the verbose output for the linker is turned on by selecting, under Linker, General, Show Progress and then selecting either Display All or Display Some Progress Messages.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I hope this helps someone else that may be struggling with linking to the IMSL libraries.&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 Aug 2004 01:45:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-IMSL-Libraries-in-IDE/m-p/782632#M28508</guid>
      <dc:creator>williamrrichmond</dc:creator>
      <dc:date>2004-08-18T01:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Linking IMSL Libraries in IDE</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-IMSL-Libraries-in-IDE/m-p/782633#M28509</link>
      <description>&lt;DIV&gt;The next release will include a new section of the User Guide that covers all of this in detail. I don't recommend doing this with "Additional Library Directories.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I have attached the new manual pages to this message.&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 Aug 2004 02:45:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-IMSL-Libraries-in-IDE/m-p/782633#M28509</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2004-08-18T02:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Linking IMSL Libraries in IDE</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-IMSL-Libraries-in-IDE/m-p/782634#M28510</link>
      <description>This is an excellent addition to the IVF docs. I find no fault with it.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Gerry T.</description>
      <pubDate>Fri, 20 Aug 2004 09:28:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-IMSL-Libraries-in-IDE/m-p/782634#M28510</guid>
      <dc:creator>g_f_thomas</dc:creator>
      <dc:date>2004-08-20T09:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Linking IMSL Libraries in IDE</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-IMSL-Libraries-in-IDE/m-p/782635#M28511</link>
      <description>Steve&lt;BR /&gt;I don't see the attachment.&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 23 Mar 2011 16:11:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-IMSL-Libraries-in-IDE/m-p/782635#M28511</guid>
      <dc:creator>craig_h</dc:creator>
      <dc:date>2011-03-23T16:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Linking IMSL Libraries in IDE</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-IMSL-Libraries-in-IDE/m-p/782636#M28512</link>
      <description>The attachment is gone - it is from 2004 and is obsolete anyway. The information is in the on-disk documentation under Building Applications &amp;gt; Using Libraries &amp;gt; Using IMSL. You should also read &lt;A href="http://software.intel.com/en-us/articles/installing-and-using-the-imsl-libraries/"&gt;this article.&lt;/A&gt;</description>
      <pubDate>Wed, 23 Mar 2011 16:54:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-IMSL-Libraries-in-IDE/m-p/782636#M28512</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2011-03-23T16:54:21Z</dc:date>
    </item>
  </channel>
</rss>

