From T3_KR_KNU
Line 1: | Line 1: | ||
− | == ''' | + | == '''How to use Tier2 at KNU''' == |
− | * | + | * Introduction |
** [[Getting_Account|Getting Account]] | ** [[Getting_Account|Getting Account]] | ||
** [[DOE_Certificate|DOE Certificate]] | ** [[DOE_Certificate|DOE Certificate]] | ||
Line 29: | Line 29: | ||
ssh -X username@cms01.knu.ac.kr(username@cms03.knu.ac.kr, username@cms04.knu.ac.kr) | ssh -X username@cms01.knu.ac.kr(username@cms03.knu.ac.kr, username@cms04.knu.ac.kr) | ||
− | == | + | == CMSSW Installation == |
bash | bash | ||
export VO_CMS_SW_DIR=<installation-directory> | export VO_CMS_SW_DIR=<installation-directory> |
Revision as of 01:02, 1 June 2009
Contents
How to use Tier2 at KNU
- Introduction
Getting Account
http://t2-cms.knu.ac.kr/ 에서 KNU Account Registration 을 클릭한 후 신청서 양식을 작성하여 등록한다.
DOE Certificate
CMS User Registration
SiteDB Registration
KNU Tier 2 Login
모든 등록 절차가 끝났다면 KNU Tier2 에 로그인한다. ssh -X username@cms01.knu.ac.kr(username@cms03.knu.ac.kr, username@cms04.knu.ac.kr)
CMSSW Installation
bash export VO_CMS_SW_DIR=<installation-directory> tcsh setenv VO_CMS_SW_DIR <installation-directory>
source $VO_CMS_SW_DIR/cmsset_default.sh cd <working-directory> scramv1 project CMSSW CMSSW_x_y_z
CRAB Installation
https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideCrab#CRAB_on_line_manual_and_tutorial 위 사이트로 가서 'how to get crab' 을 클릭한 후 가장 최신 버전의 CRAB tar ball file 을 <working-directory> 로 다운로드하여 설치한다.
cd <working-directory> tar vfx CRAB_x_y_z.tgz cd <working-directory>/CRAB_x_y_z ./configure
Setting Environment
setenv VO_CMS_SW_DIR <installation-directory(=/opt/exp_soft/cms)> source $VO_CMS_SW_DIR/cmsset_default.sh CMSSW env must set under the CMSSW_x_y_z directory cd CMSSW_x_y_z cmsenv (= eval `scramv1 runtime -csh`)
CRAB env source <working-directory>/CRAB_x_y_z/crab.csh
Starting GRID Job Submission
Copy CRAB_x_y_z/python/crab.cfg and <analysis file(***.py)> into <working-directory>/CMSSW_x_y_z/src/
File edidting Check that an input file name (***.py) must be same as a file name in crab.cfg. 'Names' of input file and output file in crab.cfg and ***.py must be same. '# of events' must be same. Grid initialization grid-proxy-init Crab commands ex) Crab -create -submit Crab -status Crab -getoutput