- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a related question:
if the old F77 code was compiled by CVF with several warnings, should I convert the related code to free-form?
if the old F77 code was compiled by CVF with several warnings, should I convert the related code to free-form?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Steve
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