Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29282 Discussions

IVF vs other compilers -- size of executables

lklawrie1
Beginner
465 Views
In particular, I notice that the size of my executable using CVF is about 13MB. For IVF, the same executable is over 30MB. This is using similar, if not exactly the same, compiler options.
Is there something I'm missing in link options between the two?
Linda
0 Kudos
3 Replies
Steven_L_Intel1
Employee
465 Views
I'll bet you have bounds checking enabled. That will dramatically inflate the executable size. It's on our list to look at, but at present, since no customer has complained that I know of, it's not been given a high priority.
The size is not in code but in data - text for the message that is displayed. The compiler could be smarter in reducing duplication of the text.
0 Kudos
lklawrie1
Beginner
465 Views
I did have bounds checking enabled -- I'm recompiling now to see what taking it out does. It did indeed help -- now at 6MB for IVF. (I will do CVF later)
Of course, I have it enabled in the other compilers as well. What happens if you turn it off and have a array out of bounds error? (I do still have trace enabled.)
Linda
0 Kudos
Steven_L_Intel1
Employee
465 Views
If you have bounds checking off and exceed array or stringbounds, the results are unpredictable.
0 Kudos
Reply