<?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: [allocate] Dynamic array indices in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/allocate-Dynamic-array-indices/m-p/1255987#M154464</link>
    <description>&lt;P&gt;When I posted the first thread, an error occurred and I clicked the submit button two other times... Maybe you can delete two of the three posts&lt;/P&gt;</description>
    <pubDate>Mon, 15 Feb 2021 07:21:33 GMT</pubDate>
    <dc:creator>bucaioni__thomas</dc:creator>
    <dc:date>2021-02-15T07:21:33Z</dc:date>
    <item>
      <title>[allocate] Dynamic array indices</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/allocate-Dynamic-array-indices/m-p/1254011#M154318</link>
      <description>&lt;P&gt;Is there any caveat in using custom indices for allocatables? For example&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="fortran"&gt;real, dimension (:,:), allocatable :: T
allocate ( T(0:2,5:7) )
T = 0
T(0,5) = 1
T(2,7) = 9
print *, T&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;works great, but it would be to be sure there is no side effects&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 13:42:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/allocate-Dynamic-array-indices/m-p/1254011#M154318</guid>
      <dc:creator>bucaioni__thomas</dc:creator>
      <dc:date>2021-02-08T13:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: [allocate] Dynamic array indices</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/allocate-Dynamic-array-indices/m-p/1254160#M154324</link>
      <description>&lt;P&gt;Duplicate of&amp;nbsp;&lt;A href="https://community.intel.com/t5/Intel-Fortran-Compiler/allocate-Dynamic-array-indices/td-p/1254010/" target="_blank"&gt;https://community.intel.com/t5/Intel-Fortran-Compiler/allocate-Dynamic-array-indices/td-p/1254010/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 20:49:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/allocate-Dynamic-array-indices/m-p/1254160#M154324</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2021-02-08T20:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: [allocate] Dynamic array indices</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/allocate-Dynamic-array-indices/m-p/1255987#M154464</link>
      <description>&lt;P&gt;When I posted the first thread, an error occurred and I clicked the submit button two other times... Maybe you can delete two of the three posts&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 07:21:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/allocate-Dynamic-array-indices/m-p/1255987#M154464</guid>
      <dc:creator>bucaioni__thomas</dc:creator>
      <dc:date>2021-02-15T07:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: [allocate] Dynamic array indices</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/allocate-Dynamic-array-indices/m-p/1256127#M154470</link>
      <description>&lt;P&gt;In 1957. Backus stood on the top of the highest mountain, God spoke to Backus, I give thee Fortran and all its quirks.&amp;nbsp; Backus set off down the mountain to IBM HQ to report on his success, about half way down the mountain, the bag got heavy, so he looked at God's code and decided we do not need that part about Implicit None, he wandered on and the bag was heavier, so he looked again and thought - no one will ever need that part about dynamic arrays, so he tossed away more.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Finally he reached the holy place called the Watson Lab and held out the code,&amp;nbsp; in 54 pages.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The leader looked at Backus and said - what is a PDF file?&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="fortran"&gt;!****************************************************************************
!
!  PROGRAM: Console15
!
!  PURPOSE:  Entry point for the console application.
!
!****************************************************************************

    program Console15

    implicit none

    ! Variables

    ! Body of Console15
    integer A(10), BigA, N,I
    
    A(1) = 100
    A(2) = 20
    A(3) = 35
    A(4) = 400
    A(5) = 200
    A(6) = 100
    A(7) = 2
    A(8) = -1
    A(9) = 13
    A(10) = 20
    N = 10
    write(*,*)"The earliest known Fortran Program - 1956"
    
    BigA = A(1) 
    DO 20 I = 1, N
    if(BigA - A(i)) 10,20,20 
10   BigA = A(i)
20  Continue

    write(*,*)bigA
    

    end program Console15
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The program is on Page 7 of the first manual - I merely declared the numbers.&amp;nbsp; It runs on the latest compiler without change.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In anthropology they call these creation myths.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 18:35:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/allocate-Dynamic-array-indices/m-p/1256127#M154470</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2021-02-15T18:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: [allocate] Dynamic array indices</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/allocate-Dynamic-array-indices/m-p/1256129#M154471</link>
      <description>&lt;P&gt;We will never know if the programmer in 1956 had a sense of humour in naming the variable BigA - I like to think she did.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 18:38:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/allocate-Dynamic-array-indices/m-p/1256129#M154471</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2021-02-15T18:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: [allocate] Dynamic array indices</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/allocate-Dynamic-array-indices/m-p/1256133#M154472</link>
      <description>&lt;P&gt;The debugger was five sense lights - command&lt;/P&gt;
&lt;P&gt;SENSE LIGHT 1&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does not work in modern Fortran&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 18:45:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/allocate-Dynamic-array-indices/m-p/1256133#M154472</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2021-02-15T18:45:16Z</dc:date>
    </item>
  </channel>
</rss>

