On Nov 13, 2007 4:08 PM, cs <[EMAIL PROTECTED]> wrote: > I was looking for a tool that would generate a graphical call graph (aka > SGI's old Speedshop tools) but couldn't find anything appropriate in > 'etch'. ie for a given Fortran code that has numerous subroutines I > wish to know what calls what (eg via gprof) but also to get a graphical > representation (without having to put it all manually into Xfig or the > like).
I'm not sure what the call graph output from gprof looks like, but you might be able to script something to convert it to dot's format. See the graphviz package. The format of the dot input file will look something like: digraph { foo -> bar; bar -> baz; } Doxygen will create small-scale call graphs for you, but it doesn't work with Fortran. -- Michael A. Marsh http://www.umiacs.umd.edu/~mmarsh http://mamarsh.blogspot.com http://36pints.blogspot.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]