<?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 Slow compiles with 2013 compiler in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945095#M90952</link>
    <description>&lt;P&gt;For my project, I’ve noticed very long compile times for the 2013 version of the compiler (compared to the 2011 version).&amp;nbsp; Files that used to take seconds are now taking minutes to compile.&amp;nbsp; Has anyone else noticed this?&amp;nbsp; It is consistent for updates 0,1,2 (and also on Linux).&amp;nbsp; I’ve got a fairly complicated project (a few hundred modules, split into several libraries and one main program), and am using a lot of the newer object oriented stuff.&amp;nbsp; I notice that the low level files (old style f77 code, the library modules, etc.) compile as fast as before. &amp;nbsp;However, once it gets to the main program where there are a lot of dependencies on the low-level modules, it slows to a crawl.&amp;nbsp; I suspected that the compiler is performing an extraordinary amount of code optimization, but the problem persists with debug builds where all the optimization is turned off.&amp;nbsp; Any ideas?&lt;/P&gt;</description>
    <pubDate>Wed, 13 Feb 2013 21:34:58 GMT</pubDate>
    <dc:creator>Jacob_Williams</dc:creator>
    <dc:date>2013-02-13T21:34:58Z</dc:date>
    <item>
      <title>Slow compiles with 2013 compiler</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945095#M90952</link>
      <description>&lt;P&gt;For my project, I’ve noticed very long compile times for the 2013 version of the compiler (compared to the 2011 version).&amp;nbsp; Files that used to take seconds are now taking minutes to compile.&amp;nbsp; Has anyone else noticed this?&amp;nbsp; It is consistent for updates 0,1,2 (and also on Linux).&amp;nbsp; I’ve got a fairly complicated project (a few hundred modules, split into several libraries and one main program), and am using a lot of the newer object oriented stuff.&amp;nbsp; I notice that the low level files (old style f77 code, the library modules, etc.) compile as fast as before. &amp;nbsp;However, once it gets to the main program where there are a lot of dependencies on the low-level modules, it slows to a crawl.&amp;nbsp; I suspected that the compiler is performing an extraordinary amount of code optimization, but the problem persists with debug builds where all the optimization is turned off.&amp;nbsp; Any ideas?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2013 21:34:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945095#M90952</guid>
      <dc:creator>Jacob_Williams</dc:creator>
      <dc:date>2013-02-13T21:34:58Z</dc:date>
    </item>
    <item>
      <title>I have a large Fortran</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945096#M90953</link>
      <description>&lt;P&gt;I have a large Fortran project where module processing has been a major issue since XE2013. I saw many Internal Compiler Errors and some slow compiles. Often a slow compile lead to an ICE. I have got around it all by having a private statement in most of my modules, then only having whats really neccessary as public. This took me weeks to do.&lt;/P&gt;
&lt;P&gt;Another issue I got&amp;nbsp;was that sometines when calling a procedure in module 2 from module 1&amp;nbsp;and passing some derived type object, the compiler complained that the type defintion of the dummy argument of the&amp;nbsp;module 2 procedure&amp;nbsp;was unresolved, even though module 2 compiled without incident. I got around that by putting the use statement that defines the derived type in the module 2 header rather than in the procedure defintion.&lt;/P&gt;
&lt;P&gt;I dont know if any fixes happened in update 2 because my project is already&amp;nbsp;stable before then.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2013 12:36:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945096#M90953</guid>
      <dc:creator>Andrew_Smith</dc:creator>
      <dc:date>2013-02-14T12:36:00Z</dc:date>
    </item>
    <item>
      <title>We know of a general problem</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945097#M90954</link>
      <description>&lt;P&gt;We know of a general problem with modules and compile-time performance that started in the 13.0 compiler. We've been doing a lot of work which seems to have resolved that, but the changes are deemed too significant to go into an update so they'll be in a release later this year. Some changes did go into update 2.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2013 14:29:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945097#M90954</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2013-02-14T14:29:02Z</dc:date>
    </item>
    <item>
      <title>You may want to try two</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945098#M90955</link>
      <description>&lt;P&gt;You may want to try two temporary switches we added that help some users with module issues. In Visual Studio type these in under Fortran &amp;gt; Command Line &amp;gt; Additional Options&lt;/P&gt;
&lt;P&gt;First try /switch:cq237837&lt;/P&gt;
&lt;P&gt;You can also add /switch:cq235485 but this one is more to fix an issue with accessibility. Both of these require Update 2.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2013 15:55:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945098#M90955</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2013-02-14T15:55:55Z</dc:date>
    </item>
    <item>
      <title>I tried the switches, and</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945099#M90956</link>
      <description>&lt;P&gt;I tried the switches, and they didn't work for me.&amp;nbsp; I also just downloaded 2013 Update 3, tried it with and without the switches, and it still takes forever to compile.&amp;nbsp; Also, after about 1 hour of compiling, I start to get these messages:&lt;/P&gt;
&lt;P&gt;2&amp;gt;Fatal compilation error: Out of memory asking for 2097160.&lt;BR /&gt;2&amp;gt;ifort: error #10298: problem during post processing of parallel object&lt;/P&gt;
&lt;P&gt;I have 8 GB or RAM, so that should be enough.&amp;nbsp; With the 2011 version, the whole project takes &amp;lt; 10 minutes to compile with no problems.&amp;nbsp; I guess I'll have to stay with the 2011 version until this issue is fixed.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2013 16:00:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945099#M90956</guid>
      <dc:creator>Jacob_Williams</dc:creator>
      <dc:date>2013-03-29T16:00:52Z</dc:date>
    </item>
    <item>
      <title>Jacob, would you be willing</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945100#M90957</link>
      <description>&lt;P&gt;Jacob, would you be willing to provide us your sources through Intel Premier Support so that we can make sure we fix the problem?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2013 16:13:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945100#M90957</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2013-03-29T16:13:58Z</dc:date>
    </item>
    <item>
      <title>Jacob,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945101#M90958</link>
      <description>&lt;P&gt;Jacob,&lt;/P&gt;
&lt;P&gt;Experiment with /Qipo-jobs??? and set to 1&lt;/P&gt;
&lt;P&gt;Not sure of correct syntax to enter number&lt;/P&gt;
&lt;P&gt;/Qipo-jobs1&lt;BR /&gt;/Qipo-jobs:1&lt;/P&gt;
&lt;P&gt;I know you would prefer parallel IPO, but try a build with 1 job and see what happens.&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2013 16:22:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945101#M90958</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2013-03-29T16:22:55Z</dc:date>
    </item>
    <item>
      <title>Steve: the problem is that I</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945102#M90959</link>
      <description>&lt;P&gt;Steve: the problem is that I don't think I can send you the code (some is third-party that I don't have a license to distribute, some is ITAR, etc.).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim: I'll try what you suggest (although this is a debug build with IPO disabled, so it shouldn't be doing any in the first place).&amp;nbsp; I've already tried various build settings, and haven't found any combination that doesn't experience this problem.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2013 15:35:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945102#M90959</guid>
      <dc:creator>Jacob_Williams</dc:creator>
      <dc:date>2013-04-01T15:35:41Z</dc:date>
    </item>
    <item>
      <title>Jacob, please attach a ZIP of</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945103#M90960</link>
      <description>&lt;P&gt;Jacob, please attach a ZIP of the buildlog.htm for the failed build. This is obviously not from the module processing. Are there lots of or large libraries that are part of this project? Even if you are not doing an IPO build, the xilink "pre-linker" is invoked and I have seen issues where this step is very slow. A workaround is to rename xilink.exe in the Fortran BIN folder and then to copy in a copy of link.exe (from the VC\BIN folder) and rename it xilink.exe.&amp;nbsp; See if that helps. It would mean you couldn't use IPO.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2013 16:06:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945103#M90960</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2013-04-01T16:06:56Z</dc:date>
    </item>
    <item>
      <title>Will send the files as a</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945104#M90961</link>
      <description>&lt;P&gt;Will send the files as a private message.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2013 17:11:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945104#M90961</guid>
      <dc:creator>Jacob_Williams</dc:creator>
      <dc:date>2013-04-01T17:11:25Z</dc:date>
    </item>
    <item>
      <title>Now that I look at Jacob's</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945105#M90962</link>
      <description>&lt;P&gt;Now that I look at Jacob's logs, I am pretty sure that this IS a module issue and not related to xilink. The compiler is running out of memory. Without access to the sources so I could reproduce it, all I can suggest is to see if our next major version, due out later this year, resolves the issue.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2013 19:40:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945105#M90962</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2013-04-01T19:40:45Z</dc:date>
    </item>
    <item>
      <title>I have hit long compile times</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945106#M90963</link>
      <description>&lt;P&gt;I have hit long compile times again. The attached archive should demonstrate this on Windows and Linux, although I have not tried on Windows for a while. To compile on Linux:&lt;/P&gt;
&lt;P&gt;- Extract archive&lt;/P&gt;
&lt;P&gt;$ cd slow_compile/hs-build&lt;/P&gt;
&lt;P&gt;$ cmake -DCMAKE_BUILD_TYPE=DEBUG ../hs&lt;/P&gt;
&lt;P&gt;$ make&lt;/P&gt;
&lt;P&gt;The cmake and make command on Windows should be&lt;/P&gt;
&lt;P&gt;$ cmake -G"NMake Makefiles" -DCMAKE_BUILD_TYPE=DEBUG&amp;nbsp; ../hs&lt;/P&gt;
&lt;P&gt;$ nmake&lt;/P&gt;
&lt;P&gt;I did have memory problems too. It would not compile with 16GB of RAM. I solved that by not using linked lists with unlimited polymorphic components. &lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2013 12:57:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945106#M90963</guid>
      <dc:creator>Olsen__Oystein</dc:creator>
      <dc:date>2013-04-02T12:57:51Z</dc:date>
    </item>
    <item>
      <title>oysteinolsen, which file(s)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945107#M90964</link>
      <description>&lt;P&gt;oysteinolsen, which file(s) in particular are a problem for you?&amp;nbsp; That's a large and complex build.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2013 15:55:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945107#M90964</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2013-04-02T15:55:13Z</dc:date>
    </item>
    <item>
      <title>Note: I haven't tried to</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945108#M90965</link>
      <description>&lt;P&gt;Note: I haven't tried to compile oysteinolsen's example, but I noticed that it is similar to my project in that: 1) it is a complex program with a lot of modules, and 2) it uses a lot of the newer F2003 features (polymorphic classes with procedures, generic operators, linked lists, etc.)&amp;nbsp; Note that mine has significantly more modules (~240 vs. ~40 in this one).&amp;nbsp; I would bet money that it is the new language features that are causing the problem.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2013 14:55:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945108#M90965</guid>
      <dc:creator>Jacob_Williams</dc:creator>
      <dc:date>2013-04-03T14:55:43Z</dc:date>
    </item>
    <item>
      <title>Steve,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945109#M90966</link>
      <description>&lt;P&gt;Steve,&lt;/P&gt;
&lt;P&gt;the noticeable slow-down starts with hsspacecraft.f90 at 78%. From there, it gets progressively worse. The last file was still compiling after 12 hours. This is a relatively small part of my project and I have not been able to find what causes the slow-down. I can strip away parts and I only get a gradual decrease in compile times. I do suspect that it is caused by using unlimited polymorphic arrays in hsode.f90. I'll make another attempt at finding the exact cause.&lt;/P&gt;
&lt;P&gt;With 12.1 it took about twenty minutes to compile the entire project, although I had to introduce a few work-around due to compiler bugs.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2013 18:57:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945109#M90966</guid>
      <dc:creator>Olsen__Oystein</dc:creator>
      <dc:date>2013-04-03T18:57:02Z</dc:date>
    </item>
    <item>
      <title>In general, use of things</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945110#M90967</link>
      <description>&lt;P&gt;In general, use of things such as polymorphic variables has no noticeable affect on compile time. Where we have seen problems is in following module USE chains, renames, public/private, etc. The more nested the modules get, the worse things can get. We've done a lot of work in the past few months to speed up this part of the compilation.&lt;/P&gt;
&lt;P&gt;I will try your project when I can.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2013 19:37:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945110#M90967</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2013-04-03T19:37:19Z</dc:date>
    </item>
    <item>
      <title>Sorry to report that I'm</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945111#M90968</link>
      <description>&lt;P&gt;Sorry to report that I'm still seeing the unusually-long compilation times for my project with the latest version of the compiler (v 14.0.0.103).&amp;nbsp; Steve, were you ever able to try out oysteinolsen's project?&amp;nbsp; Interestingly, I'm also now seeing what appear to be compiler errors.&amp;nbsp; It's telling me "this derived type name has not been declared" for some variables that should be available from a "use" statement for a module that already successfully compiled.&amp;nbsp; Adding an "only" for the variable fixes it.&amp;nbsp; I can try to create a simple example...but it seems like my problems only show up for complex projects, so I may not be successful.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2013 19:32:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945111#M90968</guid>
      <dc:creator>Jacob_Williams</dc:creator>
      <dc:date>2013-09-16T19:32:58Z</dc:date>
    </item>
    <item>
      <title>The error you're seeing now</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945112#M90969</link>
      <description>&lt;P&gt;The error you're seeing now is one we know about and will be fixed in the October update. Jacob, would you please provide the source for the file that compiles slowly and that of any modules/include files it uses (directly and indirectly)?&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2013 19:39:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945112#M90969</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2013-09-16T19:39:24Z</dc:date>
    </item>
    <item>
      <title>I'll try to come up with an</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945113#M90970</link>
      <description>&lt;P&gt;I'll try to come up with an example set to send you (I can't send it all).&amp;nbsp; It may take a while.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2013 21:46:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945113#M90970</guid>
      <dc:creator>Jacob_Williams</dc:creator>
      <dc:date>2013-10-07T21:46:48Z</dc:date>
    </item>
    <item>
      <title>I've manged to create an</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945114#M90971</link>
      <description>&lt;P&gt;I've manged to create a simplified example project with a subset of code to demonstrate the issue.&amp;nbsp; I'd like to submit it via Premier Support, but it won't let me. I don't have any products listed under "Product Name", so I can't proceed beyond the "Submit Issue" page.&amp;nbsp; How do I get this to work?&amp;nbsp; I do have a current license for Intel Fortran for Windows.&lt;/P&gt;
&lt;P&gt;FYI: the problem is due to a large type that I have defined (it contains lots of other types, some of which contain polymorphic or allocatable variables).&amp;nbsp; If the type contains procedures, any modules that call these procedures takes a long time to compile.&amp;nbsp; Also, any modules where this type is allocated or deallocated takes a long time to compile.&amp;nbsp; The slow-down can be dramatic.&amp;nbsp; For the case where a procedure in the type is called, the v12 compiler takes 1 sec to compile the sample file, and the v14 compiler takes 23 sec.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2013 21:39:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Slow-compiles-with-2013-compiler/m-p/945114#M90971</guid>
      <dc:creator>Jacob_Williams</dc:creator>
      <dc:date>2013-10-15T21:39:00Z</dc:date>
    </item>
  </channel>
</rss>

