TWiki> LHCb Web>LHCbComputing>ClosingProcedure (revision 1)EditAttachPDF
-- MarcoCorvo - 2016-10-07

Before closing an official production (Reco, Stripping, Turbo or TurCal) some checks are needed to be performed in advance. A production can show files in different statuses, the most important being:

These files can be checked using the command

dirac-transformation-debug <prodID> --Status <status> --Info <files|jobs|flush>  

The LHCbDirac command to be used is

dirac-production-check-descendants <prodID>

These are the steps to perform when closing a production with final Merging steps (Stripping or Turbo). Given that <prod1> is the Stripping/Turbo and <prod2> the Merging:

dirac-bookkeeping-get-files —Prod <prod1> —Visibility No | dirac-production-check-descendants <prod2>

This would verify if the non-merged files still in the BK have been merged or not. But this is not enough, as we know we may also have files that are in the FC and not in the BK. This is not enough as there could be files in the FC but not in the BK which are not picked up by the previous command. To solve this there's another useful command (will be released soon, not yet available with the current LHCbDirac release v8r3p7):

dirac-loop TurboFileTypes.txt 'dirac-dms-list-directory /lhcb/LHCb/Collision16/@arg@/000<prod1> | grep mdst | dirac-production-check-descendants <prod2>' | dirac-bookkeeping-get-file-descendants

this currently works for Turbo and should be adapted for Stripping.

This command can be followed by a final

dirac-dms-check-fc2bkk —Last 

in case some files are not in the BK.

Edit | Attach | Watch | Print version | History: r6 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2016-10-07 - MarcoCorvo
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback