From T3_KR_KNU
Jump to: navigation, search
Line 1: Line 1:
== '''[[How_to_use_Tier2_at_KNU|How to use Tier2 at KNU]]''' ==
+
== '''[[How to use Tier2 at KNU]]''' ==
 
* [[Introduction|Introduction]]
 
* [[Introduction|Introduction]]
 
** [[Getting_Account|Getting Account]]
 
** [[Getting_Account|Getting Account]]
Line 12: Line 12:
  
 
== Getting Account ==
 
== Getting Account ==
* [[DOE_Certificate|DOE Certificate]]
+
http://t2-cms.knu.ac.kr/ 에서 KNU Account Registration 을 클릭한 후
 +
신청서 양식을 작성하여 등록한다.
  
 
== DOE Certificate ==
 
== DOE Certificate ==
* [[Simple_Job_Submission|Simple Job submission]]
+
* [[DOE_Certificate|DOE Certificate]]
  
 
== CMS User Registration ==
 
== CMS User Registration ==
 +
* [[CMS_User_Registration|CMS User Registration]]
  
== SiteDB registration ==
+
== SiteDB Registration ==
 +
* [[SiteDB_Registration|SiteDB Registration]]
  
 
== KNU Tier 2 Login ==
 
== KNU Tier 2 Login ==
 +
모든 등록 절차가 끝났다면 KNU Tier2 에 로그인한다.
 +
 +
ssh -X username@cms01.knu.ac.kr(username@cms03.knu.ac.kr, username@cms04.knu.ac.kr)
  
 
== CMS Installation ==
 
== CMS Installation ==
Line 35: Line 41:
 
== CRAB Installation ==
 
== CRAB Installation ==
 
  https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideCrab#CRAB_on_line_manual_and_tutorial
 
  https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideCrab#CRAB_on_line_manual_and_tutorial
  'how to get crab' - get latest CRAB tar ball file to <working-directory>
+
  위 사이트로 가서 'how to get crab' 을 클릭한 후 가장 최신 버전의 CRAB tar ball file <working-directory>
 +
로 다운로드하여 설치한다.
  
 
  cd <working-directory>
 
  cd <working-directory>

Revision as of 00:58, 1 June 2009

How to use Tier2 at KNU

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)

CMS 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 

Wiki Getting started