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

recompilation but no code changes?

Ralf
Beginner
641 Views
I have a project which I compile and run - the run involves again a compilation. Repeating the run again involves compilation without touching the code (etc). Why is this?
I'm using VS 2010 and the XE 2011 compiler. Same behavior for win32/x64, Debug/Release.
The project consists of F2003 compliant modules and a mix of legacy F77 routines with references to various DLLs. P.s., the project was newly created with a minimum of options.
Any hints?
Cheers
-Ralf
0 Kudos
3 Replies
IanH
Honored Contributor III
641 Views
Make sure you don't have any cyclic dependencies with your modules or the files that contain your modules.

(Check that you do not have module A using module B using module C using module A... or similarly that you don't have module A in file AC using module B in file B using module C in file AC)
0 Kudos
ZlamalJakub
New Contributor III
641 Views
There can be problem with source file date. If You moved your source code to machine with different time, sources can be newer than linked code, so they are compiled again and again.
0 Kudos
Ralf
Beginner
641 Views
Quoting IanH
Make sure you don't have any cyclic dependencies with your modules or the files that contain your modules.

(Check that you do not have module A using module B using module C using module A... or similarly that you don't have module A in file AC using module B in file B using module C in file AC)

Thanks Ian - that was it!

Cheers

-Ralf

0 Kudos
Reply