<?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 Internal Compiler Error in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-Compiler-Error/m-p/759815#M15302</link>
    <description>&lt;DIV&gt;When I compile this with&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Intel Fortran Compiler XE for applications running on IA-32, Version 12.1.1.256 Build 20111011&lt;DIV id="_mcePaste"&gt;Copyright (C) 1985-2011 Intel Corporation. All rights reserved.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;FOR NON-COMMERCIAL USE ONLY&lt;/DIV&gt;ntel Fortran Compiler XE for applications running on IA-32, Version 12.1.1.256 Build 20111011Copyright (C) 1985-2011 Intel Corporation. All rights reserved.FOR NON-COMMERCIAL USE ONLY&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I receive this error:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;catastrophic error: **Internal compiler error: segmentation violation signal raised** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error.&lt;/DIV&gt;&lt;DIV&gt;compilation aborted for istanbul_module_003.f90 (code 1)&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;suspecting problem with generic type binding statement...&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;dundar.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;----------------------------------&lt;/DIV&gt;module ankara&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt; type afyon&lt;/DIV&gt;&lt;DIV&gt;  real(8) , dimension (:) , private, allocatable :: sandikli_&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;  contains&lt;/DIV&gt;&lt;DIV&gt;  procedure , private :: get_sandikli&lt;/DIV&gt;&lt;DIV&gt;  procedure , private :: set_sandikli&lt;/DIV&gt;&lt;DIV&gt;  generic :: sandikli =&amp;gt; get_sandikli , set_sandikli&lt;/DIV&gt;&lt;DIV&gt; end type&lt;/DIV&gt;&lt;DIV&gt; contains&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt; function get_sandikli(this,i,j) result (dat)&lt;/DIV&gt;&lt;DIV&gt; class(afyon) :: this&lt;/DIV&gt;&lt;DIV&gt; integer :: i , j&lt;/DIV&gt;&lt;DIV&gt; real(8) :: dat&lt;/DIV&gt;&lt;DIV&gt; dat =0.0&lt;/DIV&gt;&lt;DIV&gt;! function definitions operates on private array sandikli_&lt;/DIV&gt;&lt;DIV&gt; end function get_sandikli&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt; function set_sandikli(i,dat)&lt;/DIV&gt;&lt;DIV&gt; !similar to get function&lt;/DIV&gt;&lt;DIV&gt; ....&lt;/DIV&gt;&lt;DIV&gt; ! function definitions operates on array sandikli_&lt;BR /&gt; end function set_sandikli&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;end module ankara&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;another file....&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;module istanbul&lt;/DIV&gt;&lt;DIV&gt; use module ankara &lt;/DIV&gt;&lt;DIV&gt;  type kusura&lt;/DIV&gt;&lt;DIV&gt;   real(8) :: dumy&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;   type(afyon) :: sokak&lt;/DIV&gt;&lt;DIV&gt;   end type&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt; contains&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt; function update_sandikli(this)&lt;/DIV&gt;&lt;DIV&gt; class(kusura) :: this&lt;/DIV&gt;&lt;DIV&gt; real(8) :: value&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;  value=sokak%sandikli(i,j)&lt;/DIV&gt;&lt;DIV&gt;  end function&lt;/DIV&gt;&lt;DIV&gt;end module istanbul&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 29 Nov 2011 21:08:37 GMT</pubDate>
    <dc:creator>dundar11</dc:creator>
    <dc:date>2011-11-29T21:08:37Z</dc:date>
    <item>
      <title>Internal Compiler Error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-Compiler-Error/m-p/759815#M15302</link>
      <description>&lt;DIV&gt;When I compile this with&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Intel Fortran Compiler XE for applications running on IA-32, Version 12.1.1.256 Build 20111011&lt;DIV id="_mcePaste"&gt;Copyright (C) 1985-2011 Intel Corporation. All rights reserved.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;FOR NON-COMMERCIAL USE ONLY&lt;/DIV&gt;ntel Fortran Compiler XE for applications running on IA-32, Version 12.1.1.256 Build 20111011Copyright (C) 1985-2011 Intel Corporation. All rights reserved.FOR NON-COMMERCIAL USE ONLY&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I receive this error:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;catastrophic error: **Internal compiler error: segmentation violation signal raised** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error.&lt;/DIV&gt;&lt;DIV&gt;compilation aborted for istanbul_module_003.f90 (code 1)&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;suspecting problem with generic type binding statement...&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;dundar.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;----------------------------------&lt;/DIV&gt;module ankara&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt; type afyon&lt;/DIV&gt;&lt;DIV&gt;  real(8) , dimension (:) , private, allocatable :: sandikli_&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;  contains&lt;/DIV&gt;&lt;DIV&gt;  procedure , private :: get_sandikli&lt;/DIV&gt;&lt;DIV&gt;  procedure , private :: set_sandikli&lt;/DIV&gt;&lt;DIV&gt;  generic :: sandikli =&amp;gt; get_sandikli , set_sandikli&lt;/DIV&gt;&lt;DIV&gt; end type&lt;/DIV&gt;&lt;DIV&gt; contains&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt; function get_sandikli(this,i,j) result (dat)&lt;/DIV&gt;&lt;DIV&gt; class(afyon) :: this&lt;/DIV&gt;&lt;DIV&gt; integer :: i , j&lt;/DIV&gt;&lt;DIV&gt; real(8) :: dat&lt;/DIV&gt;&lt;DIV&gt; dat =0.0&lt;/DIV&gt;&lt;DIV&gt;! function definitions operates on private array sandikli_&lt;/DIV&gt;&lt;DIV&gt; end function get_sandikli&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt; function set_sandikli(i,dat)&lt;/DIV&gt;&lt;DIV&gt; !similar to get function&lt;/DIV&gt;&lt;DIV&gt; ....&lt;/DIV&gt;&lt;DIV&gt; ! function definitions operates on array sandikli_&lt;BR /&gt; end function set_sandikli&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;end module ankara&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;another file....&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;module istanbul&lt;/DIV&gt;&lt;DIV&gt; use module ankara &lt;/DIV&gt;&lt;DIV&gt;  type kusura&lt;/DIV&gt;&lt;DIV&gt;   real(8) :: dumy&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;   type(afyon) :: sokak&lt;/DIV&gt;&lt;DIV&gt;   end type&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt; contains&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt; function update_sandikli(this)&lt;/DIV&gt;&lt;DIV&gt; class(kusura) :: this&lt;/DIV&gt;&lt;DIV&gt; real(8) :: value&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;  value=sokak%sandikli(i,j)&lt;/DIV&gt;&lt;DIV&gt;  end function&lt;/DIV&gt;&lt;DIV&gt;end module istanbul&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 29 Nov 2011 21:08:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-Compiler-Error/m-p/759815#M15302</guid>
      <dc:creator>dundar11</dc:creator>
      <dc:date>2011-11-29T21:08:37Z</dc:date>
    </item>
    <item>
      <title>Internal Compiler Error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-Compiler-Error/m-p/759816#M15303</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I could not reproduce your error. Look at my test below:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;[fortran]MODULE point_class
    IMPLICIT NONE
