TWiki> UCSDTier2 Web>FkwGettingStarted (revision 1)EditAttach

fkw's Getting Started with CMSSW page

Note that there are some README files in fkw's home directory in addition t the stuff here.

setting up the environment

source /code/osgcode/cmssoft/ CMSSW_1_5_4 source /code/osgcode/cmssoft/cms/setup/bashrc export SCRAM_ARCH=slc4_ia32_gcc345 export VDT_LOCATION=/data/vdt export EDG_WL_LOCATION=$VDT_LOCATION/edg source /data/vdt/

Getting a proxy

voms-proxy-init -voms cms -valid 500:00

Getting and installing a new version of CRAB

Go to Matt L.'s page via link above.

Creating a CMSSW project

You must have setup your environment first !!!

mkdir CMSSW_1_5_4 cd CMSSW_1_5_4 scramv1 project CMSSW CMSSW_1_5_4

Setup the scram environment for compilation/runtime

You must have created the CMSSW project within which you want to compile or run.

cd CMSSW_1_5_4/src eval `scramv1 runtime -sh`

Checking out S&T code

You must check out this code into the src directory of your CMSSW project

cd CMSSW_1_5_4/src export cvs login 98passwd cvs co -d CMS1 UserCode? /Gutsche/CMS1

Compiling the S&T code

You must have setup the scram environment for compilation first.

cd CMSSW_1_5_4/src/CMS1 ./Configuration/ CMSSW_1_5_4

Running the Ntuplemaker on uaf

You must have compiled the S&T code and setup the scram environment for compilation/runtime. I created a wgamma-uaf.cfg file based on info from Matt N. This is in /home/users/fkw/CMS/crab/CMSSW_1_5_4/CMS1/NtupleMaker/test/

cd CMSSW_1_5_4/src/CMS1 cmsRun NtupleMaker? /test/wgamma-uaf.cfg

Running NtupleMaker? via crab

You must have done your runtime setup of cmssw, as well as the crab installation.

cd ~fkw/CMS/crab export X509_USER_PROXY=/tmp/x509up_u`id -u` source CRAB_1_5_4/

Then edit the file "files" to include whatever datasets you want to analyze.


This will do as follows:

  • loop through the entries in "files"
  • create a directory for each
  • cd into it and combine crab1.cfg with crab2.cfg, inserting the dataset in the middle.
  • crab -create
  • crab -submit

Observed failures:

  • you forgot to export X509_USER_PROXY as described above
  • the dataset can not be found in DBS yet. We find that it takes a few hours after the dataset is recognized by CRAB as having arrived, and before it is available in DBS.

-- FkW - 04 Oct 2007

Edit | Attach | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2007/10/04 - 19:51:02 - FkW
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback