From 18d00f5c97a09299f0039317142481c1aa5b7307 Mon Sep 17 00:00:00 2001 From: Patrick Gartung Date: Wed, 6 Nov 2024 18:23:29 +0100 Subject: [PATCH] Set the IB environment before running the profiling for IB --- pr_testing/run-pr-profiling.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pr_testing/run-pr-profiling.sh b/pr_testing/run-pr-profiling.sh index db565a42e2e..f4fba58a068 100755 --- a/pr_testing/run-pr-profiling.sh +++ b/pr_testing/run-pr-profiling.sh @@ -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