- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am evaluating the latest Intel Fortran Compiler in the VS 2005 IDE. I can't compile my project consisting of several dozen *.f95 files.
I tried Tools>Options>Fortran>General and added .f95 and restarted VS. No effect:
Warning 1 command line warning #10161: unrecognized source type 'E:\TimDocs\fort\fft_auto\source\q2imask_module.f95'; object file assumed ifort
Based on a thread here, I tried Project>Properties>Fortran>Command Line and added /extfor:.f95. ifort now tries to compile, but apparently doesn't recognize the file content:
module q2imask_module
contains
subroutine q2imask(qmask,imask,li)
...
Generated errors on every character:
Error 1 error #5149: Illegal character in statement label field
Error 2 error #5149: Illegal character in statement label field
Error 3 error #5149: Illegal character in statement label field
Any help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is a known problem and should be fixed in a future update. All I can suggest is what I would normally recommend - do not use .f95, .f03 or other non-industry-standard file type. It is a common misconception that the file type designates the standards revision level. All it does is distinguish free-form from fixed-form source. Please use the .f90 file type for your free-form source. Our issue ID is DPD200049917.
A possible workaround is to add the command line option /free to Additional Options under Command Line.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is a known problem and should be fixed in a future update. All I can suggest is what I would normally recommend - do not use .f95, .f03 or other non-industry-standard file type. It is a common misconception that the file type designates the standards revision level. All it does is distinguish free-form from fixed-form source. Please use the .f90 file type for your free-form source. Our issue ID is DPD200049917.
A possible workaround is to add the command line option /free to Additional Options under Command Line.
![](/skins/images/7B0AB6865064EAE32B30EC9A4E94B48A/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page