Call Tree Diagram Tool ?

Call Tree Diagram Tool ?

Bild des Benutzers iwatkins

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

8 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.
Bild des Benutzers Steve Lionel (Intel)

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

Steve
Bild des Benutzers iwatkins

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

Bild des Benutzers Steve Lionel (Intel)

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

Steve
Bild des Benutzers iwatkins

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

Bild des Benutzers tiborkibedi

Ian,

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

Tibor Kibedi

Bild des Benutzers durisinm

Cobalt Blue (http://www.cobalt-blue.com/product.htm) offers a diagramming tool called FOR_STUDY.

Mike

Bild des Benutzers durisinm

Another analysis tool is Forcheck (http://www.forcheck.nl/).

Mike

Melden Sie sich an, um einen Kommentar zu hinterlassen.