Command and Shortcut for CMS

Git Instructions

Click here 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 : * GitTipsAndTricks.pdf</verbatim>

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:

For knowing meanings of exit codes please follow:

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>

-- PraveenChandraTiwari - 2017-09-08

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r7 - 2017-10-27 - PraveenChandraTiwari
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2023 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