Env @ lxplus

scram list | grep CMSSW_4_4_4

ssh lxplus5.cern.ch

old: export SCRAM_ARCH=slc5_ia32_gcc434

cmsrel CMSSW_4_4_4

= scram project CMSSW CMSSW_4_4_4

cd CMSSW_4_4_4/src


= eval `scram runtime -sh`

ROOT lib:




Access data:

rfdir /castor/cern.ch/user/h/heli

rfmkdir ...

rfcp ..

TFile *f = TFile::Open("rfio:/castor/cern.ch/user/initial/username/myFile.root")

add the following to the
.cfg file
source = PoolSource{ untracked vstring fileNames = {'rfio:/castor/cern.ch/user/initial/username/inputFile.root'} }

and the CASTOR web page for further information.

get files from web:


command line query:

das_client.py --query='file dataset=/DYJetsToLL_M-50_TuneZ2Star_8TeV-madgraph-tarball/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM' --limit=20

Tool for downloading data:

Need grid cert at first:

glite-voms-proxy-init --voms cms

edmCopyPickMerge inputFiles=/store/mc/Summer12_DR53X/DYJetsToLL_M-50_TuneZ2Star_8TeV-madgraph-tarball/AODSIM/PU_S10_START53_V7A-v1/0002/FEF4E41A-46D4-E111-9594-0025B3E06424.root outputFile=outputfile.root

Batch @ CERN: CAF:

You submit the job in the same way as that for smaller jobs.

bsub -q 1nd -J job1 < runMyjob.(c)sh

It is also possible to request a minimum amount of space in /pool/lsf/username/jobnumber using the -R option, for example to request a minimum of 30GB type

bsub -R "pool>30000" -q 1nd -J job1 < runMyjob.(c)sh

See the lxbatch introduction pages:


Instructions on how to create a user code area can be found here UserCode/README :


setup CVS separately:

export CVSROOT=:gserver:cmssw.cvs.cern.ch:/local/reps/CMSSW

cvs co -r HEAD PhysicsTools/PatAlgos

cvs co -r V08-07-39 PhysicsTools/PatAlgos

You can also do

addpkg PhysicsTools/PatAlgos HEAD

addpkg PhysicsTools/PatAlgos V08-07-39

If you want to query later which version you of a package you have checked out, do, for example:

addpkg -q PhysicsTools/PatAlgos

If you want to see the version of all the packages you have in your CMSSW_4_4_4/src directory, do

showtags -q

Edit | Attach | Watch | Print version | History: r6 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2013-05-24 - unknown
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback