Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:08:15

0001 #!/bin/csh
0002 set i = 1
0003 setenv startdir `pwd`
0004 foreach file ( ${startdir}/Run_offline_DQM_*_cfg.py )
0005 
0006 if(! -d ${startdir}/JOB_${i} ) then
0007 mkdir ${startdir}/JOB_${i}
0008 endif
0009 
0010 if( -e submit_${i}.csh ) then
0011 rm submit_${i}.csh
0012 endif
0013 
0014 sed "s/NUM/${i}/" < submit_template.csh > submit_${i}.csh
0015 sed "s#CFGDIR#${startdir}#" < submit_${i}.csh > tmp.csh
0016 mv tmp.csh submit_${i}.csh
0017 
0018 
0019  bsub -q cmscaf -J job_${i} < submit_${i}.csh
0020 
0021 @ i = $i + 1
0022 
0023 end