<?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: Re:Compiler error in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1195796#M150904</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/63968"&gt;@jimdempseyatthecove&lt;/a&gt; wrote:

.. I believe the parameters need to be parameters. ..&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim,&lt;/P&gt;
&lt;P&gt;For objects of parameterized derived types that are declared with the ALLOCATABLE attribute, the length-type parameters of the derived type can be deferred i.e., declared with the colon (":") token.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Readers,&lt;/P&gt;
&lt;P&gt;For any one interested in a working example of a parameterized derived type, here's a simple one that encapsulates and "information hides" the operations toward a matrix 'class': the reader will notice how such a derived type definition allows one to think like a "library developer" and essentially "package" a "class" in a module that can work, in principle, with different data types with just a switch on the client side.&amp;nbsp; In this example, that is shown with different floating-point types i.e., with REAL kinds in Fortran:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="fortran"&gt;module kinds_m
   integer, parameter :: R4 = selected_real_kind( p=6 )
   integer, parameter :: R8 = selected_real_kind( p=12 )
end module

module matrix_m
   use kinds_m, only : R4, R8
   private
   type, public :: matrix_t(k,rows,cols)
      integer, kind :: k = R4
      integer, len  :: rows, cols
      private
      real(kind=k) :: m_dat(rows, cols)
   contains
      private
      procedure, pass(this) :: getval_r4
      procedure, pass(this) :: getval_r8
      procedure, pass(this) :: setvals_r4
      procedure, pass(this) :: setvals_r8
      procedure, pass(lhs) :: mult_r4
      procedure, pass(lhs) :: mult_r8
      generic, public :: operator(*) =&amp;gt; mult_r4, mult_r8
      generic, public :: set =&amp;gt; setvals_r4, setvals_r8
      generic, public :: assignment(=) =&amp;gt; setvals_r4, setvals_r8
      generic, public :: val =&amp;gt; getval_r4, getval_r8
   end type
contains
   function getval_r4( this, i, j ) result( r )
      ! Argument list
      type(matrix_t(k=R4,rows=*,cols=*)), intent(in) :: this
      integer, intent(in) :: i
      integer, intent(in) :: j
      ! Function result
      real(kind=R4) :: r
      ! Checks elided
      r = this%m_dat(i, j)
   end function
   function getval_r8( this, i, j ) result( r )
      ! Argument list
      type(matrix_t(k=R8,rows=*,cols=*)), intent(in) :: this
      integer, intent(in) :: i
      integer, intent(in) :: j
      ! Function result
      real(kind=R8) :: r
      ! Checks elided
      r = this%m_dat(i, j)
   end function
   subroutine setvals_r4( this, dat )
      ! Argument list
      type(matrix_t(k=R4,rows=*,cols=*)), intent(inout) :: this
      real(kind=R4), intent(in) :: dat(:,:)
      ! Checks elided
      this%m_dat = dat
   end subroutine
   subroutine setvals_r8( this, dat )
      ! Argument list
      type(matrix_t(k=R8,rows=*,cols=*)), intent(inout) :: this
      real(kind=R8), intent(in) :: dat(:,:)
      ! Checks elided
      this%m_dat = dat
   end subroutine
   function mult_r4( lhs, rhs ) result( r )
      ! Argument list
      type(matrix_t(k=R4,rows=*,cols=*)), intent(in) :: lhs
      type(matrix_t(k=R4,rows=lhs%rows,cols=*)), intent(in) :: rhs
      ! Function result
      type(matrix_t(k=R4,rows=lhs%rows,cols=rhs%cols)) :: r
      r%m_dat = matmul( lhs%m_dat, rhs%m_dat )
   end function
   function mult_r8( lhs, rhs ) result( r )
      ! Argument list
      type(matrix_t(k=R8,rows=*,cols=*)), intent(in) :: lhs
      type(matrix_t(k=R8,rows=lhs%rows,cols=*)), intent(in) :: rhs
      ! Function result
      type(matrix_t(k=R8,rows=lhs%rows,cols=rhs%cols)) :: r
      r%m_dat = matmul( lhs%m_dat, rhs%m_dat )
   end function
end module

