clearer
 

CMS Command

  • voms cms config
    voms-proxy-init --voms cms
  • CMSSW make directory
     scram project -n ~~~ CMSSW CMSSW_X_Y_Z 
  • copy via xrootd
    xrdcp root://cmsxrootd.fnal.gov//store/foo/bar ./

Grid Certification

  • Grid Certification Verify : grid-proxy-init -debug -verify
  • In ~/.globus : the newest certificate is needed,
    openssl pkcs12 -in myCertificate-3.p12 -clcerts -nokeys -out usercert.pem
    openssl pkcs12 -in myCertificate-3.p12 -nocerts -out userkey.pem 

    Setting the each import password and PEM pass phrase be the same is recommended.

  • Change
    chmod 400 *.pem 

Auto resubmit

  • resubmit.sh
    #!/bin/sh
    cd /afs/cern.ch/work/g/gbak/private/test/rateEstimate/HICent_unpacker/CMSSW_10_3_0/src/
    source /cvmfs/cms.cern.ch/cmsset_default.sh
    cmsenv
    source /cvmfs/cms.cern.ch/crab3/crab.sh
    crab resubmit -d crab_projects/crab_Trigger_rate_HLT_MuonMenu_test_1025/
    DATE=`date +"%Y_%m_%d_%H_%M"`
    echo "$DATE resubmit is done."
  • resubmit max memory
    crab resubmit -d ~~~ --maxmemory NNNN 
  • acrontab -e : lxplus에서는 acrontab으로 실행
    */30 0-7 * * * lxplus030.cern.ch /afs/cern.ch/work/g/gbak/private/test/rateEstimate/HICent_unpacker/CMSSW_10_3_0/src/resubmit.sh >> /afs/cern.ch/work/g/gbak/private/test/rateEstimate/HICent_unpacker/CMSSW_10_3_0/src/acrontab.log 2>&1
kgpark/cms_command.txt · 마지막 수정: 2022/10/14 15:32 작성자 khpark
 
광주광역시 북구 용봉동 전남대학교 자연대 4호관 물리학과 319호 | Tel. +82-62-530-3484
Bld.4-319 Department of Physics, Chonnam National University, 77 Yongbong-ro, Buk-gu, Gwangju 500-757, KOREA
별도로 라이선스를 알리지 않을 경우, 이 위키의 내용은 다음의 라이선스에 따릅니다: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki