Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

Question about the compile time

Nathann_T_
Beginner
150 Views

Hi,

I have a problem with the time spent on compile, I work with a program with several huge equations and for this reason the intel fortran spent about 9 minuites to compile the program. My question is, there is some options to make the compile faster?

0 Kudos
7 Replies
Steve_Lionel
Black Belt Retired Employee
150 Views

Compiling without optimization may speed things up, but not if the slow processing is in the compiler "front-end". If you are using the latest version and still seeing an issue, I recommend submitting a support request and attach all the sources needed to reproduce the problem.

Nathann_T_
Beginner
150 Views

Thank's for the tip Doctor Fortran. 

I compile with -o0 option and the time really reduces, unfortanaly the compiler still spent about 8 minutes to finish the compiilation.

Kevin_D_Intel
Employee
150 Views

As Steve mentioned, you may submit a support request (at http://www.intel.com/supporttickets) and attach all the sources needed to reproduce the compile-time issue and our Developers can investigate further.

jimdempseyatthecove
Black Belt
150 Views

>>a program with several huge equations... compile with -o0 option... 8 minutes to finish

8 minutes seems very unusual. Is this one source file?

Some of the posts elsewhere on this forum have determined (on some installations) that the Intel Flex Licensing system caused exceptional delays in compilation. Use google and enter:

    flex licensing long compile time site:software.intel.com

Jim Dempsey

Nathann_T_
Beginner
150 Views

Jim, I have only one source file. This file have 576 equations each of these with more or less 2000 characters. Today I compiled in a very faster computer, (intel Xeon processor with 64gb) and the time reduces to 3 minutes.

jimdempseyatthecove
Black Belt
150 Views

Is this source file auto-generated by some other application?

If not, do you anticipate making a sufficient number of edit and compile sessions worth the time to explore means to reduce the compile time?

Jim Dempsey

TimP
Black Belt
150 Views

Nathann T. wrote:

Jim, I have only one source file. This file have 576 equations each of these with more or less 2000 characters. Today I compiled in a very faster computer, (intel Xeon processor with 64gb) and the time reduces to 3 minutes.

Less drastic than setting -O0 would be to set -fno-inline-functions, if you don't wish to split the source to enable fast parallel build.

Reply