<?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: maximum number of nested loops in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/maximum-number-of-nested-loops/m-p/1227729#M152602</link>
    <description>&lt;P&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;The... DO... constructs are nested too deeply.&amp;nbsp;..&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I would not say this: in advanced algorithms, the initial and final values of the loop parameter are variables, and if they match, the transition to the inner loops is linear in time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Nov 2020 08:38:31 GMT</pubDate>
    <dc:creator>Sigolaev__Yuriy</dc:creator>
    <dc:date>2020-11-12T08:38:31Z</dc:date>
    <item>
      <title>maximum number of nested loops</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/maximum-number-of-nested-loops/m-p/1227436#M152578</link>
      <description>&lt;P&gt;&lt;SPAN&gt;What is the maximum number of nested loops in the 19 version of Intel Fortran?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 12:58:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/maximum-number-of-nested-loops/m-p/1227436#M152578</guid>
      <dc:creator>Sigolaev__Yuriy</dc:creator>
      <dc:date>2020-11-11T12:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: maximum number of nested loops</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/maximum-number-of-nested-loops/m-p/1227450#M152580</link>
      <description>&lt;P&gt;This would be a stack size limitation. Larger stack size == more nest levels.&lt;/P&gt;
&lt;P&gt;Note, the above is for runtime. At compile time, of a single procedure, the compiler may have an internal limit, possibly limited by its stack size and/or internal structure design for tracking tokens (variables).&lt;/P&gt;
&lt;P&gt;If you are running into a problem, please state the particulars.&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 14:08:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/maximum-number-of-nested-loops/m-p/1227450#M152580</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2020-11-11T14:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: maximum number of nested loops</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/maximum-number-of-nested-loops/m-p/1227484#M152587</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN&gt;At compile time, of a single procedure, the compiler may have an internal limit,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I have to use about two hundred nested loops. I'm wondering if the translator can cope with this task?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 15:52:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/maximum-number-of-nested-loops/m-p/1227484#M152587</guid>
      <dc:creator>Sigolaev__Yuriy</dc:creator>
      <dc:date>2020-11-11T15:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: maximum number of nested loops</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/maximum-number-of-nested-loops/m-p/1227485#M152588</link>
      <description>&lt;P&gt;Is this in the same procedure? (same subroutine or function)&lt;/P&gt;
&lt;P&gt;Why not simply try it?&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 15:56:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/maximum-number-of-nested-loops/m-p/1227485#M152588</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2020-11-11T15:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: maximum number of nested loops</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/maximum-number-of-nested-loops/m-p/1227490#M152589</link>
      <description>&lt;P&gt;Considering the high-level of nesting in your loops, have you looked into recursive algorithm(s) and evaluated whether they can help you with your computing needs?&lt;/P&gt;
&lt;P&gt;Starting Fortran 2018, unless marked as NON_RECURSIVE or dictated by some compiler option(s) to override the standard, every procedure is recursive.&amp;nbsp; And one can thus hope a Fortran 2018-compliant compiler will be reasonably good (and striving toward being highly adept) at optimizing the program with respect to recursion, both in terms of run-time (e.g., stack usage) as well as compile-time processing.&lt;/P&gt;
&lt;P&gt;Thus investment in recursive algorithms toward one's computing needs can prove valuable in the long-term.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 16:36:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/maximum-number-of-nested-loops/m-p/1227490#M152589</guid>
      <dc:creator>FortranFan</dc:creator>
      <dc:date>2020-11-11T16:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: maximum number of nested loops</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/maximum-number-of-nested-loops/m-p/1227495#M152590</link>
      <description>&lt;P&gt;Binary tree traversal with nested loops is much more efficient than any other algorithm. Don't the developers of the translator indicate the maximum nesting of loops?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 16:54:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/maximum-number-of-nested-loops/m-p/1227495#M152590</guid>
      <dc:creator>Sigolaev__Yuriy</dc:creator>
      <dc:date>2020-11-11T16:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: maximum number of nested loops</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/maximum-number-of-nested-loops/m-p/1227546#M152595</link>
      <description>&lt;P&gt;The Intel documentation, under Compiler Limits, says "DO, CASE, FORALL, WHERE, and block IF statement nesting (combined): 512"&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 19:59:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/maximum-number-of-nested-loops/m-p/1227546#M152595</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2020-11-11T19:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: maximum number of nested loops</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/maximum-number-of-nested-loops/m-p/1227556#M152597</link>
      <description>&lt;P&gt;Thanks Steve.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 20:37:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/maximum-number-of-nested-loops/m-p/1227556#M152597</guid>
      <dc:creator>Sigolaev__Yuriy</dc:creator>
      <dc:date>2020-11-11T20:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: maximum number of nested loops</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/maximum-number-of-nested-loops/m-p/1227576#M152598</link>
      <description>&lt;P&gt;Steve beat me to it - 512 is correct.&lt;/P&gt;
&lt;P&gt;Error Message if you exceed this:&lt;/P&gt;
&lt;P&gt;/* 370 */&lt;/P&gt;
&lt;P&gt;"The IF, DO, CASE, FORALL, and/or WHERE constructs are nested too deeply. The current limit is 512."&lt;/P&gt;
&lt;P&gt;Speaking of limits, array ranks limit = 31&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 22:00:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/maximum-number-of-nested-loops/m-p/1227576#M152598</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2020-11-11T22:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: maximum number of nested loops</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/maximum-number-of-nested-loops/m-p/1227729#M152602</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;The... DO... constructs are nested too deeply.&amp;nbsp;..&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I would not say this: in advanced algorithms, the initial and final values of the loop parameter are variables, and if they match, the transition to the inner loops is linear in time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 08:38:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/maximum-number-of-nested-loops/m-p/1227729#M152602</guid>
      <dc:creator>Sigolaev__Yuriy</dc:creator>
      <dc:date>2020-11-12T08:38:31Z</dc:date>
    </item>
  </channel>
</rss>

