CMSSW commands I will forget
| Command |
Usage |
scram l |
List all CMSSW releases |
scram b -j 8 |
Compile |
git cms-init |
Links the CMSSW release to my private CMSSW fork |
git cms-addpkg <pkg_name> |
Add package you want to modify |
runTheMatrix.py |
List and get the HLT configurations |
runTheMatrix.py -l limited --show |
List commands run by the IB tests |
runTheMatrix.py -nel 34434.0 |
Show the commands of the workflow |
edmConfigDump step.py > file.txt |
Print all configuration in one long file |
git cms-checkdeps |
List all packages that inherit from the Dataformat you changed |
git cms-checkdeps -a -A |
Download only the missing packages that depend on your changes |
git cms-rebase-topic |
Rebase but safer (e.g. git cms-rebase-topic user:branch) |
git cms-merge-topic |
Merge but safer (e.g. git cms-merge-topic 48425) |
scram b code-format |
Good indentation |
scram b code-checks |
Code dependencies |
edmPluginDump \| grep PFValidator |
Checks that the class is correctly defined in the FW |
<flags CXX_FLAGS="-g -O0"/> |
Insert in the build file for activating debug mode |
env USER_CXXFLAGS='-g -O0' scram b -j |
Then comile and look for sig_dostack_then_abort |
cmsRun dumpRecoGeometry_cfg.py tag=Run4 version=D110 |
Dump geometry for EventDisplay |
Other instructions
- Activate the cmssw environment on the openlab machines with:
source /cvmfs/cms.cern.ch/cmsset_default.sh
runTheMatrix.py -l 29634.0 -w upgrade -j 10 --ibeos --nEvents 10 -j 10 -i all
Errors
undefined reference to 'VTT for SimpleTrackValidationPtBins'
The distructor is not well defined. Replace ~SimpleTrackValidationPtBins() override; with ~SimpleTrackValidationPtBins() override = default;