Skip to content

Commit

Permalink
Set the IB environment before running the profiling for IB
Browse files Browse the repository at this point in the history
  • Loading branch information
gartung committed Nov 6, 2024
1 parent 325b8e2 commit 18d00f5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pr_testing/run-pr-profiling.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,21 @@ for PROFILING_WORKFLOW in $WORKFLOWS;do
eval `scram unsetenv -sh`
mkdir -p $WORKSPACE/IB
pushd $WORKSPACE/IB
scram pro $CMSSW_VERSION
pushd $CMSSW_VERSION
eval `scram run -sh`
popd
$WORKSPACE/profiling/Gen_tool/Gen.sh $CMSSW_VERSION || true
RUNALLSTEPS=1
$WORKSPACE/profiling/Gen_tool/runall.sh $CMSSW_VERSION || true
unset RUNALLSTEPS
pushd $CMSSW_VERSION
eval `scram unsetenv -sh`
popd
popd
pushd $CMSSW_VERSION
eval `scram run -sh`
popd
$WORKSPACE/profiling/Gen_tool/Gen.sh $CMSSW_VERSION || true
cp -v $WORKSPACE/IB/$CMSSW_VERSION/$PROFILING_WORKFLOW/step2.root $WORKSPACE/$CMSSW_VERSION/$PROFILING_WORKFLOW || true
for f in $(find $WORKSPACE/IB/$CMSSW_VERSION/$PROFILING_WORKFLOW -name step*.json);do
Expand Down

0 comments on commit 18d00f5

Please sign in to comment.