Links

Content Skeleton

This Page

Previous topic

History

Next topic

profiling

OPW

Standard Usage

  1. Generate no-argument script and output directory with opw-;opw-sim
  2. Run the script python opw-sim.py

Checkout what the script is upto:

fenv
gdb `which python` `pgrep -f opw-sim.py`

With Chroma Stack Action

TODO: Make this have fewer steps

  1. Generate no-argument script and output directory with opw-;opw-sim

  2. edit script adding –chroma option

  3. Build csa-

    csa-
    csa-nuwapkg-diff
    csa-nuwapkg-cpto
    csa-nuwapkg-make
    
    #
    csa-nuwapkg-cd cmt
    cmt config
    . setup.sh
  4. Run the edited script python opw-sim.py

FUNCTIONS

opw-get
checkout my people copy of Davids OPW
opw-gen-muons

10k muon vectors took ~6 seconds to generate, the sample is reproducible

[blyth@belle7 OPW]$ diff  tenthousandmuons tenthousandmuons.1
[blyth@belle7 OPW]$
opw-prof
Profile running using Google perftools http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html
opw-sim
Create output directory structure and generate no argument opw-sim.py script into it