Friday, August 20, 2004

Starting from scratch

I want to do some JetMet analysis. To this end I'm going to check out from CVS the JetMet code and try and run their example jobs on lxplus.
Lets see how it goes (sort of following this):

  1. scram project ORCA ORCA_8_3_0
  2. cd ORCA_8_3_0 /src
  3. eval `scram runtime -csh`
  4. cmscvsroot ORCA
  5. cvs login
  6. cvs co -r ORCA_8_3_0 JetMetAnalysis

That sets up the workspace and gets all the relevant files....

Now to try and build some executables, and maybe even a root tree!

  1. cd JetMetAnalysis/JetMetTest/test
  2. scram b shared > JetMetTest_scram_b_shared.log & (to store it for posterity)
  3. scram b bin > JetMetTest_scram_b_bin.log &
  4. eval `scram runtime -csh`
  5. rehash
Now to run an exe:
  1. JetMetTest (to run the exe - this will probably fail as I have no .orcarc set up)
  2. Failed with a seg fault - no data to run on time to set the orcarc
  3. vi .orcarc and enter the following:

    PoolCatalogFile = @{xmlcatalog_http://cmsdoc.cern.ch/orca/catalog/PoolFileCatalog_8_3_0.xml}@
    InputCollections=/System/StW830DST2x1033/jets50100/jets50100
    MaxEvents=10
  4. JetMetTest > JetMetTest.log &
  5. Takes a while....
  6. ...but it is doing something...
  7. ...and then it fails:
Try with a different exe JetMetSmallTest:
  1. JetMetSmallTest > JetMetSmallTest.log
  2. runs and doesn't crash, but produces no output

No comments: