#!/bin/bash export RUCIO_ACCOUNT=YOUR_CERN_USERNAME export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh localSetupFAX source $AtlasSetup/scripts/asetup.sh 19.0.2.1,noTest export X509_USER_PROXY=x509up_u21183 unzip payload.zip ls rcSetup -u; rcSetup Base,2.0.12 rc find_packages rc compile cd MyAnalysis/util rm submitDir echo $1 sed -n $1,$(($1+2))p inputdata.txt > Inp_$1.txt cp Inp_$1.txt inputdata.txt cat inputdata.txt echo "startdate $(date)" testRun submitDir echo "enddate $(date)"