- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You must not be using xlf90 on AIX, or are using it in a mode that does not follow the F90 standard.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
g77 came much later, and is not generally considered an example to follow in the Fortran world.
As for outputting one variable per-line - why not? Again, the standard permits this and I, for one, find it more readable.
There are quite a few areas, especially in the form of formatted output, where the language gives compilers some freedom. Nowhere is this more evident than in list-directed (and hence NAMELIST) output. If you have strict format requirements, I would recommend the use of explicitly formatted output (though even there is room for variation, such as whether one puts a leading zero on an F format value that is less than 1.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Obviously g77 isn't a great FORTRAN compiler, or I wouldn't work at a company that purchased a license for the Intel FORTRAN compiler. That said, having to move legacy code from AIX to Linux presents many challenges. I hope you can understand my desire to find ways to compensate for compiler differences without the need for code changes in that there is a significant amount of red tape involved in certifying code changes to stuff that has been running untouched on AIX for 8 years, and on other platforms for 20. In an ideal world, I'd have the freedom to fix all this code, but in the business world there is a lot of pressure to not make changes.
As always, I appreciate your responses and feedback.
Thanks,
Chris
Message Edited by cjosefy on 04-07-2005 07:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page