From T3_KR_KNU
(→'''How to use LCG?''') |
|||
| Line 1: | Line 1: | ||
| − | == '''[[ | + | == '''[[How_to_use_Tier2_at_KNU|How to use Tier2 at KNU]]''' == |
* [[Introduction|Introduction]] | * [[Introduction|Introduction]] | ||
| − | * [[Getting_Account|Getting Account]] | + | ** [[Getting_Account|Getting Account]] |
| − | * [[DOE_Certificate|DOE Certificate]] | + | ** [[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_Tier_2_Login|KNU Tier 2 Login]] |
| − | * [[CMSSW_Installation|CMSSW Installation]] | + | ** [[CMSSW_Installation|CMSSW Installation]] |
| − | * [[CRAB_Installation|CRAB Installation]] | + | ** [[CRAB_Installation|CRAB Installation]] |
| − | * [[Setting_Environment|Setting Environment]] | + | ** [[Setting_Environment|Setting Environment]] |
| − | * [[Starting_GRID_Job_Submission|Starting GRID Job Submission]] | + | ** [[Starting_GRID_Job_Submission|Starting GRID Job Submission]] |
| − | == Getting | + | == Getting Account == |
* [[DOE_Certificate|DOE Certificate]] | * [[DOE_Certificate|DOE Certificate]] | ||
| − | == | + | == DOE Certificate == |
* [[Simple_Job_Submission|Simple Job submission]] | * [[Simple_Job_Submission|Simple Job submission]] | ||
| + | == CMS User Registration == | ||
| + | |||
| + | == SiteDB registration == | ||
| + | |||
| + | == KNU Tier 2 Login == | ||
| + | |||
| + | == 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' - get latest CRAB tar ball file to <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/<data directory> | ||
| + | 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 == | == Wiki Getting started == | ||
Revision as of 00:45, 1 June 2009
Contents
How to use Tier2 at KNU
Getting Account
DOE Certificate
CMS User Registration
SiteDB registration
KNU Tier 2 Login
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' - get latest CRAB tar ball file to <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