Privacy and Security Notice
Archived Messages for EGN_CALCOM_1996@cebaf.gov: Re: How do I create a call tree for a program...
Re: How do I create a call tree for a program...
James Muguira (muguira@CEBAF.GOV)
Mon, 11 Nov 1996 14:38:05 -0500
James Muguira wrote:
>
> Jerry Gilfoyle asked how to make a call tree from fortran source code
> the other day. I remembered reading that this could be done from one of
> the sun tools.
>
> I found the tool but ...
>
> This is all I can get out of it (notice that the code fails on one of
> our include files - bcs.inc - I don't see why - think this is valid
> fortran)...
>
> /home/muguira/junk/shit/recsis/recsis/sunosf77.plt % make
> f77 -c -e -ftrap=no%inexact,no%underflow
> -I/apps/clas/u1/clsrc/recsis/include
> -I/apps/clas/u1/clsrc/recsis/ec.lib/s
> -I/apps/clas/u1/clsrc/recsis/trk.lib/s1
> -I/apps/clas/u1/clsrc/recsis/trk.lib/s2
> -I/apps/clas/u1/clsrc/recsis/dc.lib/s
> -I/apps/clas/u1/clsrc/recsis/sc.lib/s
> -I/apps/clas/u1/clsrc/recsis/cc.lib/s
> -I/apps/clas/u1/clsrc/recsis/lac.lib/s -I/apps/clas/u1/cmobj/share -g
> -e -C -sb ../s/recsis.F
> /tmp/cpp.20242.0.f:
> MAIN recsis:
> "../s/recsis.F", line 73: Warning: local variable "james" never used
> "../s/recsis.F", line 74: Warning: local variable "ieee_handler" never
> used
> never_gets_called:
> common_handler:
> "../s/recsis.F", line 110: Warning: local variable "sig" never used
> f77 -c -e -ftrap=no%inexact,no%underflow
> -I/apps/clas/u1/clsrc/recsis/include
> -I/apps/clas/u1/clsrc/recsis/ec.lib/s
> -I/apps/clas/u1/clsrc/recsis/trk.lib/s1
> -I/apps/clas/u1/clsrc/recsis/trk.lib/s2
> -I/apps/clas/u1/clsrc/recsis/dc.lib/s
> -I/apps/clas/u1/clsrc/recsis/sc.lib/s
> -I/apps/clas/u1/clsrc/recsis/cc.lib/s
> -I/apps/clas/u1/clsrc/recsis/lac.lib/s -I/apps/clas/u1/cmobj/share -g
> -e -C -sb ../../recutl.lib/s/bnkdmp.F
> /tmp/cpp.20245.0.f:
> bnkdmp:
>
> "/apps/clas/u1/cmobj/share/bcs.inc", line 66: compiler error:
> Segmentation Fault
> make: *** [bnkdmp.o] Error 3
>
> bummer dude!
>
> The tool I'm trying to use is called source browser. I will do a lot for
> us - if we could get it working on our code. I'm giving up yet - there
> are other parts (that don't do as much) I'll try before I write it off
> to "physics code".
>
> JAM
Ok,
I give our code will not pass through the tool the creates the needed
data base to use source browser.
YAFPPC !
JAM