ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/VHbb/python/submitThem.py
(Generate patch)

Comparing UserCode/VHbb/python/submitThem.py (file contents):
Revision 1.12 by peller, Mon Oct 1 09:16:34 2012 UTC vs.
Revision 1.13 by bortigno, Mon Oct 1 11:33:24 2012 UTC

# Line 43 | Line 43 | shutil.copyfile(os.path.basename(btagLib
43   shutil.copyfile('/scratch/%s/%s'%(getpass.getuser(),os.path.basename(btagLibrary)),btagLibrary)
44   os.chdir(submitDir)
45   logPath = config.get("Directories","logpath")
46 < repDict = {'en':en,'logpath':logPath,'job':''}
46 > repDict = {'en':en,'logpath':logPath,'job':'','task':opts.task}
47   def submit(job,repDict):
48          repDict['job'] = job
49 <        command = 'qsub -V -cwd -q all.q -N %(job)s_%(en)s -o %(logpath)s/%(job)s_%(en)s.out -e %(logpath)s/%(job)s_%(en)s.err runAll.sh %(job)s %(en)s ' %(repDict) + opts.task
49 >        command = 'qsub -V -cwd -q all.q -N %(job)s_%(en)s -o %(logpath)s/%(job)s_%(en)s_%(task)s.out -e %(logpath)s/%(job)s_%(en)s_%(task)s.err runAll.sh %(job)s %(en)s ' %(repDict) + opts.task
50          print command
51          subprocess.call([command], shell=True)
52  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines