Using the CAF for Calibration and Alignment

Complete: 1

Much of this is copied from Luca Malgeri's very useful online workbook pages, or based on advice from Frederic Ronga. (No warranty whatsoever on Castor technical matters.)

Please consult also the official CAF pages.

Accounts

In order to run on the CAF you need to have a CERN account and an authorization from your AlCa group responsible. Every registered user belongs to a LSF-CAF group and she/he will share the resources of this group.

The present structure of AlCa CAF groups and their responsibles is given in the following table:

Tracker alignment Martin Weber Martin.Weber@cernNOSPAMPLEASE.ch
Muon system alignment Yuriy Pakhotin Yuriy.Pakhotin@cernNOSPAMPLEASE.ch
ECAL calibration Riccardo Paramatti Riccardo.Paramatti@cernNOSPAMPLEASE.ch
HCAL calibration Olga Kodolova Olga.Kodolova@cernNOSPAMPLEASE.ch
Tracker calibration Freya Blekman Freya.Blekman@cernNOSPAMPLEASE.ch
Muon calibration Silvia Maselli maselli@toNOSPAMPLEASE.infn.it
AlCa team AlCa Conveners  
AlCa Express AlCa Conveners  
MillePede Martin Weber Martin.Weber@cernNOSPAMPLEASE.ch

Note: "AlCa Express" and "MillePede" are functional groups; they are used to steer access to special resources (e.g. exclusive use of large memory servers for MillePede). Users within these functional groups must also belong to one of the "home" groups (=the first seven groups listed in the table).

How to obtain CAF permission for alignment and calibration

If you think you need to use the CAF for official alignment or calibration work, please do the following:

  • Check with the person responsible for your specific CAF group, as listed in the table above.

  • If the CAF group responsible agrees, send an email with your CAF permission request to the AlCa conveners, with CC to your CAF group responsible. This email should also contain a short description of the work you need to do at the CAF (1-2 sentences), as well as your lxplus userid .

Batch queues

The CAF LSF system has full access to AFS and CASTOR areas. In order to submit jobs on the CAF you can use the standard bsub command from lxplus or from interactive CAF:

bsub -q cmscaf

Submission to the dedicated millepede server is possible (with appropriate privilege) via:

bsub -q cmscaf -R cmscafspec

Submission to the AlCa express queue is possible (with appropriate privilege) via:

bsub -q cmsexpress

Interactive usage

To login interactively on the CAF you can use the following commands (/bin/bash can be replaced by your favorite shell):

bsub -Is -q cmsinter /bin/bash -l

or

bsub -Is -q cmsinter xterm

As some web fonts differentiate some letters badly, note that the first letter in -Is is an I (eye) not an l (ell), as in "Interactive".

Castor access

Controlled work on alignment and calibration work should be using the cmscaf pool to store mass data (in accordance with AlCa policies).

For this you need to follow the instructions on the CAF setup page.

How to find out if your file resides on CMSCAFUSER

stager_qry -S cmscafuser -M filename

(where filename is /castor/cern.ch/...).

How to find out whether your file resides on disk

stager_qry -M filename

  • if your file resides on disk, you will get a message like "filename fileid STAGED"
  • if your file is in process of being staged, or being copied from another disk pool, you get "filename fileid STAGEIN"
  • if your file is on tape you may get an error message

Where to find a list of all files on cmscaf pool

https://castor.web.cern.ch/castor/DiskPoolDump/cms.cmscaf.last.gz

How to determine total size of all files in CAF pool

wget https://castor.web.cern.ch/castor/DiskPoolDump/cms.cmscaf.last.gz

gzcat cms.cmscaf.last.gz | awk 'SUM+=$4 {printf("%f\n",SUM/1.e12)}' |tail -1

How to determine total used size in CAF pool in a specific directory

gzcat cms.cmscaf.last.gz | grep /castor/cern.ch/cms/store/trkalign | awk 'SUM+=$4 {printf("%f\n",SUM/1.e9)}'|tail -1

Castor Links

Castor home page

-- RainerMankel - 14 Mar 2008

-- Last update: RainerMankel - 06 Aug 2008

Edit | Attach | Watch | Print version | History: r16 < r15 < r14 < r13 < r12 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r16 - 2011-07-19 - StefanoArgiro
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CMSPublic All webs login

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