Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:25:28

0001 #!/bin/tcsh -f
0002 
0003 #Script for submiting job using condor
0004 # parameters
0005 #
0006 # $1 - bin number 
0007 # $2 - etaInner
0008 # $3 - etaOuter
0009 # $4 - run number 
0010 
0011 echo " submitting: "  ${1}_${2}_${3}_${4} "into the condor queue executing:" 
0012 /bin/rm -f  condor_${1}_${2}_${3}_${4}
0013 
0014 cat > condor_${1}_${2}_${3}_${4} << EOF
0015 
0016 universe = vanilla
0017 Executable = /uscms/home/${user}/CMSSW_1_2_0/src/RecoJets/JetAnalyzers/test/DijetRatio/submitDiJetAnalysis.csh
0018 Requirements   = (Memory >= 499 && OpSys == "LINUX" && (Arch == "INTEL" || Arch =="x86_64") && (Disk >= DiskUsage) && (TARGET.FileSystemDomain == MY.FileSystemDomain))
0019 Should_Transfer_Files = NO
0020 Output  = /uscms/home/${user}/CMSSW_1_2_0/src/RecoJets/JetAnalyzers/test/DijetRatio/condor_${1}_${2}_${3}_${4}\$(Cluster)_\$(Process).stdout
0021 Error = /uscms/home/${user}/CMSSW_1_2_0/src/RecoJets/JetAnalyzers/test/DijetRatio/condor_${1}_${2}_${3}_${4}\$(Cluster)_\$(Process).stderr
0022 Log = /uscms/home/${user}/CMSSW_1_2_0/src/RecoJets/JetAnalyzers/test/DijetRatio/condor_${1}_${2}_${3}_${4}\$(Cluster)_\$(Process).log
0023 
0024 notify_user = ${user}@fnal.gov
0025 #notify_user = hepmkj@gmail.com
0026 
0027 Arguments = ${1} ${2} ${3} ${4}
0028 Queue 1
0029 
0030 EOF
0031 
0032 /opt/condor/bin/condor_submit condor_${1}_${2}_${3}_${4}
0033