ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/cbrown/Development/Plotting/RunAnalysisOnWN.sh
(Generate patch)

Comparing UserCode/cbrown/Development/Plotting/RunAnalysisOnWN.sh (file contents):
Revision 1.1 by buchmann, Thu Jun 7 13:15:17 2012 UTC vs.
Revision 1.3 by fronga, Thu Aug 23 16:26:20 2012 UTC

# Line 7 | Line 7
7  
8   savedir="standard"
9   location=`pwd`
10 + executable="./Selective_Plot_Generator_"$$".exec"
11  
12   function set_savedir {
13   procstring=${1/\"/+}
# Line 32 | Line 33 | function submit {
33      errloc=`pwd`/Plots/$savedir/Official_Log_errors.txt
34      logloc=`pwd`/Plots/$savedir/Official_Log.txt
35      thisscript=`basename $0`
36 <    cmd="qsub -e $errloc -o $logloc -q long.q -N aCBAF $thisscript $currloc"
36 >    cmd="qsub -e $errloc -o $logloc -q short.q -N $savedir $thisscript $currloc"
37      eval $cmd
38      echo -e "Job has been sent in using the following command: \n  $cmd"
39   }
40   function runjob {
41   source /swshare/ROOT/thisroot.sh
42   cd $location
43 < ./Selective_Plot_Generator.exec --all --paper
43 > cp -v ./Selective_Plot_Generator.exec $executable
44 > # $executable --region --kin --pred --jzb --results
45 > #$executable --kin --jzb --ttbar
46 > $executable --all --paper
47 > rm -v $executable
48   }
49  
50   compname=`hostname`
# Line 56 | Line 61 | else
61      else
62          echo "We're neither on a user interface nor on a workernode. Confused. Leaving."
63      fi
64 < fi
64 > fi

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines