<?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 GENERIC for Type-bound Procedure causes error #6632 When Callin in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/GENERIC-for-Type-bound-Procedure-causes-error-6632-When-Calling/m-p/754173#M9701</link>
    <description>Thanks - this is a problem that our developers are already working on. The issue ID is DPD200166645.</description>
    <pubDate>Mon, 04 Apr 2011 23:20:59 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2011-04-04T23:20:59Z</dc:date>
    <item>
      <title>GENERIC for Type-bound Procedure causes error #6632 When Calling Subroutine with Keyword Argument</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/GENERIC-for-Type-bound-Procedure-causes-error-6632-When-Calling/m-p/754172#M9700</link>
      <description>Hello, &lt;BR /&gt;It seems that there is a bug with GENERIC implementation for type-bound procedure. I am trying out the latest Intel Fortran Compiler on linux. When calling a GENERIC subroutine (with type-bound procedure) with Keyword argument, the compiler complains that I don't have an explicit interface, although the subroutine is in a module. Here is a test case.&lt;BR /&gt;&lt;BR /&gt;Suppose I have the module file: VG_Mofule.f90:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;[fortran]module VG_Module

  implicit none
  private

  type, public :: VGForm
    integer  :: dummy
  contains
    procedure, pass :: I_Alloc
    procedure, pass :: I_Assoc
    generic :: Init =&amp;gt; I_Alloc, I_Assoc
  end type VGForm

contains

  subroutine I_Alloc ( VG, V, ClearOption )
    
    class ( VGForm ), intent ( inout ) :: VG
    integer, intent ( in ) :: V
    logical, intent ( in ), optional :: ClearOption
      
    print*, 'I_Alloc subroutine', V
    if ( present ( ClearOption ) ) print*, 'Is Clear?', ClearOption

  end subroutine I_Alloc


  subroutine I_Assoc ( VG, V, ClearOption )
    
    class ( VGForm ), intent ( inout ) :: VG
    real, dimension ( : ), intent ( in ), target :: V
    logical, intent ( in ), optional :: ClearOption  
      
    print*, 'I_Assoc subroutine', V
    if ( present ( ClearOption ) ) print*, 'Is Clear?', ClearOption
    
  end subroutine I_Assoc

end module VG_Module
[/fortran]&lt;/PRE&gt;&lt;BR /&gt;And the corresponding test program: VG_Test.f90&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;[fortran]program VG_Test

  use VG_Module

  implicit none

  type ( VGForm ) :: VG_1, VG_2, VG_3, VG_4

  call VG_1 % Init ( 1 )

  call VG_2 % Init ( [ 3., 4., 5.] )

  call VG_3 % Init ( 3, ClearOption = .true. ) !-- This call produces error

  call VG_4 % I_Alloc ( 4, ClearOption = .true. )
  
end program VG_Test[/fortran]&lt;/PRE&gt;&lt;BR /&gt;If I compile these, I get:&lt;BR /&gt;&lt;PRE&gt;[bash]$ ifort -c VG_Module.f90 

$ ifort -o VG_Test VG_Test.f90 VG_Module.o 
VG_Test.f90(13): error #6632: Keyword arguments are invalid without an explicit interface.   [CLEAROPTION]
  call VG_3 % Init ( 3, ClearOption = .true. ) !-- This call produces error
------------------------^
compilation aborted for VG_Test.f90 (code 1)

$ ifort -V
Intel Fortran Intel 64 Compiler XE for applications running on Intel 64, Version 12.0 Build 20110309
Copyright (C) 1985-2011 Intel Corporation.  All rights reserved.

