<?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 Excessive cpu consumption by compiler in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Excessive-cpu-consumption-by-compiler/m-p/744800#M3138</link>
    <description>&lt;P&gt;It's not a bug, per se, but the current design for data initialization has some cases where it can cause very long compile time, and this is one of them. I suggest replacing this with run-time initialization, like this:&lt;/P&gt;
&lt;P&gt;program slowcomp&lt;BR /&gt; implicit none&lt;BR /&gt;&lt;BR /&gt; structure /x/&lt;BR /&gt; character*8 xx&lt;BR /&gt; end structure&lt;BR /&gt;&lt;BR /&gt; record/x/ xx(100000) !Problem line&lt;BR /&gt;&lt;BR /&gt; xx = x('init')&lt;BR /&gt;&lt;BR /&gt; write (6,*) xx(10)&lt;BR /&gt;&lt;BR /&gt; end program&lt;/P&gt;
&lt;P&gt;Improving this is on our list.&lt;/P&gt;</description>
    <pubDate>Mon, 15 Mar 2010 20:29:29 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2010-03-15T20:29:29Z</dc:date>
    <item>
      <title>Excessive cpu consumption by compiler</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Excessive-cpu-consumption-by-compiler/m-p/744799#M3137</link>
      <description>&lt;P&gt;I'm using the ia32 and intel64 compilers, version 11.1.059, on RHEL 5. Compiler parameters are-traceback-f77rtl -save -vms -align norecords -align dcommons -warn noalign -fpic -extend-source. The following source uses at least 5 cpu minutes to compile. I killed it at that point, so I don't know how long it would run. The combination of a structure member with initialization and the array size cause the problem. Is this a bug in the compiler, or is there something I can do other than changing the code?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;program slowcomp&lt;BR /&gt;implicit none&lt;/P&gt;
&lt;P&gt;structure /x/&lt;BR /&gt; character*8 xx/'init'/ !Problem line&lt;BR /&gt;end structure&lt;/P&gt;
&lt;P&gt;record/x/ xx(100000) !Problem line&lt;/P&gt;
&lt;P&gt;write (6,*) 'hw'&lt;/P&gt;
&lt;P&gt;end program&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2010 20:18:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Excessive-cpu-consumption-by-compiler/m-p/744799#M3137</guid>
      <dc:creator>Chris_Payne</dc:creator>
      <dc:date>2010-03-15T20:18:59Z</dc:date>
    </item>
    <item>
      <title>Excessive cpu consumption by compiler</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Excessive-cpu-consumption-by-compiler/m-p/744800#M3138</link>
      <description>&lt;P&gt;It's not a bug, per se, but the current design for data initialization has some cases where it can cause very long compile time, and this is one of them. I suggest replacing this with run-time initialization, like this:&lt;/P&gt;
&lt;P&gt;program slowcomp&lt;BR /&gt; implicit none&lt;BR /&gt;&lt;BR /&gt; structure /x/&lt;BR /&gt; character*8 xx&lt;BR /&gt; end structure&lt;BR /&gt;&lt;BR /&gt; record/x/ xx(100000) !Problem line&lt;BR /&gt;&lt;BR /&gt; xx = x('init')&lt;BR /&gt;&lt;BR /&gt; write (6,*) xx(10)&lt;BR /&gt;&lt;BR /&gt; end program&lt;/P&gt;
&lt;P&gt;Improving this is on our list.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2010 20:29:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Excessive-cpu-consumption-by-compiler/m-p/744800#M3138</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2010-03-15T20:29:29Z</dc:date>
    </item>
  </channel>
</rss>

