upload=0
jobs=2
events=1
-gen=default
aliroot="v5-04-Rev-20"
root=""
geant=""
-t|--tag TAG Job tag [****] ($tag)
-i|--id NAME Name of production ($id)
-R|--run RUN_NO Run number ($run)
- -e|--generator NAME Event generator ($gen)
-c|--copy Copy files to AliEn
-n|--jobs JOBS Set number of jobs[**] ($jobs)
-m|--events EVENTS Set events/job[**] ($events)
Simulate.C \
Config.C \
BaseConfig.C \
+ EGConfig.C \
DetConfig.C \
OCDBConfig.C \
Reconstruct.C \
-t|--tag) tag=$2 ; shift ;;
-i|--id) id=$2 ; shift ;;
-R|--run) run=$2 ; shift ;;
- -e|--generator) gen=$2 ; shift ;;
-c|--copy) upload=1 ;;
-n|--jobs) jobs=$2 ; shift ;;
-m|--events) events=$2 ; shift ;;
-f|--final) minmerge=$2 ; shift ;;
-A|--archive) archive ; exit 0 ;;
-x|--dry-run) noact=1 ;;
+ --) shift ; break ;;
*) log_err "Unknown option" "$1" ; exit 1 ;;
esac
shift
log_msg "" "Submitting \e[33mRun.jdl\e[0m for \e[34m$id run\e[0m (\e[34m$jobs\e[0m jobs w/\e[34m$events)"
if test $noact -lt 1 ; then
- alien_submit alien:${adir}/Run.jdl ${run} ${jobs} ${events} ${id} ${gen}
+ echo "alien_submit alien:${adir}/Run.jdl ${run} ${jobs} ${events} ${id} $@"
+ alien_submit alien:${adir}/Run.jdl ${run} ${jobs} ${events} ${id} "$@"
ret=$?
fi
log_end "" $ret