- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i have programmes in fortran 77. it contains continuation lines. when i compile using ifort i get lot of errors. i suppose they r due to some incompatibilities. the programes are tested and have no errors. how can i run using latest ifort. i guess i need to convert to f95 or so in format free style. thanks in anticipation. pl help
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
By default ifort will determine the source format based the file extension:
Files with an extension of .f90, .F90, or .i90 are free-format source files.
Files with an extension of .f, .for, .FOR, .ftn, .FTN, .fpp, .FPP, or .i are fixed-format files.
You can also use compiler option "-free" or "-fixed" to specify the file format.
Another possible reason for the error is the length of statement field in a fixed format source file. By default the length is 72. It can be changed by option "-extend-source <size>" where the "<size>" can be 72, 80 or 132.
Thanks,
Xiaoping Duan
Intel Customer Support
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page