ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/batch/bin/run_highIPdata.sh
Revision: 1.1
Committed: Thu Jun 14 18:41:42 2012 UTC (12 years, 11 months ago) by khahn
Content type: application/x-sh
Branch: MAIN
CVS Tags: compiled, HEAD
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 khahn 1.1 #!/bin/sh
2    
3     jobNumber=$1
4     stem=$2
5     outputDir=$3
6     inputfile=$4
7     outputfile=$5
8    
9     export SCRAM_ARCH=slc5_amd64_gcc462
10     cd /data/blue/khahn/CMSSW_5_2_3_patch3/src/
11     eval `scramv1 runtime -sh`
12    
13     cd MitHzz4l/
14     echo " "; echo "Show where we are"; echo " "
15     pwd
16     echo ""
17     echo "arg: label: ${label}"
18     echo "arg: inputfile: ${inputfile}"
19    
20     ## env
21    
22     echo "running ./NonMCBackground/bin/applyZPlus2HighIPSelection.exe --inputfile ${inputfile} --outputfile ${outputfile} >& ${stem}_${jobNumber}.log"
23     ./NonMCBackground/bin/applyZPlus2HighIPSelection.exe --inputfile ${inputfile} --outputfile ${outputfile} --debug >& ${stem}_${jobNumber}.log
24    
25     mv $outputfile $outputDir/
26     mv ${stem}_${jobNumber}.log $outputDir/
27    
28    
29     ls
30    
31     echo "DONE"
32     hostname
33    
34     exit $status