---+ 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 cmsenv = eval `scram runtime -sh` ---++ ROOT lib: { gSystem->Load("libFWCoreFWLite.so"); <br />AutoLibraryLoader::enable(); } ---++ 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<br />.cfg file<br />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: https://cmsweb.cern.ch/filemover/ 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 *%MAROON%Tool for downloading data:%ENDCOLOR%* 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. <br />bsub -q 1nd -J job1 < runMyjob.(c)sh <br />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 <br />bsub -R "pool>30000" -q 1nd -J job1 < runMyjob.(c)sh See the __lxbatch__ introduction pages: http://batch.web.cern.ch/batch/doc/quick-intro.html Instructions on how to create a user code area can be found here UserCode/README : http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/UserCode/README?view=log 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 <br /><br />If you want to see the version of all the packages you have in your CMSSW_4_4_4/src directory, do showtags -q
This topic: Sandbox
>
WebPreferences
>
RandomEntries
Topic revision: r2 - 2013-05-24 - HengneLiUVa
Copyright &© 2008-2022 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