<?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 I have removed the external in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Module-issues/m-p/1087029#M123282</link>
    <description>&lt;P&gt;I have removed the external declaration for FUNC1, FUNC2, AND FUNC. Now it is working fine.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks for your enlightened replies.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Apr 2017 19:16:29 GMT</pubDate>
    <dc:creator>Elsayed_A_</dc:creator>
    <dc:date>2017-04-19T19:16:29Z</dc:date>
    <item>
      <title>Module issues</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Module-issues/m-p/1087026#M123279</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;The attached file contains some functions and subroutines. The program works fine without putting the functions and subroutines in the module. However, when I use the module I got the following error.&lt;/P&gt;

&lt;P&gt;1&amp;gt;testprog.f90&lt;BR /&gt;
	1&amp;gt;Linking...&lt;BR /&gt;
	1&amp;gt;testprog.obj : error LNK2019: unresolved external symbol _FUNC1 referenced in function _XXX_mp_ROCKPROP&lt;BR /&gt;
	1&amp;gt;testprog.obj : error LNK2019: unresolved external symbol _FUNC2 referenced in function _XXX_mp_ROCKPROP&lt;BR /&gt;
	1&amp;gt;Debug\testprog.exe : fatal error LNK1120: 2 unresolved externals&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Could you please, the source of this issue?&lt;/P&gt;

&lt;P&gt;Regards&lt;A href="https://community.intel.com/legacyfs/online/drupal_files/548408"&gt;548408&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 14:16:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Module-issues/m-p/1087026#M123279</guid>
      <dc:creator>Elsayed_A_</dc:creator>
      <dc:date>2017-04-19T14:16:38Z</dc:date>
    </item>
    <item>
      <title>If you wish to call</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Module-issues/m-p/1087027#M123280</link>
      <description>&lt;P&gt;If you wish to call subroutines and use functions that are inside a module, you have to include a USE statement for the module in your calle\ing program unit. If you do not do so, the caller will issue references to external names such as FUNC1, but the OBJ file produced from the module will have decorated names which will not match. Similarly, if you have a USE xxx statement, you should not declare FUNC1 and FUNC2 as external.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 14:29:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Module-issues/m-p/1087027#M123280</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2017-04-19T14:29:26Z</dc:date>
    </item>
    <item>
      <title>As alluded to in #2, the line</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Module-issues/m-p/1087028#M123281</link>
      <description>&lt;P&gt;As alluded to&amp;nbsp;in #2, the line "REAL(KIND=8),external :: FUNC1,FUNC2" is the problem and should be removed. In this case they are in the same module so can be automatically seen by ROCKPROP​. Declaring&amp;nbsp;as external is telling the compiler to look elsewhere.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 15:06:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Module-issues/m-p/1087028#M123281</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2017-04-19T15:06:56Z</dc:date>
    </item>
    <item>
      <title>I have removed the external</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Module-issues/m-p/1087029#M123282</link>
      <description>&lt;P&gt;I have removed the external declaration for FUNC1, FUNC2, AND FUNC. Now it is working fine.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks for your enlightened replies.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 19:16:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Module-issues/m-p/1087029#M123282</guid>
      <dc:creator>Elsayed_A_</dc:creator>
      <dc:date>2017-04-19T19:16:29Z</dc:date>
    </item>
  </channel>
</rss>

