Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Call Tree Diagram Tool ?

iwatkins
Novice
2,124 Views
Hi All,

I'm looking for a tool to do as subject. I would usually use FTNCHEK or similar myself but this is for our scientific staff.

Looking for something that preferably integrates into CVF, but that isn't totally necessary. Otherwise, I would like a Windows applications where the user can point it at the source code to produce "nice" trees etc. that can then be imported into Word docs etc. for documentation purposes. I.e. has got to be easy to handle without messing about with command line tools etc.

They have a large project to update some serious numerical model code and documentation for the call tree is key to making this easier for them.

Any ideas, advice ?

Cheers

Ian
0 Kudos
7 Replies
Steven_L_Intel1
Employee
2,124 Views
Visual Fortran includes a "Source Browser" feature which can give you a call tree. (This is part of MS Developer Studio - the CVF compiler knows how to write the cross-reference data it uses.) The catch is that there's no way to save the tree other than by a screen capture of the window it appears in. Still, this may be sufficient for your needs.

Select Tools..Source Browser in Developer Studio. You'll get a box asking if you want to rebuild the project for source browsing, say yes. When it is done, you'll get a dialog box with a "case-sensitive" box checked. Uncheck it.

Now you can type in the name of the main program and select "Call graph". If your program is unnamed, use "main".

Steve
0 Kudos
iwatkins
Novice
2,124 Views
Hi Steve,

Thanks for that, to be totally honest, I'd forgotten that was there.

However, as you say, no export facility. Our guys have got something like 150 - 200 source files for this one project alone so scrolling, Alt + PrtScrn, PaintshopPro, repeat... will not suit them. :-)

To be fair, they probably actually need a proper tool for this, that can do more than just document a call tree.

I'll have a dig about and see if there are any commercial pacakges that would suit. Do Intel not do one ? :)

Anyway, how are things Steve ? It must be, what, four different companies now, but still on the same team ? Have you actually had to move desk at all ? Bet your CV looks good now "I've worked for a Fortran compiler team at Microsoft, Digital, Compaq and Intel" :-))

Cheers

Ian
0 Kudos
Steven_L_Intel1
Employee
2,124 Views
Just three companies - not Microsoft. Remember, CVF is based on Digital Fortran, not Microsoft. Indeed, I've been in the same office for fourteen years through three companies (and sort-of a fourth, as the building around me changes from Compaq to HP.)

Intel doesn't have a tool such as you want - it does have a very good performance analyzer, though!

Check out http://www.fortranlib.com/ and http://www.fortran.com/ for links to tools. Also, http://www.compaq.com/fortran/visual/companion.html

Steve
0 Kudos
iwatkins
Novice
2,124 Views
Hi Steve,

My error. I had it in my head that you were at MS when Powerstation 4.0 was in Beta, as I was on the Beta programme.

Thanks for the links, I'll have a good dig about and see what is out there.

Cheers

Ian
0 Kudos
tiborkibedi
Beginner
2,124 Views
Ian,

Try the Understand for FORTRAN product from STI http://www.scitools.com/uf.html

Tibor Kibedi
0 Kudos
durisinm
Novice
2,124 Views
Cobalt Blue (http://www.cobalt-blue.com/product.htm) offers a diagramming tool called FOR_STUDY.

Mike
0 Kudos
durisinm
Novice
2,124 Views
Another analysis tool is Forcheck (http://www.forcheck.nl/).

Mike
0 Kudos
Reply