Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
4554 Discussions

Feature Request: Fortran Parser

guillermo_marcus
Beginner
162 Views
Hi,

A feature request for the View Source Code of VTL3.0: a Fortran language color parser.

Cheers,
GM.
0 Kudos
7 Replies
jeffrey-gallagher
162 Views
Hey GM,
Are you thinking of an existing, particular application that has the look and feel you prefer here? If so, post it here so we can have a look.
cheers
jdg
TimP
Black Belt
162 Views
Visual Studio, at least the way it came with CVF, and many editors, e.g vim and emacs, do colored syntax display.
guillermo_marcus
Beginner
162 Views
Hi,

I don't have a particular tool as an example, but gedit for Linux with the optional fortran.lang file, may be a starting point.

For me, it is just a little annoying going to a source code view of a function on VTL3, and find it colored in C/C++ keywords when it is a Fortran file. (Is there a way to turn it off?). It is just a visual aid, but a nice one.

Of course, to implement a Fortran Parser for the Eclipse environment would be the best, as the one that exists for C/C++ development (I think the same one can be easily extended for it). Then, everything from coding to profiling can be done on the same environment.

Cheers,
GM.
David_A_Intel1
Employee
162 Views
Hi Guillermo:
What extension do your Fortran source files use? If you open the VTune analyzer Options dialog and select Syntax Highlight under Source View, you will see that the analyzer is configured to use a Fortran color scheme for files with the following extensions: *.f;*.fpp;*.for;*.f90;*.f95. If this is not working, we should report it. Can you submit an issue at Intel Premier Support and attach a sample module and source file?
Thanks,
guillermo_marcus
Beginner
162 Views
Hi,

First of all, sorry for the delay. I am using *.F extension (capital F), so that may be the reason. Currently the beta has expired, so I have to wait until the official release.

Cheers,
GM.
guillermo_marcus
Beginner
162 Views
Hi,

I was not able to locate the option you mention. The closest is at:

Window -> Preferences -> VTtune -> Source View, but there is no option there to select syntax highlight mode or association.

Cheers,
GM
David_A_Intel1
Employee
162 Views
Sorry. I was confused and referring to the Windows*-based VTune analyzer. I expect as the Linux*-based product matures, you will see this support.
Reply