<?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: INTERNAL COMPILER ERROR: allocatable and contiguous arguments in submodule implmenetation in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/INTERNAL-COMPILER-ERROR-allocatable-and-contiguous-arguments-in/m-p/1354869#M159658</link>
    <description>&lt;P&gt;fantastic, Thank you.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jan 2022 18:37:17 GMT</pubDate>
    <dc:creator>DataScientist</dc:creator>
    <dc:date>2022-01-26T18:37:17Z</dc:date>
    <item>
      <title>INTERNAL COMPILER ERROR: allocatable and contiguous arguments in submodule implmenetation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/INTERNAL-COMPILER-ERROR-allocatable-and-contiguous-arguments-in/m-p/1354727#M159644</link>
      <description>&lt;P&gt;Intel ifort 2021.4 cannot compile the following module and submodule, where the procedure interface is separated from the implementation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="fortran"&gt;module lower_bound

    interface lower
        module subroutine test_lower(array, indices)
            integer, intent(inout), allocatable :: array(:)
            integer, intent(in), contiguous     :: indices(lbound(array,1):)
        end subroutine test_lower
    end interface

end module lower_bound&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;submodule (lower_bound) smod

contains

    module procedure test_lower
    end procedure

end submodule smod
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that the issue appears to be entirely due to the specification of the lower bound for the input argument INDICES: indices(lbound(array,1):).&lt;/P&gt;
&lt;P&gt;Given the nature of the error message:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="bash"&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;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this appears to be a compiler bug unless someone can prove it otherwise.&lt;/P&gt;
&lt;P&gt;To reproduce the bug, compile with&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;ifort lower_bound.f90 lower_bound@smod.f90 -c&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;gfortran 10.3 has no problem compiling and running the code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 18:38:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/INTERNAL-COMPILER-ERROR-allocatable-and-contiguous-arguments-in/m-p/1354727#M159644</guid>
      <dc:creator>DataScientist</dc:creator>
      <dc:date>2022-01-26T18:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: INTERNAL COMPILER ERROR: allocatable and contiguous arguments in submodule implmenetation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/INTERNAL-COMPILER-ERROR-allocatable-and-contiguous-arguments-in/m-p/1354824#M159651</link>
      <description>&lt;P&gt;yes, definitely a bug.&amp;nbsp; We will create a bug report.&amp;nbsp; Thank you for sending this in, timely too since I'm reviewing open issues against submodules.&amp;nbsp; it's been one of my interest areas.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ron&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 16:11:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/INTERNAL-COMPILER-ERROR-allocatable-and-contiguous-arguments-in/m-p/1354824#M159651</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2022-01-26T16:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: INTERNAL COMPILER ERROR: allocatable and contiguous arguments in submodule implmenetation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/INTERNAL-COMPILER-ERROR-allocatable-and-contiguous-arguments-in/m-p/1354864#M159657</link>
      <description>&lt;P&gt;This has been escalated to engineering&amp;nbsp;CMPLRIL0-34555&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reporting the issue.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 18:31:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/INTERNAL-COMPILER-ERROR-allocatable-and-contiguous-arguments-in/m-p/1354864#M159657</guid>
      <dc:creator>Devorah_H_Intel</dc:creator>
      <dc:date>2022-01-26T18:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: INTERNAL COMPILER ERROR: allocatable and contiguous arguments in submodule implmenetation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/INTERNAL-COMPILER-ERROR-allocatable-and-contiguous-arguments-in/m-p/1354869#M159658</link>
      <description>&lt;P&gt;fantastic, Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 18:37:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/INTERNAL-COMPILER-ERROR-allocatable-and-contiguous-arguments-in/m-p/1354869#M159658</guid>
      <dc:creator>DataScientist</dc:creator>
      <dc:date>2022-01-26T18:37:17Z</dc:date>
    </item>
  </channel>
</rss>

