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

Compiling time

Zhanghong_T_
Novice
608 Views
Hi all,

I have a Fortran source code file which is about 354Kb. It will spend for more than 15 minutes to compile such file on Win32 release mode. However, on Win32 debug mode the compiling time is only severalseconds. Is there any bug of the compiler, orany setting problems?The compiling envorinment is VS2008+IVF11.0.061. I remembered that the compiling time is reasonable when the compiling envorinment is VS2003/VS2005+IVF10.xxx or former.


Thanks,
Zhanghong Tang
0 Kudos
3 Replies
joerg_kuthe
Novice
608 Views
Might be that your source code gets the optimizer quite busy. Try to turn off some optimizing options to see if that decreases compile time.

Jrg Kuthe
0 Kudos
TimP
Honored Contributor III
608 Views
As Jorg hinted, in the absence of further information from you, we might guess you are trying /Qipo, and possibly running into memory shortage.
0 Kudos
Zhanghong_T_
Novice
608 Views
Quoting - tim18
As Jorg hinted, in the absence of further information from you, we might guess you are trying /Qipo, and possibly running into memory shortage.

Dear Jorg and Tim,

Thank you very much for your kindly reply.
I didn't use the /Qipo and the memory is enough. Some of my settings are as follows:

Configuration properities->Fortran->Command Line:
/nologo /fpp /I"C:Program FilesIntelMKL10.1.0.018include" /gen-interfaces /module:"Release" /object:"Release" /libs:static /threads /c

Configuration properities->Linker->Command Line:
/OUT:"Releaseout.dll" /NOLOGO /LIBPATH:"C:Program FilesIntelMKL10.1.0.018ia32lib" /NODEFAULTLIB:"libguide.lib" /MANIFEST /MANIFESTFILE:"Releaseout.dll.intermediate.manifest" /SUBSYSTEM:WINDOWS /LARGEADDRESSAWARE /IMPLIB:"Releaseout.lib" /DLL mkl_c.lib mkl_solver.lib libguide40.lib


What other information should I provide?

Thanks,
Zhanghong Tang
0 Kudos
Reply