<?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 Implemented in 15.0. in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/CONTIGUOUS-attribute/m-p/959158#M94252</link>
    <description>&lt;P&gt;Implemented in 15.0.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Sep 2014 17:57:07 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2014-09-04T17:57:07Z</dc:date>
    <item>
      <title>CONTIGUOUS attribute</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/CONTIGUOUS-attribute/m-p/959149#M94243</link>
      <description>&lt;P&gt;ifort compiles the attached program without complaining. I wonder if some kind of a diagnostic message is necessary for subroutine f, which invokes subroutine g with an argument that may or may not be contiguous.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Mar 2013 04:43:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/CONTIGUOUS-attribute/m-p/959149#M94243</guid>
      <dc:creator>styc</dc:creator>
      <dc:date>2013-03-02T04:43:23Z</dc:date>
    </item>
    <item>
      <title>current ifort:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/CONTIGUOUS-attribute/m-p/959150#M94244</link>
      <description>&lt;P&gt;current ifort:&lt;/P&gt;
&lt;P&gt;test.f90(6): error #8375: Array section is not contiguous if it has stride other&lt;BR /&gt;&amp;nbsp;than unity.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; call g(x(1 : 10 : 2)) ! no good&lt;BR /&gt;-------------^&lt;BR /&gt;test.f90(6): error #8372: If dummy argument is declared CONTIGUOUS, actual argum&lt;BR /&gt;ent must be contiguous as well.&amp;nbsp;&amp;nbsp; &lt;X&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; call g(x(1 : 10 : 2)) ! no good&lt;BR /&gt;-----------^&lt;BR /&gt;compilation aborted for test.f90 (code 1)&lt;/X&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Mar 2013 11:30:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/CONTIGUOUS-attribute/m-p/959150#M94244</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2013-03-02T11:30:34Z</dc:date>
    </item>
    <item>
      <title>Quote:TimP (Intel) wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/CONTIGUOUS-attribute/m-p/959151#M94245</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;TimP (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;current ifort:&lt;/P&gt;
&lt;P&gt;test.f90(6): error #8375: Array section is not contiguous if it has stride other&lt;BR /&gt;&amp;nbsp;than unity.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; call g(x(1 : 10 : 2)) ! no good&lt;BR /&gt;-------------^&lt;BR /&gt;test.f90(6): error #8372: If dummy argument is declared CONTIGUOUS, actual argum&lt;BR /&gt;ent must be contiguous as well.&amp;nbsp;&amp;nbsp; &lt;X&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; call g(x(1 : 10 : 2)) ! no good&lt;BR /&gt;-----------^&lt;BR /&gt;compilation aborted for test.f90 (code 1)&lt;/X&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Line 6 is commented out. Please do not bring it back.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Mar 2013 11:36:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/CONTIGUOUS-attribute/m-p/959151#M94245</guid>
      <dc:creator>styc</dc:creator>
      <dc:date>2013-03-02T11:36:07Z</dc:date>
    </item>
    <item>
      <title>f receives a contiguous copy</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/CONTIGUOUS-attribute/m-p/959152#M94246</link>
      <description>&lt;P&gt;f receives a contiguous copy and passes it on to g.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Mar 2013 14:27:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/CONTIGUOUS-attribute/m-p/959152#M94246</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2013-03-02T14:27:55Z</dc:date>
    </item>
    <item>
      <title>Quote:TimP (Intel) wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/CONTIGUOUS-attribute/m-p/959153#M94247</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;TimP (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;f receives a contiguous copy and passes it on to g.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Seemingly that is not the case with ifort. If you fill with the original x with 1, 2, ..., 10 and print out x(1) and x(2) in g, you get 1 and 2. gfortran 4.7 packs the noncontiguous argument in f before passing it to g and prints out 1 and 3.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Mar 2013 17:39:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/CONTIGUOUS-attribute/m-p/959153#M94247</guid>
      <dc:creator>styc</dc:creator>
      <dc:date>2013-03-02T17:39:36Z</dc:date>
    </item>
    <item>
      <title>styc,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/CONTIGUOUS-attribute/m-p/959154#M94248</link>
      <description>&lt;P&gt;styc,&lt;/P&gt;
