3 export INFILES="/pnfs/minerva/mc_generation_flux/mc-flux/mc/g4numiv5/00/00/00/05/g4numiv5_dk2nu_minerva1_le010z185i_04[0-9][0-9]_0005.root"
4 export OUTDIR="/minerva/data/users/kordosky/imap"
6 # create a file with a list of /pnfs/file/name local_subdir
7 # this will be used with the ifdh cp -f
8 if [ -f "$OUTDIR/imap_file_list.txt" ]
10 rm $OUTDIR/imap_file_list.txt
13 for f in `ls $INFILES`; do
14 echo $f ./inputs/`basename $f`
15 done > $OUTDIR/imap_file_list.txt
18 ############################## 0-120 ###################################
25 export OUTFILE=all_0_120.root
26 export LOGFILE=all_0_120.log
28 jobsub_submit -G minerva -M --OS=SL6 --resource-provides=usage_model=DEDICATED,OPPORTUNISTIC --role=Analysis -e ELOW -e EHIGH -e INU -e CUTNA49 -e CUTMIPP -e OUTFILE -e LOGFILE -e PPFX_DIR -f $OUTDIR/imap_file_list.txt -dIMAP $OUTDIR file://$PPFX_DIR/scripts/imap_job.sh
35 export OUTFILE=nomipp_0_120.root
36 export LOGFILE=nomipp_0_120.log
38 jobsub_submit -G minerva -M --OS=SL6 --resource-provides=usage_model=DEDICATED,OPPORTUNISTIC --role=Analysis -e ELOW -e EHIGH -e INU -e CUTNA49 -e CUTMIPP -e OUTFILE -e LOGFILE -e PPFX_DIR -f $OUTDIR/imap_file_list.txt -dIMAP $OUTDIR file://$PPFX_DIR/scripts/imap_job.sh
46 export OUTFILE=nona49_0_120.root
47 export LOGFILE=nona49_0_120.log
49 jobsub_submit -G minerva -M --OS=SL6 --resource-provides=usage_model=DEDICATED,OPPORTUNISTIC --role=Analysis -e ELOW -e EHIGH -e INU -e CUTNA49 -e CUTMIPP -e OUTFILE -e LOGFILE -e PPFX_DIR -f $OUTDIR/imap_file_list.txt -dIMAP $OUTDIR file://$PPFX_DIR/scripts/imap_job.sh
56 export OUTFILE=nomipp_nona49_0_120.root
57 export LOGFILE=nomipp_nona49_0_120.log
59 jobsub_submit -G minerva -M --OS=SL6 --resource-provides=usage_model=DEDICATED,OPPORTUNISTIC --role=Analysis -e ELOW -e EHIGH -e INU -e CUTNA49 -e CUTMIPP -e OUTFILE -e LOGFILE -e PPFX_DIR -f $OUTDIR/imap_file_list.txt -dIMAP $OUTDIR file://$PPFX_DIR/scripts/imap_job.sh