Command and Shortcut for CMS

Git Instructions

<a href="ASmallGitCMSSWTutorial" class="TMLlink" data-mce-href="ASmallGitCMSSWTutorial">Click here </a> for CMS Twiki Links for GitHub

Some useful commands:

## To clone the git repository
git clone .git

## To check which branch and to go to that branch
git branch # to see which  branch you are in
git checkout branch # to go a branch
git checkout -b branch  # to create a branch

## to fetch a branch on someone else's fork on GitHub
git remote add theirusername
git fetch theirusername
git checkout -b mynamefortheirbranch theirusername/theirbranch

For more Tips and Tricks on git : * <a href="" class="TMLlink" data-mce-href=""> GitTipsAndTricks.pdf</

Tricks for CMSSW

## To expand the python code


For viewing the crab job status via web please follow:

For understanding of crab configuration file please follow:<a href="CMSPublic.CRAB3ConfigurationFile" rel="nofollow" target="_blank"></a>

For knowing meanings of exit codes please follow: <a href="CMSPublic.JobExitCodes" rel="nofollow" target="_blank"></a>

TIFR tier 2

##For looking at tier 2 location of crab output:
rfdir /dpm/< folder name>

##Listing of directories:
xrdfs ls -l -u //dpm/<username>/<your full directory>
##T2_IN_TIFR for stage out from CRAB. Here the things one can do:
# Login to T2_IN_TIFR from lxplus:
*xrd <>*
# Outputs directory:
# Copy any file from T2_IN_TIFR to lxplus:
*xrdcp -R root://<>;/afs/<>*
## To view file/directory in your TIFR T2 rfdir /dpm/<username>/<directory>
## To remove file/directory in your TIFR T2 rfrm -rf /dpm/<username>/<directory>
## To use your root file from TIFR T2 in lxplus or any other machine with CMSSW root://<username>/<directory>/<filename>
## To check disk quota in your TIFR T2 /opt/lcg/bin/dpns-du /dpm/<username>

-- <a href="Main.PraveenChandraTiwari" data-wikiword="Main.PraveenChandraTiwari" data-mce-href="Main.PraveenChandraTiwari"> PraveenChandraTiwari </a> - 2017-09-08

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2017-10-27 - PraveenChandraTiwari
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback