From 6423579b1d89403db01d002f03260b2122811ebb Mon Sep 17 00:00:00 2001 From: Patrick Gartung Date: Wed, 6 Nov 2024 23:47:14 +0100 Subject: [PATCH] Get the environment setting correct --- pr_testing/run-pr-profiling.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pr_testing/run-pr-profiling.sh b/pr_testing/run-pr-profiling.sh index 8e2294dbbcc..2ec9acc5a06 100755 --- a/pr_testing/run-pr-profiling.sh +++ b/pr_testing/run-pr-profiling.sh @@ -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