program matrix_multiply

   use matrix_m, only : matrix_t

   blk1: block
   
      use kinds_m, only : WP =&amp;gt; R4
      
      real(WP), allocatable :: x(:,:), y(:,:), z(:,:)
      type(matrix_t(k=WP,rows=:,cols=:)), allocatable :: A
      type(matrix_t(k=WP,rows=:,cols=:)), allocatable :: B
      type(matrix_t(k=WP,rows=:,cols=:)), allocatable :: C
      integer, parameter :: L = 2, M = 3, N = 4
      integer :: i, j

      write ( *, * ) "Block 1: matrix operations with precision ", precision(x)
      
      x = reshape(source=[( real(i, kind=WP), i=1, L*M )], shape=[L, M])
      y = reshape(source=[( real(-i, kind=A%k), i=1, M*N )], shape=[M, N])
      z = matmul( x, y )
   
      allocate( matrix_t(k=WP,rows=L,cols=M) :: A )
      allocate( matrix_t(k=WP,rows=M,cols=N) :: B )
      allocate( matrix_t(k=WP,rows=L,cols=N) :: C )

      A = x
      B = y

      C = A * B
      print *, "Result of matrix multiplication: C = A * B"
      print *, "C is a ", C%rows, " x ", C%cols, "matrix:"
      do i = 1, C%rows
         do j = 1, C%cols
            write (*, fmt="(g0,1x)", advance="no" ) C%val(i,j)
         end do
         write (*, *)
      end do
      write( *, * ) "Expected values: "
      do i = 1, L
         do j = 1, N
            write (*, fmt="(g0,1x)", advance="no" ) z(i,j)
         end do
         write (*, *)
      end do
   
   end block blk1
   
   write ( *, * )
   
   blk2: block
   
      use kinds_m, only : WP =&amp;gt; R8
      
      real(WP), allocatable :: x(:,:), y(:,:), z(:,:)
      type(matrix_t(k=WP,rows=:,cols=:)), allocatable :: A
      type(matrix_t(k=WP,rows=:,cols=:)), allocatable :: B
      type(matrix_t(k=WP,rows=:,cols=:)), allocatable :: C
      integer, parameter :: L = 3, M = 4, N = 5
      integer :: i, j

      write ( *, * ) "Block 2: matrix operations with precision ", precision(x)
      
      x = reshape(source=[( real(i, kind=WP), i=1, L*M )], shape=[L, M])
      y = reshape(source=[( real(-i, kind=A%k), i=1, M*N )], shape=[M, N])
      z = matmul( x, y )
   
      allocate( matrix_t(k=WP,rows=L,cols=M) :: A )
      allocate( matrix_t(k=WP,rows=M,cols=N) :: B )
      allocate( matrix_t(k=WP,rows=L,cols=N) :: C )

      A = x
      B = y

      C = A * B
      print *, "Result of matrix multiplication: C = A * B"
      print *, "C is a ", C%rows, " x ", C%cols, "matrix:"
      do i = 1, C%rows
         do j = 1, C%cols
            write (*, fmt="(g0,1x)", advance="no" ) C%val(i,j)
         end do
         write (*, *)
      end do
      write( *, * ) "Expected values: "
      do i = 1, L
         do j = 1, N
            write (*, fmt="(g0,1x)", advance="no" ) z(i,j)
         end do
         write (*, *)
      end do
   
   end block blk2   

end program&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's the expected output using Intel Fortran compiler 19.1 update 2:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;C:\Temp&amp;gt;ifort /standard-semantics /warn:all /stand:f18 p.f90
Intel(R) Visual Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 19.1.2.254 Build 20200623
Copyright (C) 1985-2020 Intel Corporation.  All rights reserved.

Microsoft (R) Incremental Linker Version 14.26.28806.0
Copyright (C) Microsoft Corporation.  All rights reserved.

-out:p.exe
-subsystem:console
p.obj

C:\Temp&amp;gt;p.exe
 Block 1: matrix operations with precision  6
 Result of matrix multiplication: C = A * B
 C is a  2  x  4 matrix:
-22.00000 -49.00000 -76.00000 -103.0000
-28.00000 -64.00000 -100.0000 -136.0000
 Expected values:
-22.00000 -49.00000 -76.00000 -103.0000
-28.00000 -64.00000 -100.0000 -136.0000

 Block 2: matrix operations with precision  15
 Result of matrix multiplication: C = A * B
 C is a  3  x  5 matrix:
-70.00000000000000 -158.0000000000000 -246.0000000000000 -334.0000000000000 -422.0000000000000
-80.00000000000000 -184.0000000000000 -288.0000000000000 -392.0000000000000 -496.0000000000000
-90.00000000000000 -210.0000000000000 -330.0000000000000 -450.0000000000000 -570.0000000000000
 Expected values:
-70.00000000000000 -158.0000000000000 -246.0000000000000 -334.0000000000000 -422.0000000000000
-80.00000000000000 -184.0000000000000 -288.0000000000000 -392.0000000000000 -496.0000000000000
-90.00000000000000 -210.0000000000000 -330.0000000000000 -450.0000000000000 -570.0000000000000

C:\Temp&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jul 2020 22:20:56 GMT</pubDate>
    <dc:creator>FortranFan</dc:creator>
    <dc:date>2020-07-29T22:20:56Z</dc:date>
    <item>
      <title>Compiler error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1191099#M150471</link>
      <description>&lt;P&gt;I know that my compiler is licensed, but I am not sure if we are paid for support.&amp;nbsp; I just got a compiler failure trying to use parameterized derived types.&amp;nbsp; I am going to attach the build log, which is very short.&amp;nbsp; This is just a proof of concept program.&lt;/P&gt;
&lt;PRE&gt;Compiling with Intel(R) Visual Fortran Compiler 19.0.5.281 [IA-32]...
ifort /nologo /debug:full /Od /fpp /extend_source:80 /warn:none /module:"Debug\\" /object:"Debug\\" /Fd"Debug\vc150.pdb" /traceback /check:bounds /check:stack /libs:dll /threads /dbglibs /c /Qlocation,link,"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86" /Qm32 "C:\Michael\params_test_2\Console1\Console1\bonddefinition.f90"
C:\Michael\params_test_2\Console1\Console1\$OVERRIDE.fi(29): catastrophic error: **Internal compiler error: internal abort** 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.
Internal error store_pdtlen_data_space: Cannot find record
compilation aborted for C:\Michael\params_test_2\Console1\Console1\bonddefinition.f90 (code 1)


test_params_2 - 1 error(s), 0 warning(s)&lt;/PRE&gt;
&lt;P&gt;I could not attach the html file.&amp;nbsp; So I just added the text.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 20:34:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1191099#M150471</guid>
      <dc:creator>kolber__Michael</dc:creator>
      <dc:date>2020-07-09T20:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1191108#M150473</link>
      <description>&lt;P&gt;&amp;nbsp;**Internal compiler error is a bug even if your code is non-conforming. &lt;BR /&gt;You should file a ticket or if that is not possible post a source file that reproduces here&lt;BR /&gt;and someone will take it up.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 21:19:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1191108#M150473</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2020-07-09T21:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1191395#M150483</link>
      <description>&lt;P&gt;Here is some simplified code.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The following code is in an include file. Call it test.fi&lt;BR /&gt;type date$_set&lt;BR /&gt;sequence&lt;BR /&gt;real*8 rate&lt;BR /&gt;real*8 amount&lt;BR /&gt;integer*4 date&lt;BR /&gt;integer*4 code&lt;BR /&gt;end type&lt;BR /&gt;module called param.mod&lt;BR /&gt;integer ms_ = 21&lt;BR /&gt;end module&lt;BR /&gt;A module for this case called test.mod contains the following&lt;BR /&gt;module test&lt;BR /&gt;#include 'test.fi'&lt;BR /&gt;type , public :: b$$s&lt;BR /&gt;sequence&lt;BR /&gt;integer*4 nbs&lt;BR /&gt;type (override$_data (num_elements= ms_) ):: over&lt;BR /&gt;end type&lt;BR /&gt;type(b$$s) b$s&lt;BR /&gt;end module&lt;BR /&gt;module run&lt;BR /&gt;use test&lt;BR /&gt;use param&lt;BR /&gt;public :: set_parameters&lt;BR /&gt;contains&lt;BR /&gt;subroutine set_parameters&lt;BR /&gt;allocate(b$s%over%number_tables(ms_))&lt;BR /&gt;end subroutine&lt;BR /&gt;program main&lt;BR /&gt;use test&lt;BR /&gt;use run&lt;BR /&gt;call set_parameters&lt;BR /&gt;end&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 15:34:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1191395#M150483</guid>
      <dc:creator>kolber__Michael</dc:creator>
      <dc:date>2020-07-10T15:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1191418#M150484</link>
      <description>&lt;P&gt;There isn't compilable code there without making quite a number of edits which may end up missing the point. Why not just zip the files 2 or 3 small files and attach it.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 16:37:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1191418#M150484</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2020-07-10T16:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1191511#M150497</link>
      <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/83145"&gt;@kolber__Michael&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Your code above is non-standard e.g., #include directive when Fortran language supports INCLUDE statement with its own rules for syntax: see &lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/fortran-compiler-developer-guide-and-reference/top/language-reference/a-to-z-reference/h-to-i/include.html" target="_self"&gt;this&lt;/A&gt;.&amp;nbsp; It also looks incomplete: what is 'override$_data' in your TYPE declaration in the module named 'test'.&amp;nbsp; Intel Fortran can very well find it impossible to process what you show and throw an "internal compiler error" in response i.e., unless you have specified just the right combinations of options and steps to make it work e.g., preprocessor instructions.&amp;nbsp; Otherwise one can't blame ifort for suffering from an ICE with your code.&lt;/P&gt;