!
TYPE, public :: point
  PRIVATE
  integer, dimension(:), allocatable :: xx
    CONTAINS
      procedure, private :: initialization_sub
      procedure, private :: get_fn
      generic :: every =&amp;gt; initialization_sub, get_fn
END TYPE point
!
private :: initialization_sub
private :: get_fn
!
CONTAINS
!
subroutine initialization_sub(this, x)
    implicit none
    class(point) :: this
    integer, dimension(:), intent(IN) :: x
    integer :: istat
if ( .NOT. allocated(this%xx) ) then
  allocate( this%xx(1:size(x)), STAT=istat )
    if ( istat /= 0 ) stop 'can not ALLOCATE this%xx'
this%xx(1:size(x)) = x(:)
end if
return
end subroutine initialization_sub
!
!
!DEC$ ATTRIBUTES FORCEINLINE :: get_fn
ELEMENTAL integer function get_fn(this, i) RESULT(res)
    implicit none
    class(point), intent(IN) :: this
    integer, intent(IN) :: i
res = this%xx(i)
return
end function get_fn
!
END MODULE point_class
!
!
!
!
PROGRAM main
    USE point_class
    IMPLICIT NONE
    type :: another
      integer :: yy
      type(point), dimension(:), allocatable :: pp
    end type another
    type(point) :: p
    type(another) :: a
    integer :: i, j, istat, int_array(3)
!
call p%every( (/1, 2, 4, 5, 7, 8/) )
write( *, * ) ( p%every(i), i=1,6 )
!
allocate( a%pp(1:3), STAT=istat )
  if ( istat /= 0 ) stop 'can not ALLOCATE a%pp'
do i = 1, 3
  int_array = (/ 1, 2, 3 /)
  call a%pp(i)%every( int_array(:)*i )
  write( *, * ) ( a%pp(i)%every(j), j=1,3 )
end do
!
END PROGRAM main
[/fortran]&lt;/PRE&gt; &lt;/DIV&gt;&lt;DIV&gt;You should be a bitattentive with a nested derived type.&lt;/DIV&gt;&lt;DIV&gt;I use&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;B&gt;&lt;I&gt;ifort -V&lt;/I&gt;&lt;/B&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;B&gt;&lt;I&gt;Intel Fortran Intel 64 Compiler XE for applications running on Intel 64, Version 12.0.3.174 Build 20110309&lt;/I&gt;&lt;/B&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;B&gt;&lt;I&gt;Copyright (C) 1985-2011 Intel Corporation. All rights reserved.&lt;/I&gt;&lt;/B&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;B&gt;&lt;I&gt;FOR NON-COMMERCIAL USE ONLY&lt;/I&gt;&lt;/B&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Oleg.&lt;/DIV&gt;</description>
      <pubDate>Tue, 29 Nov 2011 21:45:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-Compiler-Error/m-p/759816#M15303</guid>
      <dc:creator>oleglebedev</dc:creator>
      <dc:date>2011-11-29T21:45:57Z</dc:date>
    </item>
    <item>
      <title>Internal Compiler Error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-Compiler-Error/m-p/759817#M15304</link>
      <description>Would you please attach the actual source file you are using, rather than a fragment and paraphrase? What you show here has too many syntax and other errors. Also please show us the switches you are using on the ifort line.</description>
      <pubDate>Tue, 29 Nov 2011 22:03:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-Compiler-Error/m-p/759817#M15304</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2011-11-29T22:03:29Z</dc:date>
    </item>
    <item>
      <title>Internal Compiler Error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-Compiler-Error/m-p/759818#M15305</link>
      <description>I have started a private thread and attached all my source codes.&lt;DIV&gt;Thanks Steve.&lt;/DIV&gt;&lt;DIV&gt;Dundar.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 Nov 2011 02:35:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-Compiler-Error/m-p/759818#M15305</guid>
      <dc:creator>dundar11</dc:creator>
      <dc:date>2011-11-30T02:35:13Z</dc:date>
    </item>
  </channel>
</rss>