[/bash]&lt;/PRE&gt; These files compile without error with the latest gfortran and Cray fortran compiler.</description>
      <pubDate>Mon, 04 Apr 2011 20:07:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/GENERIC-for-Type-bound-Procedure-causes-error-6632-When-Calling/m-p/754172#M9700</guid>
      <dc:creator>reubendb</dc:creator>
      <dc:date>2011-04-04T20:07:57Z</dc:date>
    </item>
    <item>
      <title>GENERIC for Type-bound Procedure causes error #6632 When Callin</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/GENERIC-for-Type-bound-Procedure-causes-error-6632-When-Calling/m-p/754173#M9701</link>
      <description>Thanks - this is a problem that our developers are already working on. The issue ID is DPD200166645.</description>
      <pubDate>Mon, 04 Apr 2011 23:20:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/GENERIC-for-Type-bound-Procedure-causes-error-6632-When-Calling/m-p/754173#M9701</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2011-04-04T23:20:59Z</dc:date>
    </item>
    <item>
      <title>GENERIC for Type-bound Procedure causes error #6632 When Callin</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/GENERIC-for-Type-bound-Procedure-causes-error-6632-When-Calling/m-p/754174#M9702</link>
      <description>This will be fixed in a future version of the compiler.</description>
      <pubDate>Mon, 25 Apr 2011 15:42:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/GENERIC-for-Type-bound-Procedure-causes-error-6632-When-Calling/m-p/754174#M9702</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2011-04-25T15:42:54Z</dc:date>
    </item>
    <item>
      <title>GENERIC for Type-bound Procedure causes error #6632 When Callin</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/GENERIC-for-Type-bound-Procedure-causes-error-6632-When-Calling/m-p/754175#M9703</link>
      <description>The latest release (2011.4.191) still has this isse :(. Any ETA for the fix ?&lt;BR /&gt;&lt;BR /&gt;$&amp;gt;ifort -V&lt;BR /&gt;Intel Fortran Intel 64 Compiler XE for applications running on Intel 64, Version 12.0 Build 20110427&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jun 2011 21:28:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/GENERIC-for-Type-bound-Procedure-causes-error-6632-When-Calling/m-p/754175#M9703</guid>
      <dc:creator>reubendb</dc:creator>
      <dc:date>2011-06-08T21:28:01Z</dc:date>
    </item>
    <item>
      <title>GENERIC for Type-bound Procedure causes error #6632 When Callin</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/GENERIC-for-Type-bound-Procedure-causes-error-6632-When-Calling/m-p/754176#M9704</link>
      <description>It will be some months out. Sorry for the inconvenience, but it was a complex fix which requires more testing than what normally goes into an update. If this is seriously impacting you, let me know and we may be able to help.</description>
      <pubDate>Wed, 08 Jun 2011 21:59:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/GENERIC-for-Type-bound-Procedure-causes-error-6632-When-Calling/m-p/754176#M9704</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2011-06-08T21:59:55Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/GENERIC-for-Type-bound-Procedure-causes-error-6632-When-Calling/m-p/754177#M9705</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;What is the status of this bug ?&lt;/P&gt;
&lt;P&gt;It seems to be still present in ifort version 13.1.1.&lt;/P&gt;
&lt;P&gt;Am I right ?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 19 May 2013 15:07:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/GENERIC-for-Type-bound-Procedure-causes-error-6632-When-Calling/m-p/754177#M9705</guid>
      <dc:creator>FlyingHermes</dc:creator>
      <dc:date>2013-05-19T15:07:28Z</dc:date>
    </item>
    <item>
      <title>The bug reported in the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/GENERIC-for-Type-bound-Procedure-causes-error-6632-When-Calling/m-p/754178#M9706</link>
      <description>&lt;P&gt;The bug reported in the original posting is fixed - it compiles fine with 13.1.1. You may have a source that gets the same error message for a different cause. Please provide an example that shows the problem you're seeing.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2013 20:54:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/GENERIC-for-Type-bound-Procedure-causes-error-6632-When-Calling/m-p/754178#M9706</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2013-05-20T20:54:22Z</dc:date>
    </item>
    <item>
      <title>By reducing the code that</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/GENERIC-for-Type-bound-Procedure-causes-error-6632-When-Calling/m-p/754179#M9707</link>
      <description>&lt;P&gt;By reducing the code that produced an erronious output, I've found that the error was indeed not related to the bug descibed in the current post.&lt;/P&gt;
&lt;P&gt;I've created a new topic, "Bug using an array of derived-type with an polymorphic component" (&lt;A href="http://software.intel.com/en-us/forums/topic/392803"&gt;http://software.intel.com/en-us/forums/topic/392803&lt;/A&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2013 09:34:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/GENERIC-for-Type-bound-Procedure-causes-error-6632-When-Calling/m-p/754179#M9707</guid>
      <dc:creator>FlyingHermes</dc:creator>
      <dc:date>2013-05-21T09:34:46Z</dc:date>
    </item>
  </channel>
</rss>