&lt;P&gt;It'll be rather difficult, if not impossible, for you to get any useful guidance given your posts here.&amp;nbsp; Your posts do suggest you can help yourself greatly by reviewing closely a few textbooks on Fortran, say Chapman's latest edition on &lt;A href="https://www.amazon.com/FORTRAN-SCIENTISTS-ENGINEERS-Stephen-Chapman/dp/0073385891#ace-g3606797943" target="_self"&gt;Fortran for Scientists and Engineers&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 23:31:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1191511#M150497</guid>
      <dc:creator>FortranFan</dc:creator>
      <dc:date>2020-07-10T23:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1191578#M150508</link>
      <description>&lt;P&gt;Michael,&lt;/P&gt;
&lt;P&gt;Here are some facts regarding internal compiler errors that are worth noting.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Whether you are eligible for paid support or not, ICEs are worth reporting: through Intel support if you are eligible,&amp;nbsp; in this forum if not.&lt;/LI&gt;
&lt;LI&gt;ICEs are unexpected. They can be very hard to reproduce without the exact code that you were using when you encountered an ICE.&amp;nbsp; Small changes to the test code, changing the compiler version or the compiler options can make the ICE disappear. This is why it is useless to present a precis, a purely verbal description or fragments of code.&lt;/LI&gt;
&lt;LI&gt;In order to preserve the ICE, you should zip up the code and attach that zip file to a reply. Posting code here inline or in a code box, except for purposes of discussion, does not help much because copy-pasting code may change the code and make the ICE disappear, or cause a different ICE to occur than the one that you experienced.&lt;/LI&gt;
&lt;LI&gt;It is good practice to copy the entire file set associated with the ICE to a fresh directory on the same or a different PC and try to duplicate the ICE yourself (or by a colleague). If you do this, you will discover all the little pieces (such as include files) that are needed to reproduce the ICE but you forgot to include in the zip archive.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Sat, 11 Jul 2020 09:22:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1191578#M150508</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2020-07-11T09:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1191917#M150565</link>
      <description>&lt;P&gt;Here is a zip file of my small test application. I am using vs studio 2107 ver 15.9.18 with parallel studio xe 2109 update 5.&lt;BR /&gt;I get the ice when I try and use a parameterized derived type. If it is not parameterized it works fine&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 12:42:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1191917#M150565</guid>
      <dc:creator>kolber__Michael</dc:creator>
      <dc:date>2020-07-13T12:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1192007#M150578</link>
      <description>&lt;P&gt;I found out we have full support.&amp;nbsp; Would like to report this ice.&amp;nbsp; Can someone please give me the instructions as I have never had to do it before.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 20:36:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1192007#M150578</guid>
      <dc:creator>kolber__Michael</dc:creator>
      <dc:date>2020-07-13T20:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1192049#M150581</link>
      <description>&lt;P&gt;Start at&amp;nbsp;&lt;A href="https://supporttickets.intel.com/servicecenter?lang=en-US" target="_blank"&gt;https://supporttickets.intel.com/servicecenter?lang=en-US&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 23:22:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1192049#M150581</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2020-07-13T23:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1193048#M150637</link>
      <description>&lt;P&gt;I posted a zip file with a small version of my application. I noticed no one has tried it out to try and replicate the failure that I got.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 20:11:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1193048#M150637</guid>
      <dc:creator>kolber__Michael</dc:creator>
      <dc:date>2020-07-16T20:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1193066#M150638</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.GIF" style="width: 999px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/11298i3DDC1BB269FF6F32/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Capture.GIF" alt="Capture.GIF" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 21:06:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1193066#M150638</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2020-07-16T21:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1193070#M150639</link>
      <description>&lt;P&gt;Ver 19 update 5 does not give me the errors on the type members.&amp;nbsp; It just gives me the compiler failure. Interesting?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;MIchael&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 21:16:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1193070#M150639</guid>
      <dc:creator>kolber__Michael</dc:creator>
      <dc:date>2020-07-16T21:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1193279#M150659</link>
      <description>&lt;P&gt;John,&lt;/P&gt;
