Difference between revisions of "CodeDepencyGraph"

From Mu2eWiki
Jump to navigation Jump to search
(Created page with "<ol> <li>Clean checkout</li> git clone ssh://p-mu2eofflinesoftwaremu2eoffline@cdcvs.fnal.gov/cvs/projects/mu2eofflinesoftwaremu2eoffline/Offline.git <li>Remove files that u...")
 
Line 1: Line 1:
 +
 +
Instructions to make the code dependency graph on computing division machine woof.
 +
 
<ol>
 
<ol>
 
  <li>Clean checkout</li>
 
  <li>Clean checkout</li>

Revision as of 15:53, 22 October 2018

Instructions to make the code dependency graph on computing division machine woof.

  1. Clean checkout
  2. git clone ssh://p-mu2eofflinesoftwaremu2eoffline@cdcvs.fnal.gov/cvs/projects/mu2eofflinesoftwaremu2eoffline/Offline.git
  3. Remove files that unnecessarily complicate the picture.
  4. # Once upon a time I checked that everything would build if we source ~kutschke/LinkLoops/trim.sh
  5. Create the file that contains the dependency pairs
  6. cd Offline time /home/greenc/work/cet-is/sources/cetbuildtools/bin/code-dep-graph -v -o ../trimmed.dot >& ../trimmed.log
  7. Transitive reduction and create graph
  8. # This step issues a warning if 1 or more loops exist. # The loop is neither complete nor super informative tred trimmed.dot | dot -Tpng -o trimmed.png
  9. Create graph without transitive reduction - impossible to read
  10. dot trimmed.dot -Tpng -o trimmed_notred.png