3 #### this is user settable #########
4 #how many files per job
7 #file with the list for each job
8 export datalistfile="files.txt"
10 #where do we get our data from?
11 find /data/alice3/jthomas/testData/ -name "*.root" > $datalistfile
13 ########## DO NOT TOUCH THIS SECTION ###########################################
14 ################################################################################
16 export scripttorun="theNodeScript.sh"
19 [[ $# -eq 1 ]] && queue=$1
22 for x in `cat $datalistfile`
24 listoffiles="$listoffiles $x"
25 if [ $(($i%$n)) -eq 0 ]
29 qsub -q ${queue} -v "listoffiles,datalistfile" $scripttorun
34 ################################################################################