&lt;P&gt;What version are you running?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Michael&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 14:36:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1193279#M150659</guid>
      <dc:creator>kolber__Michael</dc:creator>
      <dc:date>2020-07-17T14:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1193290#M150662</link>
      <description>&lt;P&gt;You can see the version in the picture.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrew_4619_0-1594998276230.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/11314i8959F88ADB638A95/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="andrew_4619_0-1594998276230.png" alt="andrew_4619_0-1594998276230.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 15:04:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1193290#M150662</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2020-07-17T15:04:57Z</dc:date>
    </item>
    <item>
      <title>Re:Compiler error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1194275#M150747</link>
      <description>&lt;P&gt;The bug ID is CMPLRIL0-33130&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The code has a number of syntax errors.  Granted, it should not cause an internal error.  that is a bug in the compiler.  Our recommendation is to install the latest PSXE 2020 compiler which will show you the syntax errors that you can repair to continue your development.  A fix in PSXE 2019 would take too long to get to you.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Start with this error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;type override$_data(num_elements, num_groups)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;sequence&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;integer*4, len&amp;nbsp;:: num_elements, num_groups&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;type (date$_set) ride(mkd_)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;integer*4,&amp;nbsp;dimension(num_elements) :: number_tables&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;integer*4 &amp;nbsp;padding &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;! ms_ is odd number&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;integer*4,&amp;nbsp;dimension(num_groups) :: &amp;nbsp;first&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;integer*4,&amp;nbsp;dimension(num_groups) ::&amp;nbsp;length&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;integer*4,&amp;nbsp;dimension(num_groups) ::&amp;nbsp;start_date&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;integer*4,&amp;nbsp;dimension(num_groups) ::&amp;nbsp;basis&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;integer*4,&amp;nbsp;dimension(num_groups) ::&amp;nbsp;group&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;end type&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;in particular&lt;/P&gt;&lt;P&gt;integer*4, len&amp;nbsp;:: num_elements, num_groups&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;LEN is out of position or is not an attribute of INTEGER types.  Check this syntax with your book.  What book are you using?  If you are new to Fortran this seems a very ambitious program to start with.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Jul 2020 14:54:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1194275#M150747</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2020-07-23T14:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Compiler error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1194909#M150847</link>
      <description>&lt;P&gt;Ronald,&lt;/P&gt;
&lt;P&gt;Is your comment that :&lt;/P&gt;
&lt;P&gt;a) sequence should follow integer, len :: ..., or&lt;/P&gt;
&lt;P&gt;b) parameterised derived types are not available?&lt;/P&gt;
&lt;P&gt;I agree that "&lt;SPAN&gt;this seems a very ambitious program to start with"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 08:30:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1194909#M150847</guid>
      <dc:creator>John_Campbell</dc:creator>
      <dc:date>2020-07-27T08:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Compiler error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1194993#M150851</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="none"&gt; asks of OP:

