Skip to content

Commit

Permalink
add testing scripts for issue cms-sw/cmssw#47021
Browse files Browse the repository at this point in the history
  • Loading branch information
mmusich committed Jan 10, 2025
1 parent 4dcceff commit 2208648
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions crashes/test_cmssw47021.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/bin/bash

# cmsrel CMSSW_15_0_0_pre1
# cd CMSSW_15_0_0_pre1/src
# cmsenv

hltLabel=hlt
hltMenu=/dev/CMSSW_14_2_0/HIon/V11
globalTag=141X_dataRun3_HLT_v2

hltGetConfiguration \
"${hltMenu}" \
--globaltag "${globalTag}" \
--data \
--no-prescale \
--no-output \
--max-events 1 \
--input root://eoscms.cern.ch//eos/cms/store/group/tsg/FOG/error_stream_root/run388769/run388769_ls0254_index000051_fu-c2b05-16-01_pid4080142.root \
--path HLT_HIUPC_ZDC1nOR_MBHF1AND_PixelTrackMultiplicity40400_v* \
> "${hltLabel}".py

cat <<@EOF >> "${hltLabel}".py
process.options.numberOfThreads = 1
process.options.numberOfStreams = 0
process.options.accelerators = ['*']
del process.MessageLogger
process.load('FWCore.MessageLogger.MessageLogger_cfi')
process.source.skipEvents = cms.untracked.uint32( 64 )
@EOF

CUDA_LAUNCH_BLOCKING=1 \
cmsRun "${hltLabel}".py &> "${hltLabel}".log

0 comments on commit 2208648

Please sign in to comment.