Skip to content

Commit

Permalink
Get the environment setting correct
Browse files Browse the repository at this point in the history
  • Loading branch information
gartung committed Nov 6, 2024
1 parent 8e8ba38 commit 6423579
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pr_testing/run-pr-profiling.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,16 @@ for PROFILING_WORKFLOW in $WORKFLOWS;do
scram project ${CMSSW_VERSION}
cd $CMSSW_VERSION
eval `scram run -sh`
cd $WORKSPACE/IB
$WORKSPACE/profiling/Gen_tool/Gen.sh $CMSSW_VERSION || true
export RUNALLSTEPS=1
$WORKSPACE/profiling/Gen_tool/runall.sh $CMSSW_VERSION || true
unset RUNALLSTEPS
cd $CMSSW_VERSION
eval `scram unsetenv -sh`
cd $WORKSPACE/$CMSSW_VERSION
cd $LOCALRT
eval `scram run -sh`
cd $WORKSPACE
$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
for f in $(find $WORKSPACE/$CMSSW_VERSION/$PROFILING_WORKFLOW -name step*.json);do
b=$(basename $f)
cp -v $f $WORKSPACE/$CMSSW_VERSION/$PROFILING_WORKFLOW/$CMSSW_VERSION-$b || true
done
Expand Down

0 comments on commit 6423579

Please sign in to comment.