From 7d46edb556370e322b293f0c95d7681f27d044f3 Mon Sep 17 00:00:00 2001 From: Shahzad Malik Muzaffar Date: Fri, 6 Dec 2024 20:41:32 +0100 Subject: [PATCH] directly download the job files --- crab/ib-run-crab.sh | 1 - crab/multiarch/run.sh | 3 ++- crab/multiarch/setup.sh | 5 ----- 3 files changed, 2 insertions(+), 7 deletions(-) delete mode 100755 crab/multiarch/setup.sh diff --git a/crab/ib-run-crab.sh b/crab/ib-run-crab.sh index f139c4bc8e7..2d04fc5708e 100755 --- a/crab/ib-run-crab.sh +++ b/crab/ib-run-crab.sh @@ -54,7 +54,6 @@ if [ "${X509_USER_PROXY}" = "" ] ; then fi pyver=$(${CMSBOT_PYTHON_CMD} -c 'import sys;print("python%s%s" % (sys.version_info[0],sys.version_info[1]))') if [ -e ${thisdir}/${pyver} ] ; then export PYTHONPATH="${thisdir}/${pyver}:${PYTHONPATH}"; fi -[ -e ${thisdir}/${JOB_DIR}/setup.sh ] && ${thisdir}/${JOB_DIR}/setup.sh crab submit --proxy ${X509_USER_PROXY} -c ${thisdir}/${JOB_DIR}/task.py rm -rf ${WORKSPACE}/crab mv crab_${CRAB_REQUEST} ${WORKSPACE}/crab diff --git a/crab/multiarch/run.sh b/crab/multiarch/run.sh index e53c3eecf70..5b947f50f60 100755 --- a/crab/multiarch/run.sh +++ b/crab/multiarch/run.sh @@ -20,5 +20,6 @@ ld.so --help | grep supported | grep x86-64-v which cmsRun strace -f cmsRun --help >>run.log 2>&1 for f in minbias.root FrameworkJobReport.xml ; do - cp $CMSSW_BASE/src/$f . + curl -L -o $f http://cern.ch/muzaffar/$f + [ -e $f ] || exit 1 done diff --git a/crab/multiarch/setup.sh b/crab/multiarch/setup.sh deleted file mode 100755 index f246f021c07..00000000000 --- a/crab/multiarch/setup.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -ex -for f in minbias.root FrameworkJobReport.xml ; do - curl -L -s -o $CMSSW_BASE/src/$f http://cern.ch/muzaffar/$f - [ -e $CMSSW_BASE/src/$f ] || exit 1 -done