<?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: Link error. in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Link-error/m-p/845637#M63606</link>
    <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I tried both methods.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;First i added the&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;USE IFPORT&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;It came out the message that&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;&lt;FONT size="2"&gt;Error: The attributes of this name conflict with those made accessible by a USE statement. [ITIME]&lt;BR /&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;EM&gt;&lt;FONT size="2"&gt;Error: This name has already been used as an external subroutine name. [ITIME]&lt;/FONT&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;where is :&lt;/DIV&gt;
&lt;DIV&gt;COMMON /CHRONO/ TIME,TSTEP,TTIME,TMIN,ITIME&lt;BR /&gt; ........................&lt;/DIV&gt;
&lt;DIV&gt;ITIME=ITIME+1&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;It seems that the variable ITIME conflict with the USE IFPORT.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;"An alternative is to change the calling convention to the Intel default - this is done on the External Procedures project property page. Don't forget to also change the string length passing to default. "&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Then I tried to use the second method to change the calling convection to the Default. But I couldn't find there is "Default" set for the "change the string lenth passing". The only tow choices are: &lt;/DIV&gt;
&lt;DIV&gt;"After Individual String Argument" and "After All Arguments"&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I choosed thesecond set for the string length passing. The code can be complied. But the problem was the simulation messed up. And some public variables would changed correctly. &lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;xiaowei&lt;/DIV&gt;</description>
    <pubDate>Sat, 28 Jan 2006 01:33:49 GMT</pubDate>
    <dc:creator>xxwxxw</dc:creator>
    <dc:date>2006-01-28T01:33:49Z</dc:date>
    <item>
      <title>Link error.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Link-error/m-p/845634#M63603</link>
      <description>&lt;DIV&gt;I still have the problem with converting CVF into IVF.&lt;/DIV&gt;
&lt;DIV&gt;In cvf, it seems that these two lines tried to close window after finishing the simulation. But in IVF, there is link error about the ABORT. &lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt; &lt;EM&gt;CLOSE(IFILERESD, STATUS='DELETE', ERR=4123)&lt;BR /&gt;4123 CALL ABORT('MODSIM HAS ENDED')&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;MODSIM error LNK2019: unresolved external symbol &lt;A href="mailto:_ABORT@8" target="_blank"&gt;_ABORT@8&lt;/A&gt; referenced in function _MAIN__&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;So what kind of library shall I includefor using ABORT. Thank.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;xiaowei&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 27 Jan 2006 13:18:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Link-error/m-p/845634#M63603</guid>
      <dc:creator>xxwxxw</dc:creator>
      <dc:date>2006-01-27T13:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Link error.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Link-error/m-p/845635#M63604</link>
      <description>USE IFPORT, as clearly stated in the Manual.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.xeffort.com" target="_blank"&gt;Jugoslav&lt;/A&gt;</description>
      <pubDate>Fri, 27 Jan 2006 19:56:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Link-error/m-p/845635#M63604</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2006-01-27T19:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Link error.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Link-error/m-p/845636#M63605</link>
      <description>Expanding - if you are not using the compiler's default calling conventions - and a project converted from CVF gets set to use CVF conventions - you must add USE IFPORT to make the portability routines available.&lt;BR /&gt;&lt;BR /&gt;An alternative is to change the calling convention to the Intel default - this is done on the External Procedures project property page.  Don't forget to also change the string length passing to default.</description>
      <pubDate>Fri, 27 Jan 2006 20:07:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Link-error/m-p/845636#M63605</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2006-01-27T20:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Link error.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Link-error/m-p/845637#M63606</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I tried both methods.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;First i added the&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;USE IFPORT&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;It came out the message that&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;&lt;FONT size="2"&gt;Error: The attributes of this name conflict with those made accessible by a USE statement. [ITIME]&lt;BR /&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;EM&gt;&lt;FONT size="2"&gt;Error: This name has already been used as an external subroutine name. [ITIME]&lt;/FONT&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;where is :&lt;/DIV&gt;
&lt;DIV&gt;COMMON /CHRONO/ TIME,TSTEP,TTIME,TMIN,ITIME&lt;BR /&gt; ........................&lt;/DIV&gt;
&lt;DIV&gt;ITIME=ITIME+1&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;It seems that the variable ITIME conflict with the USE IFPORT.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;"An alternative is to change the calling convention to the Intel default - this is done on the External Procedures project property page. Don't forget to also change the string length passing to default. "&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Then I tried to use the second method to change the calling convection to the Default. But I couldn't find there is "Default" set for the "change the string lenth passing". The only tow choices are: &lt;/DIV&gt;
&lt;DIV&gt;"After Individual String Argument" and "After All Arguments"&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I choosed thesecond set for the string length passing. The code can be complied. But the problem was the simulation messed up. And some public variables would changed correctly. &lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;xiaowei&lt;/DIV&gt;</description>
      <pubDate>Sat, 28 Jan 2006 01:33:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Link-error/m-p/845637#M63606</guid>
      <dc:creator>xxwxxw</dc:creator>
      <dc:date>2006-01-28T01:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Link error.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Link-error/m-p/845638#M63607</link>
      <description>Ok, then use:&lt;BR /&gt;&lt;BR /&gt;USE IFPORT, only: ABORT&lt;BR /&gt;&lt;BR /&gt;It was not clear that your application used non-Fortran routines that relied on CVF conventions.</description>
      <pubDate>Sat, 28 Jan 2006 01:38:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Link-error/m-p/845638#M63607</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2006-01-28T01:38:31Z</dc:date>
    </item>
  </channel>
</rss>

