Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Monitor All Called Subroutines

  1. Jan 22, 2009 #1

    minger

    User Avatar
    Science Advisor

    Hey guys, I have a little problem with a code that I work with. The code is a full CFD solver written in Fortran 90. I need to make a change to a variable that gets passed all over the place. Basically its allocated to say N³, but at some point a routines operates on it thinking that it's only (N-x)³, so when it goes back to the original size, the data is essentially "shifted" to the lower indices.

    Is there any way that I can track the calls that the program makes as it runs? I tried running gprof, but it doesn't seem to get everything. Furthermore it seems to be made more for optimization that tracking anyways.

    This would really help a lot, thanks.
     
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you help with the solution or looking for help too?
Draft saved Draft deleted



Similar Discussions: Monitor All Called Subroutines
Loading...