Skip to content

Commit

Permalink
Update run_generic_tarball_cvmfs.sh to revert temporarily container s…
Browse files Browse the repository at this point in the history
…olution

GEN and PdmV wants a fast patch release in 14_2 only for the urgent Winter25 campaign.
  • Loading branch information
bbilin authored Dec 12, 2024
1 parent a74a610 commit c008247
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions GeneratorInterface/LHEInterface/data/run_generic_tarball_cvmfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,20 +69,10 @@ tar -xaf ${path}
# and fallback to /tmp
export TMPDIR=${TMPDIR:-${_CONDOR_SCRATCH_DIR:-/tmp}}

# define singularity
if [ "$use_gridpack_env" != false ]; then
if [ -n "$scram_arch_version" ]; then
sing=$(echo ${scram_arch_version} | sed -E 's/^[^0-9]*([0-9]{1,2}).*/\1/')
elif egrep -q "scram_arch_version=[^$]" runcmsgrid.sh; then
sing=$(grep "scram_arch_version=[^$]" runcmsgrid.sh | sed -E 's/^[^0-9]*([0-9]{1,2}).*/\1/')
fi
if [ -n "${sing}" ]; then
sing="cmssw-el"${sing}" --"
fi
fi


#generate events
${sing} ./runcmsgrid.sh $nevt $rnum $ncpu ${@:5}
./runcmsgrid.sh $nevt $rnum $ncpu ${@:5}

mv cmsgrid_final.lhe $LHEWORKDIR/

Expand Down

0 comments on commit c008247

Please sign in to comment.