TWiki> LHCb Web>LHCbComputing>BKDev>BkkClient (revision 3)EditAttachPDF

Bookkeeping Client documentation

The new Bookkeeping implemented inside DIRAC3. BKK clinet provide a following methods:
  • getProductionInformation: Input: Production number
    Output: number of jobs, number of files(sim,digi,dst..), ConfigName and version, eventtypeid, processing pass (step0,step1...) Number of events.
  • getSizeOfFiles Input:Production number
    Output:Size of production *exists Input: lfn list
    output:dictionary: keys lfns, valueTrue or False
  • getFileMetadata input: lfn lisr
    output: dictionary: keys:lfn, value:metadata
  • getReverseAncestors input: lfns,depth
    output: dictionary: keys:lfn, value:ancestors
  • getLFNsByProduction input:production number
    output: lfns list
  • getProductions input: configName, configVersion, eventTypeId
    output: productions

New XML schemas:

Offline:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Job SYSTEM "book.dtd">
<Job ConfigName="MC" ConfigVersion="2008" Date="2008-07-29" Time="11:09">
  <TypedParameter Name="Production" Value="00000037" Type="Info"/>
  <TypedParameter Name="Name" Value="zoli" Type="Info"/>
  <TypedParameter Name="Location" Value="LCG.TCD.ie" Type="Info"/>
  <TypedParameter Name="WorkerNode" Value="wn047.grid.cs.tcd.ie" Type="Info"/>
  <TypedParameter Name="ProgramName" Value="Gauss" Type="Info"/>
  <TypedParameter Name="ProgramVersion" Value="v26r0" Type="Info"/>
  <TypedParameter Name="DiracVersion" Value="0 3 2" Type="Info"/>
  <TypedParameter Name="StatisticsRequested" Value="500" Type="Info"/>
  <TypedParameter Name="NumberOfEvents" Value="500" Type="Info"/>
  <TypedParameter Name="DiracJobId"     Value="5243" Type="Info"/>
  <TypedParameter Name="EventInputStat" Value="34" Type="Info"/>
  <TypedParameter Name="ExecTime" Value="3.1" Type="Info"/>
  <TypedParameter Name="FirstEventNumber" Value="1" Type="Info"/>
  <TypedParameter Name="Generator"        Value="generator program name" Type="Info"/>
  <TypedParameter Name="GeometryVersion" Value="v30r14" Type="Info"/>
  <TypedParameter Name="GridJobId"       Value="string" Type="Info"/>
  <TypedParameter Name="JobStart"        Value="17-JUL-08 03.29" Type="Info"/>
  <TypedParameter Name="JobEnd"          Value="18-JUL-08 04.29" Type="Info"/>
  <TypedParameter Name="LocalJobId"      Value="269133.ce0003.m45.ihep.su"  Type="Info"/>
  <TypedParameter Name="WNCPUPower"      Value="2660.887"  Type="Info"/>
  <TypedParameter Name="WNCPUTime"       Value="18373.57"  Type="Info"/>
  <TypedParameter Name="WNCache"          Value="4096KB" Type="Info"/>
  <TypedParameter Name="WNMemory"        Value="901596kB" Type="Info"/>
  <TypedParameter Name="WNModel"          Value="Intel(R)Xeon(R)CPU5150@2.66GHz" Type="Info"/>
  <Quality Group="Production Manager" Flag="Not Checked"/>
  <OutputFile   Name="/lhcb/production/DC06/phys-v4-lumi2/00000037/SIM/0001/00000037_00014zoli_1.sim" TypeName="SIM" TypeVersion="1">
     <Replica Name="http://lhcb-logs.cern.ch/storage/lhcb/production/DC06/LOG/00000037/0001/00014771/" Location="Web"/>
    <Parameter  Name="EventTypeId"     Value="13144003"/>
    <Parameter  Name="EventStat"     Value="498"/>
    <Parameter  Name="FileSize"     Value="388052388"/>
    <Parameter  Name="MD5Sum"     Value="6182b27a8df3f9236d010e965c084320"/>
    <Parameter  Name="Guid"     Value="AA8BFD89-245D-DD11-95EF-0019B9F40F9C"/>
    <Parameter  Name="CreationDate" Value="19-JUL-08 04.29"/>
     <Parameter  Name="Adler32" Value="string"/>
  </OutputFile>
  <OutputFile   Name="/lhcb/production/DC06/phys-v4-lumi2/00000037/LOG/0001/Gauss_00000037_00014zoli_1.log" TypeName="LOG" TypeVersion="1">
     <Replica Name="http://lhcb-logs.cern.ch/storage/lhcb/production/DC06/LOG/00000037/0001/00014771/" Location="Web"/>
    <Parameter  Name="MD5Sum"     Value="7f379602a5c9e91f0d65c91a0ae318fe"/>
    <Parameter  Name="Guid"     Value="7F379602-A5C9-E91F-0D65-C91A0AE318FE"/>
  </OutputFile>
