3 export run_exe="/minerva/app/users/laliaga/NEW_RW_OUTSIDE_MINERVA2/run_fluxpack.sh"
4 #use this executable for jobsub_client:
5 #export run_exe="file:///minerva/app/users/laliaga/NEW_RW_OUTSIDE_MINERVA2/run_fluxpack.sh"
7 export GRID="--OS=SL6 -g --opportunistic --use_gftp"
10 export OUTDIR="/minerva/data/users/laliaga/FLUX_PACK/GRID"
14 #BEAMS=( "le010z185i" "le010z-185i" "le010z-185i" )
15 #MODS=( "mediumBYDET" "noCorr" "mediumBYDET" )
17 BEAMS=( "le010z185i" "le010z-185i" )
18 MODS=( "uhighBYDET" "uhighBYDET" )
22 for (( i=0; i<len; i++ ))
24 export BEAMCONFIG=${BEAMS[${i}]}
25 export MOD=${MODS[${i}]}
27 export NTUPLEDIR="${OUTDIR}/${BEAMCONFIG}/${MOD}"
28 export LOGDIR="${NTUPLEDIR}/log"
30 export LOGFILE="${LOGDIR}/fluxpack_${BEAMCONFIG}_${MOD}_\${PROCESS}.log"
33 chmod 01775 $NTUPLEDIR
37 jobsub $GRID -N $NJOBS -dLEO $NTUPLEDIR -L $LOGFILE ${run_exe} $MOD $BEAMCONFIG
38 #use next line for jobsub_client:
39 #jobsub_submit.py -M --resource-provides=usage_model=DEDICATED --OS=SL6 --group=minerva -dLEO $NTUPLEDIR -L $LOGFILE ${run_exe} $MOD $BEAMCONFIG