<?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: An error with FOR_DESCRIPTOR_ASSIGN subroutine in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/An-error-with-FOR-DESCRIPTOR-ASSIGN-subroutine/m-p/850931#M65878</link>
    <description>It is just the bounds - no matter what you say for the lower bound, it sets the descriptor lower bound to 1. I'll report this to the developers.&lt;BR /&gt;</description>
    <pubDate>Tue, 18 Mar 2008 19:42:29 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2008-03-18T19:42:29Z</dc:date>
    <item>
      <title>An error with FOR_DESCRIPTOR_ASSIGN subroutine</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/An-error-with-FOR-DESCRIPTOR-ASSIGN-subroutine/m-p/850928#M65875</link>
      <description>&lt;P&gt;Hi, I'm using intel fortran compiler 10.1.13 and VS2005 and I currently have a problem in using FOR_DESCRIPTOR_ASSIGN subroutine. Take a look on this simply example:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff"&gt;use&lt;/FONT&gt; ifcore&lt;BR /&gt;&lt;FONT color="#0000ff"&gt;implicit none&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000ff"&gt;integer(4), pointer&lt;/FONT&gt; :: a(:)&lt;BR /&gt;&lt;FONT color="#0000ff"&gt;integer(4), allocatable&lt;/FONT&gt;::buffer(:)&lt;BR /&gt;&lt;FONT color="#0000ff"&gt;type&lt;/FONT&gt;(FOR_DIMS_INFO) dims_info(1)&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#0000ff"&gt;integer&lt;/FONT&gt;::i, N&lt;BR /&gt;&lt;BR /&gt;   N=10&lt;BR /&gt;&lt;BR /&gt;   &lt;FONT color="#0000ff"&gt;allocate&lt;/FONT&gt;(buffer(1:N))&lt;BR /&gt;&lt;BR /&gt;   &lt;FONT color="#0000ff"&gt;do &lt;/FONT&gt;i=1,N&lt;BR /&gt;       buffer(i)=i&lt;BR /&gt;   &lt;FONT color="#0000ff"&gt;enddo&lt;BR /&gt;&lt;/FONT&gt;&lt;BR /&gt;   dims_info(1)%LOWERBOUND = 0&lt;BR /&gt;   dims_info(1)%UPPERBOUND = N-1&lt;BR /&gt;   dims_info(1)%STRIDE = 1&lt;BR /&gt;&lt;BR /&gt;   &lt;FONT color="#0000ff"&gt;call&lt;/FONT&gt; FOR_DESCRIPTOR_ASSIGN(&amp;amp;&lt;BR /&gt;       a, &amp;amp;&lt;BR /&gt;     &lt;FONT color="#0000ff"&gt;LOC&lt;/FONT&gt;(buffer(1)), &amp;amp;&lt;BR /&gt;       4, &amp;amp;&lt;BR /&gt;       FOR_DESCRIPTOR_ARRAY_DEFINED .or. &amp;amp;&lt;BR /&gt;       FOR_DESCRIPTOR_ARRAY_NODEALLOC .or. &amp;amp;&lt;BR /&gt;       FOR_DESCRIPTOR_ARRAY_CONTIGUOUS, &amp;amp;&lt;BR /&gt;       1, &amp;amp;&lt;BR /&gt;       dims_info)&lt;BR /&gt;&lt;BR /&gt;   &lt;FONT color="#0000ff"&gt;print&lt;/FONT&gt; *,a(0)&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#0000ff"&gt;end&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The resuls of this programm is:&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;&lt;FONT color="#ff0000"&gt;forrtl: severe (408): fort: (3): Subscript #1 of the array A has value 0 which is less than the lower bound of 1&lt;/FONT&gt;&lt;FONT color="#ffffff"&gt;&lt;FONT color="#ffffff"&gt;&lt;FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;But lower bound of a must be 0 and upper bound must be 9&lt;/P&gt;
&lt;P&gt;What do I do wrong?&lt;/P&gt;
&lt;P&gt;PS. Sorry for my English.&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2008 05:11:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/An-error-with-FOR-DESCRIPTOR-ASSIGN-subroutine/m-p/850928#M65875</guid>
      <dc:creator>Tetsuzin</dc:creator>
      <dc:date>2008-02-13T05:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: An error with FOR_DESCRIPTOR_ASSIGN subroutine</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/An-error-with-FOR-DESCRIPTOR-ASSIGN-subroutine/m-p/850929#M65876</link>
      <description>&lt;P&gt;Well, I think I am doing everything right and this is BUG offortran compiler.&lt;/P&gt;
&lt;P&gt;The same error on x64 platform.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2008 06:05:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/An-error-with-FOR-DESCRIPTOR-ASSIGN-subroutine/m-p/850929#M65876</guid>
      <dc:creator>Tetsuzin</dc:creator>
      <dc:date>2008-03-17T06:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: An error with FOR_DESCRIPTOR_ASSIGN subroutine</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/An-error-with-FOR-DESCRIPTOR-ASSIGN-subroutine/m-p/850930#M65877</link>
      <description>There is more than just the bounds being wrong - the array location is wrong too. I'll analyze this and see what is going on.&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Mar 2008 13:46:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/An-error-with-FOR-DESCRIPTOR-ASSIGN-subroutine/m-p/850930#M65877</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2008-03-17T13:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: An error with FOR_DESCRIPTOR_ASSIGN subroutine</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/An-error-with-FOR-DESCRIPTOR-ASSIGN-subroutine/m-p/850931#M65878</link>
      <description>It is just the bounds - no matter what you say for the lower bound, it sets the descriptor lower bound to 1. I'll report this to the developers.&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Mar 2008 19:42:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/An-error-with-FOR-DESCRIPTOR-ASSIGN-subroutine/m-p/850931#M65878</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2008-03-18T19:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: An error with FOR_DESCRIPTOR_ASSIGN subroutine</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/An-error-with-FOR-DESCRIPTOR-ASSIGN-subroutine/m-p/850932#M65879</link>
      <description>&lt;P&gt;Thank you for help and analyze. I'll be waiting for the compiler updates.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2008 10:22:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/An-error-with-FOR-DESCRIPTOR-ASSIGN-subroutine/m-p/850932#M65879</guid>
      <dc:creator>Tetsuzin</dc:creator>
      <dc:date>2008-03-19T10:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: An error with FOR_DESCRIPTOR_ASSIGN subroutine</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/An-error-with-FOR-DESCRIPTOR-ASSIGN-subroutine/m-p/850933#M65880</link>
      <description>I would recommend that you submit a problem report to Intel Support and reference T83625-CP. I can probably come up with an alternative for you in the next couple of days.&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Mar 2008 17:09:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/An-error-with-FOR-DESCRIPTOR-ASSIGN-subroutine/m-p/850933#M65880</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2008-03-19T17:09:41Z</dc:date>
    </item>
  </channel>
</rss>