".. Check this syntax with your book. What book are you using? .."&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's unclear whether OP is referring to any "book" though I've oft suggested to OP to do so.&lt;/P&gt;
&lt;P&gt;Re: SEQUENCE, current Fortran standard (Fortran 2018) disallows its use in a derived type with a type-parameter (aka parameterized derived type or PDT):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;1 7.5.2.3 Sequence type
2 R731 sequence-stmt is SEQUENCE
3 C740 (R726) If SEQUENCE appears, the type shall have at least one component, each data component shall
4             be declared to be of an intrinsic type or of a sequence type, the derived type shall not have any type
5             parameter, and a type-bound-procedure-part shall not appear.
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OP, if serious about refactoring old code and gain advantages with modern computing, would do&amp;nbsp; well to&amp;nbsp;&lt;STRONG&gt;unlearn &lt;/STRONG&gt;all of nonstandard FORTRAN involving heavy compiler-specific extensions and spend the time and effort to get good familiarity with current standard Fortran before writing new code.&amp;nbsp; Hacking away without such hard yards is a guaranteed exercise in futility.&lt;/P&gt;
&lt;P&gt;Letting "sleeping dogs lie" with all the nonstandard stuff in code of running applications and "don't fix if ain't broken" are the "conventional" wisdom that program managers in for-profit orgs can force on staff when they appear unwilling or entirely unable to approach code modernization with any form of discipline or structure.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 14:54:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1194993#M150851</guid>
      <dc:creator>FortranFan</dc:creator>
      <dc:date>2020-07-27T14:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Compiler error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1195017#M150852</link>
      <description>&lt;P&gt;Ignoring for the moment your use of nonstandard syntax such as integer*4, the immediate problem with that type definition is that the standard requires SEQUENCE, if present, to follow type parameter declarations. So move the SEQUENCE after the declaration of the LEN parameters.&lt;/P&gt;
&lt;P&gt;If I do that, I get an ICE - that's definitely a compiler bug.&lt;/P&gt;
&lt;P&gt;If I remove the SEQUENCE entirely, then I get the (appropriate) error that it has to be SEQUENCE because it includes a SEQUENCE type component.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But if I then remove all SEQUENCE lines from the code, then I still get the ICE. So the bug is not related to SEQUENCE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 15:53:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1195017#M150852</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2020-07-27T15:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Compiler error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1195037#M150853</link>
      <description>&lt;P&gt;I have been following an example in the book Guide to Fortran 2008 programming&lt;/P&gt;
&lt;P&gt;type, public ::&amp;nbsp; matrix(rows, cols, k)&lt;/P&gt;
&lt;P&gt;integer len :: rows, cols&lt;/P&gt;
&lt;P&gt;integer, kind :: k =kind(0.0)&lt;/P&gt;
&lt;P&gt;real(kind = k), dimension (rows, cols) :: values&lt;/P&gt;
&lt;P&gt;end type matrix&lt;/P&gt;
&lt;P&gt;type (matrix =:, cols=:, k=kind(0.0)) = double) :: A&lt;/P&gt;
&lt;P&gt;According to the technical support people&amp;nbsp; len can only be used to specify the length of character strings.&amp;nbsp; But, as you see in the above example that is not what they are doing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 17:00:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1195037#M150853</guid>
      <dc:creator>kolber__Michael</dc:creator>
      <dc:date>2020-07-27T17:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Compiler error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1195042#M150854</link>
      <description>&lt;P&gt;A length type parameter can be used for array bounds or character lengths. The main difference between a length type parameter and a kind type parameter is that the latter is a constant and the former is evaluated at run-time when the procedure is entered. Support people aren't always current on the language, unfortunately, and PDTs, while they have been supported in Intel Fortran for a long time now, are not familiar to many.&lt;/P&gt;
&lt;P&gt;As I wrote above, the syntax error was from your introduction of SEQUENCE in the wrong position. It is unrelated to the ICE.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 17:27:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-error/m-p/1195042#M150854</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2020-07-27T17:27:43Z</dc:date>
    </item>
  </channel>
</rss>

