- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there any way of configuring DevStudio so that CVF 6.6 will recognise files with the .f95 extension rather than .f90 ? I'm using a library of supplied files where .f90 and .f95 versions are supplied, but the system simply doesn't recognise .f95; produces no syntax colouring, won't compile.
Thanks,
FSM
Thanks,
FSM
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not sure if you mean visual studio or just the compiler
input. When invoking the compiler from a command line
you can specify /source=filename.any and the compiler
will accept the file as fortran source input.
sol
input. When invoking the compiler from a command line
you can specify /source=filename.any and the compiler
will accept the file as fortran source input.
sol
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I thought that it might work to add a new F95 file type that is the same as the FOR, F, F90, etc. defined types. I tried this on Windows 98, but it didn't work. It seems that there is something inside of CVF itself that doesn't recognize files with the .f95 extension.
Mike
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The command line has an /extfor option that defines additional file types to be recognized as Fortran files. But in the Developer Studio environment, the lists of file types are not usefully user modifiable.
.f95 is not a generally accepted file type for Fortran files. It is unfortunate that .f90 became the convention for "Fortran free-form source", as that implied to some users conformance to a particular revision of the standard. (What's next - .f00?)
The future Intel Visual Fortran product is planned to allow users to add file types to the lists recognized in the IDE, but for now, it's difficult to do there. If you're using the command line only, /extfor works fine in CVF. (I'll note that Intel Fortran 7 does not have a similar feature.)
Steve
.f95 is not a generally accepted file type for Fortran files. It is unfortunate that .f90 became the convention for "Fortran free-form source", as that implied to some users conformance to a particular revision of the standard. (What's next - .f00?)
The future Intel Visual Fortran product is planned to allow users to add file types to the lists recognized in the IDE, but for now, it's difficult to do there. If you're using the command line only, /extfor works fine in CVF. (I'll note that Intel Fortran 7 does not have a similar feature.)
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