- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I presently test a code builder using file checksums rather than file time stamps to decide to reconstruct a target file.
But I have observed that recompiling an unchanged source file generates a .mod file with a new MD5 sum. On the contrary, the object file keeps the same sum.
I was expecting a completely different behavior, i.e. a .mod file which sum does not change even if one updates slightly the corresponding source file, but without modifying its signature (same arguments for public routines and same public variables).
What is the reason of that strange feature ?
But I have observed that recompiling an unchanged source file generates a .mod file with a new MD5 sum. On the contrary, the object file keeps the same sum.
I was expecting a completely different behavior, i.e. a .mod file which sum does not change even if one updates slightly the corresponding source file, but without modifying its signature (same arguments for public routines and same public variables).
What is the reason of that strange feature ?
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I believe that the compiler puts some sort of time-stamp into the .mod file, since I have on occasion seen a warning during compilation of one module that another module that it depends upon needs recompilation.
For use with Unix Make, it would be useful to suppress updating of .mod files when the changes to a source file are such that only the implementation changes while interfaces remain unchanged. Something along these lines was discussed earlier, in
http://software.intel.com/en-us/forums/showthread.php?t=74795
For use with Unix Make, it would be useful to suppress updating of .mod files when the changes to a source file are such that only the implementation changes while interfaces remain unchanged. Something along these lines was discussed earlier, in
http://software.intel.com/en-us/forums/showthread.php?t=74795
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Suppressing the .mod update is not perfect, especially if the .mod file has been declared as a target of the source file : Make does not know how to manage that and, at the next run, it will see an anomaly (the .mod file is older than the source file) and will recompile the source file.
I would prefer that ifort does not put any date or hour information in the .mod
Is it possible to change that behavior ?
I would prefer that ifort does not put any date or hour information in the .mod
Is it possible to change that behavior ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is no option to suppress the timestamp.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK. But why putting a timestamp in the module file ? I don't understand the reason. This time stamp implies many useless compilations which are time consummming with very large applications.
Is it possible to ask the developers for deleting the time stamp from the .mod file ?
Is it possible to ask the developers for deleting the time stamp from the .mod file ?

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page