<?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 Add the following line after in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/error-LNK2001-unresolved-external-symbol-error-when-using-IMSL/m-p/1069988#M119239</link>
    <description>&lt;P&gt;Add the following line after the include:&lt;/P&gt;

&lt;P&gt;!DEC$ OBJCOMMENT LIB:"libiomp5md.lib"&lt;/P&gt;</description>
    <pubDate>Fri, 09 Sep 2016 14:30:37 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2016-09-09T14:30:37Z</dc:date>
    <item>
      <title>error LNK2001 ‘unresolved external symbol’ error when using IMSL lib</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/error-LNK2001-unresolved-external-symbol-error-when-using-IMSL/m-p/1069987#M119238</link>
      <description>&lt;P&gt;Hi, everyone, I have a problem related to unsuccessful using of IMSL lib&lt;/P&gt;

&lt;P&gt;In my original source code main.f90 (which is written by other people couple years ago), IMSL lib are called using&lt;/P&gt;

&lt;P&gt;a command&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt; include INCLUDE 'link_f90_static.h'&lt;/PRE&gt;

&lt;P&gt;However, the ivf complier failed to find&amp;nbsp;link_f90_static.h file in my computer, and threw me a&amp;nbsp;&lt;SPAN style="font-size: 16px;"&gt;&lt;B&gt;&lt;SPAN style="font-family: 'Times New Roman';"&gt;Error #5102.&lt;/SPAN&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;&lt;SPAN style="font-family: 'Times New Roman';"&gt;I guess it's because&lt;STRONG&gt; the version of IMSL is different &lt;/STRONG&gt;on our two laptops. The problem was resolved when&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;&lt;SPAN style="font-family: 'Times New Roman';"&gt;I substituted the original command with the following one&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt; include INCLUDE 'link_fnl_static.h'&lt;/PRE&gt;

&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;&lt;SPAN style="font-family: 'Times New Roman';"&gt;However, though the first problem was resolved, the second one emerged：a branch of error messages appeared in&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;&lt;SPAN style="font-family: 'Times New Roman';"&gt;the input window, like&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;1&amp;gt;imsls_err.lib(e1ucs.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num&lt;/PRE&gt;

&lt;P&gt;It seems I did not use the IMSL completely successful&lt;/P&gt;

&lt;P&gt;I guess it's due to the modification of code I have engaged before, but I'm not 100% sure about that&lt;/P&gt;

&lt;P&gt;Any suggestion? Thank you.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2016 16:09:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/error-LNK2001-unresolved-external-symbol-error-when-using-IMSL/m-p/1069987#M119238</guid>
      <dc:creator>lu_z_</dc:creator>
      <dc:date>2016-09-08T16:09:39Z</dc:date>
    </item>
    <item>
      <title>Add the following line after</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/error-LNK2001-unresolved-external-symbol-error-when-using-IMSL/m-p/1069988#M119239</link>
      <description>&lt;P&gt;Add the following line after the include:&lt;/P&gt;

&lt;P&gt;!DEC$ OBJCOMMENT LIB:"libiomp5md.lib"&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2016 14:30:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/error-LNK2001-unresolved-external-symbol-error-when-using-IMSL/m-p/1069988#M119239</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2016-09-09T14:30:37Z</dc:date>
    </item>
  </channel>
</rss>

