Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Important Update: Community Platform Migration​. Learn more​>
29650 Discussions

a general performance improvement question

yugn
Beginner
1,734 Views
Would u tell me, if I just convert the fixed-format(F77) to free-format(F95), how much performance improvement I can get? (use CVF)

0 Kudos
3 Replies
Steven_L_Intel1
Employee
1,734 Views
None.

Fixed-form source is also F95 (or can be). The source form has no effect whatsoever on run-time performance. Don't convert existing sources from fixed to free unless you really want to do it for consistency. I do recommend free-form for new development, as some classic Fortran coding errors are much harder to make in free-form.

Steve
0 Kudos
yugn
Beginner
1,734 Views
a related question:
if the old F77 code was compiled by CVF with several warnings, should I convert the related code to free-form?
0 Kudos
Steven_L_Intel1
Employee
1,734 Views
I see no useful benefit in converting working code to free-form. If CVF generated warnings, then you should address the warnings. Free-form isn't going to change things.

Steve
0 Kudos
Reply