&lt;P&gt;IVF requires caller to pass CONTIGUOUS array when dummy argument attributed with CONTIGUOUS.&lt;BR /&gt;gfortran apparently creates temporary array (when caller's arg not contiguous). This is equivalent to the called subroutine having no interface (explicit or implicit) with regard to the array dummy attributed CONTIGUOUS. Analogous to F90 calling F77 subroutine with no interface.&lt;/P&gt;
&lt;P&gt;Sounds like an interpritation of the standards issue. Steve may be able to comment on this.&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2013 13:14:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/CONTIGUOUS-attribute/m-p/959154#M94248</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2013-03-04T13:14:32Z</dc:date>
    </item>
    <item>
      <title>The Fortran standard changed</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/CONTIGUOUS-attribute/m-p/959155#M94249</link>
      <description>&lt;P&gt;The Fortran standard changed in this area since Fortran 2008 was published.&amp;nbsp; Intel Fortran follows the original text that says:&lt;/P&gt;
&lt;P&gt;The CONTIGUOUS attribute specifies that an assumed-shape array can only be associated with a contiguous effective argument.&lt;/P&gt;
&lt;P&gt;Interpretation F08/0061 changed this to:&lt;/P&gt;
&lt;P&gt;The CONTIGUOUS attribute specifies that an assumed-shape array is contiguous.&lt;/P&gt;
&lt;P&gt;This interpretation was part of the just-approved Corrigendum 2 - we haven't caught up to that yet, but we will.&amp;nbsp; I have filed issue DPD200241665 regarding this change.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2013 16:02:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/CONTIGUOUS-attribute/m-p/959155#M94249</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2013-03-04T16:02:15Z</dc:date>
    </item>
    <item>
      <title>Quote:Steve Lionel (Intel)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/CONTIGUOUS-attribute/m-p/959156#M94250</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Steve Lionel (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;The Fortran standard changed in this area since Fortran 2008 was published.&amp;nbsp; Intel Fortran follows the original text that says:&lt;/P&gt;
&lt;P&gt;The CONTIGUOUS attribute specifies that an assumed-shape array can only be associated with a contiguous effective argument.&lt;/P&gt;
&lt;P&gt;Interpretation F08/0061 changed this to:&lt;/P&gt;
&lt;P&gt;The CONTIGUOUS attribute specifies that an assumed-shape array is contiguous.&lt;/P&gt;
&lt;P&gt;This interpretation was part of the just-approved Corrigendum 2 - we haven't caught up to that yet, but we will.&amp;nbsp; I have filed issue DPD200241665 regarding this change.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks for the clarification. In that case, is implied pack/unpack (à la gfortran) the expected behavior?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2013 16:23:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/CONTIGUOUS-attribute/m-p/959156#M94250</guid>
      <dc:creator>styc</dc:creator>
      <dc:date>2013-03-04T16:23:17Z</dc:date>
    </item>
    <item>
      <title>I would say that, yes, that</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/CONTIGUOUS-attribute/m-p/959157#M94251</link>
      <description>&lt;P&gt;I would say that, yes, that is the expected behavior.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2013 17:08:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/CONTIGUOUS-attribute/m-p/959157#M94251</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2013-03-04T17:08:43Z</dc:date>
    </item>
    <item>
      <title>Implemented in 15.0.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/CONTIGUOUS-attribute/m-p/959158#M94252</link>
      <description>&lt;P&gt;Implemented in 15.0.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2014 17:57:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/CONTIGUOUS-attribute/m-p/959158#M94252</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-09-04T17:57:07Z</dc:date>
    </item>
  </channel>
</rss>

