User:Spieker

From KIP Wiki
Revision as of 09:33, 17 May 2017 by Spieker (talk | contribs) (Created page with "= Useful Commands = == Analysis == pkgco.py -r <PACKAGE NAME> pkgco.py -s <PACKAGE NAME> # just show currently used package version cmt co -r MyPackage-00-00-01 Path/To...")
(diff) ↠Older revision | Latest revision (diff) | Newer revision → (diff)
⧼kip-jumptonavigation⧽⧼kip-jumptosearch⧽

Useful Commands

Analysis

pkgco.py -r <PACKAGE NAME>
pkgco.py -s <PACKAGE NAME>   # just show currently used package version
cmt co -r MyPackage-00-00-01 Path/To/MyPackage
showVersions athena | grep AthAnalysisBase
python /afs/cern.ch/work/w/will/public/showConfigurables.py
cmt find_packages; cmt compile
cmt show packages
checkSG.py <xAOD FILE>
checkxAOD.py <xAOD FILE>

Looking for stuff

sometimes athena know how to find stuff and you dont know where it is looking for it?

$CALIBPATH - dev/PileupReweighting/ - get the default config for pileup reweighting from here
type -a <BINARY> - find where your binary is lying

L1Calo

setupL1CALO (problably only works on lxplus)

Farm

Clean jobs from hens

farm_allHensCmd 'pkill -u <USER>'

Manage nodes

http://docs.adaptivecomputing.com/8-1-0/basic/Content/topics/torque/commands/pbsnodes.htm
pbsnodes -o hen01.atlas-farm.kip.uni-heidelberg.de-0 (offline hen)
pbsnodes -r hen01.atlas-farm.kip.uni-heidelberg.de-0 (release hen from offline)

Linux security options

setenforce
getenforce
setsebool -a (all)
getsebool -P (permanent)

Open website via ssh tunnel

  • in terminal:
ssh -L 9000:192.168.0.238:8888 spieker@rooster01.kip.uni-hiedelberg.de
  • in browser
localhost:9000