Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Really slow compile times?

jeffrey_t_b
Einsteiger
1.026Aufrufe
I have a library with about 40 files, and it takes forever for each file to compile, while other compilers (including CVF) seemed to take only a couple of seconds. (I am running VS.NET 2003, Win 2000, on a Dell Precision with 3.2 GHz and 2 GB of RAM. C++ files compile fine. This occurs with the latest build, IVF 9.0.019, too.) The compiled code seems to work correctly, fortunately.

For example, one of the files is a 200 line subroutine, coded in fortran 77. There are no include files or anything like that. It takes about eight seconds to compile!

Has anyone else run into this problem? Am I configuring something wrong?

Message Edited by jeffrey_t_b on 07-08-2005 11:21 AM

0 Kudos
7 Antworten
Steven_L_Intel1
Mitarbeiter
1.026Aufrufe
That's very unusual. PLEASE submit an issue to Intel Premier Support and attach the files - we would very much like to see them.

But is eight seconds really "forever"?
jeffrey_t_b
Einsteiger
1.026Aufrufe
True, "forever" is a bit of a hyperbole. ;)

But, multiplied by 50-100 files in the library that needs to be compiled, that turns out to be about 15 minutes to compile something that takes maybe ten seconds with CVF.

I'll submit the issue to Premier support, and will attach a couple of the files, but it occurs with ALL of the fortran files that I compile. So I fear that it is something more to do with my settings / computer than anything else.
TimP
Geehrter Beitragender III
1.026Aufrufe
It does seem likely that you have chosen more time consuming options than you did with CVF. Quoting the options used in each case might enable someone to make suggestions. Vectorizing options, which are normal to use now, usually require more time than CVF.

We have seen some improvements in compile speed with the 9.0 compiler.
Steven_L_Intel1
Mitarbeiter
1.026Aufrufe
I suspect something in the environment is responsible. We'll persue this through Premier Support.
anthonyrichards
Neuer Beitragender III
1.026Aufrufe
Try deleting the .NCB and .OPT files and rebuilding. This has helped some people in the past.
anthonyrichards
Neuer Beitragender III
1.026Aufrufe
Quoting - anthonyrichards
Try deleting the .NCB and .OPT files and rebuilding. This has helped some people in the past.

The above post turns up third on my date-order list even though posted in July!
Steven_L_Intel1
Mitarbeiter
1.026Aufrufe

That's because someone posted a reply to this thread that I moved to the C++ forum. It apparenly keeps the last update time.
Antworten