diff --git a/GeneratorInterface/LHEInterface/data/run_generic_tarball_cvmfs.sh b/GeneratorInterface/LHEInterface/data/run_generic_tarball_cvmfs.sh index 5d5d8773e4637..837e2e1fb8963 100755 --- a/GeneratorInterface/LHEInterface/data/run_generic_tarball_cvmfs.sh +++ b/GeneratorInterface/LHEInterface/data/run_generic_tarball_cvmfs.sh @@ -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/