<SimulationCondition>
  <Parameter Name="SimDescription"   Value="DC06 simulation 2 10**32"/>
</SimulationCondition>
</Job>

Online:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Job SYSTEM "book.dtd">
<Job ConfigName="LHCb" ConfigVersion="Physics" Date="2008-07-29" Time="11:09">
  <TypedParameter Name="Production" Value="12" Type="Info"/>
  <TypedParameter Name="Name" Value="28934" Type="Info"/>
  <TypedParameter Name="Location" Value="LHCb Online" Type="Info"/>
  <TypedParameter Name="ProgramName" Value="Moore" Type="Info"/>
  <TypedParameter Name="ProgramVersion" Value="v1r0" Type="Info"/>
  <TypedParameter Name="NumberOfEvents" Value="500321" Type="Info"/>
  <TypedParameter Name="ExecTime" Value="90000.0" Type="Info"/>
  <TypedParameter Name="JobStart"        Value="17-JUL-08 03.29" Type="Info"/>
  <TypedParameter Name="JobEnd"          Value="18-JUL-08 04.29" Type="Info"/>
  <Quality Group="Production Manager" Flag="Not Checked"/>
  <OutputFile Name="/lhcb/data/CCRC08/RAW/LHCb/CCRC/28934/028934_0000064846.raw" TypeName="RAW" TypeVersion="1">
   <Parameter Name="MD5Sum" Value="24F71879BA006B91FB8ADC529ACB7CC6"/>
   <Parameter Name="EventTypeId" Value="30000000"/>
   <Parameter Name="EventStat" Value="9000"/>
   <Parameter Name="FileSize" Value="1640316586"/>
   <Parameter Name="Guid" Value="3cc1b6fe-63c8-11dd-852f-00188b8565aa"/>
 </OutputFile>
<DataTakingConditions>
  <Parameter Name="BeamCond"   Value="Collisions"/>
  <Parameter Name="BeamEnergy" Value="7.0 Tev"/>
  <Parameter Name="MagneticField" Value="-100%"/>
  <Parameter Name="VELO"          Value="string"/>
  <Parameter Name="IT"          Value="string"/>
  <Parameter Name="TT"          Value="string"/>
  <Parameter Name="OT"          Value="string"/>
  <Parameter Name="RICH1"          Value="string"/>
  <Parameter Name="RICH2"          Value="string"/>
  <Parameter Name="SPD_PRS"          Value="string"/>
  <Parameter Name="ECAL"          Value="string"/>
  <Parameter Name="HCAL"          Value="string"/>
  <Parameter Name="MUON"          Value="string"/>
  <Parameter Name="L0"          Value="string"/>
  <Parameter Name="HLT"          Value="string"/>
</DataTakingConditions>
</Job>

-- ZoltanMathe - 28 Jul 2008
Edit | Attach | Watch | Print version | History: r9 | r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 2008-08-08 - ZoltanMathe
 
    • 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