<?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 Has this issue since been in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-6633-when-type-declared-in-module-and-used-in-module/m-p/823790#M49070</link>
    <description>&lt;P&gt;Has this issue since been resolved? My error seems to be nearly identical.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 09 Jun 2014 17:49:58 GMT</pubDate>
    <dc:creator>Jeffrey_C_</dc:creator>
    <dc:date>2014-06-09T17:49:58Z</dc:date>
    <item>
      <title>Error #6633 when type declared in module and used in module procedure and global procedure</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-6633-when-type-declared-in-module-and-used-in-module/m-p/823787#M49067</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;The following program gives "error #6633: The type of the actual argument differs from the type of the dummy argument.   [VAL]" (see comment in the code) when I compile it like this:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;ifort /gen-interfaces /compile-only moduletypetest.f90&lt;BR /&gt;ifort /warn:all moduletypetest.f90&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I'm usingIntel Visual Fortran Compiler XE for applications running on IA-32, Version 12.0.5.221 Build 20110719.&lt;/P&gt;&lt;P&gt;I browsed through some other forum posts about error #6633 and in many cases the problem was that the derived type was declared separately in several places. The suggested solution in those cases was to declare the derived type in a module and use the module. Superficially it would seem that I'm not doing against that advice in this program. But does something similar still happen, i.e. is the derived type somehow declared separately for procedures foo and bar?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;module mymod&lt;BR /&gt; type mytype&lt;BR /&gt;      integer :: x&lt;BR /&gt;  end type mytype&lt;BR /&gt;contains&lt;BR /&gt;  subroutine foo()&lt;BR /&gt;       type(mytype) :: val&lt;BR /&gt;       call bar( val ) !error #6633: The type of the actual argument differs from the type of the dummy argument.   [VAL]&lt;BR /&gt;  end subroutine foo&lt;BR /&gt;end module mymod&lt;BR /&gt;&lt;BR /&gt;subroutine bar( val )&lt;BR /&gt;  use mymod&lt;BR /&gt; type(mytype) :: val&lt;BR /&gt; write(*,*) val&lt;BR /&gt;end subroutine bar&lt;BR /&gt;&lt;BR /&gt;program moduletypetest&lt;BR /&gt;  use mymod&lt;BR /&gt;  call foo()&lt;BR /&gt;end program moduletypetest&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help,&lt;/P&gt;&lt;P&gt;-Ville&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2011 12:36:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-6633-when-type-declared-in-module-and-used-in-module/m-p/823787#M49067</guid>
      <dc:creator>vvnurmi</dc:creator>
      <dc:date>2011-09-26T12:36:21Z</dc:date>
    </item>
    <item>
      <title>Error #6633 when type declared in module and used in module pro</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-6633-when-type-declared-in-module-and-used-in-module/m-p/823788#M49068</link>
      <description>Make an interface block for bar &lt;BR /&gt;&lt;BR /&gt;module mymod&lt;BR /&gt; type mytype&lt;BR /&gt;  integer :: x&lt;BR /&gt; end type mytype&lt;BR /&gt; interface&lt;BR /&gt; subroutine bar( val )&lt;BR /&gt; type(mytype) :: val&lt;BR /&gt; end subroutine bar&lt;BR /&gt; end interface&lt;BR /&gt;contains&lt;BR /&gt; subroutine foo()&lt;BR /&gt; ...&lt;BR /&gt;&lt;BR /&gt;Jim Dempsey&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Sep 2011 14:57:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-6633-when-type-declared-in-module-and-used-in-module/m-p/823788#M49068</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2011-09-26T14:57:37Z</dc:date>
    </item>
    <item>
      <title>Error #6633 when type declared in module and used in module pro</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-6633-when-type-declared-in-module-and-used-in-module/m-p/823789#M49069</link>
      <description>Your code is correct, as far as I know. I don't know why /warn:interface is giving the error. I will ask the developers about this It is more puzzling to me that the call to bar gets the diagnostic only if a separate compile generating the __genmod.mod file has been done first. It's supposed to recheck things if it sees a reference to something declared later in the source. Issue ID is DPD200174083.</description>
      <pubDate>Mon, 26 Sep 2011 14:58:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-6633-when-type-declared-in-module-and-used-in-module/m-p/823789#M49069</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2011-09-26T14:58:11Z</dc:date>
    </item>
    <item>
      <title>Has this issue since been</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-6633-when-type-declared-in-module-and-used-in-module/m-p/823790#M49070</link>
      <description>&lt;P&gt;Has this issue since been resolved? My error seems to be nearly identical.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2014 17:49:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-6633-when-type-declared-in-module-and-used-in-module/m-p/823790#M49070</guid>
      <dc:creator>Jeffrey_C_</dc:creator>
      <dc:date>2014-06-09T17:49:58Z</dc:date>
    </item>
    <item>
      <title>No, it's still open. Can you</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-6633-when-type-declared-in-module-and-used-in-module/m-p/823791#M49071</link>
      <description>&lt;P&gt;No, it's still open. Can you provide a test case that shows your problem? Sometimes there are multiple issues that result in the same error.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2014 18:10:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-6633-when-type-declared-in-module-and-used-in-module/m-p/823791#M49071</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-06-09T18:10:38Z</dc:date>
    </item>
    <item>
      <title>The developers informed me</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-6633-when-type-declared-in-module-and-used-in-module/m-p/823792#M49072</link>
      <description>&lt;P&gt;The developers informed me that the error message is fixed for the 15.0 release coming out later this year, in the situation from the original post. One could still have a problem if you had a module referencing an external procedure declared later in the same source file where the interface to the procedure was changed. In this case, the compiler would see any old generated interface information. This is not a common programming style and we don't have plans to change the behavior.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2014 15:58:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-6633-when-type-declared-in-module-and-used-in-module/m-p/823792#M49072</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-06-10T15:58:04Z</dc:date>
    </item>
  </channel>
</rss>

