Skip to content

Commit

Permalink
Fix batch print
Browse files Browse the repository at this point in the history
  • Loading branch information
kjvbrt committed Dec 13, 2023
1 parent d2ca761 commit c619a01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/FCCAnalysisRun.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def sendToBatch(rdfModule, chunkList, process, analysisFile):
frun_condor.write('Error = {}/condor_job.{}.$(ClusterId).$(ProcId).error\n'.format(logDir,process))
frun_condor.write('getenv = False\n')
frun_condor.write('environment = "LS_SUBCWD={}"\n'.format(logDir)) # not sure
frun_condor.write('requirements = ( (OpSysAndVer =?= "CentOS7") && (Machine =!= LastRemoteHost) && (TARGET.has_avx2 =?= True) )\n')
frun_condor.write('requirements = ( (Machine =!= LastRemoteHost) && (TARGET.has_avx2 =?= True) )\n')
frun_condor.write('on_exit_remove = (ExitBySignal == False) && (ExitCode == 0)\n')
frun_condor.write('max_retries = 3\n')
frun_condor.write('+JobFlavour = "{}"\n'.format(getElement(rdfModule, "batchQueue")))
Expand All @@ -318,8 +318,8 @@ def sendToBatch(rdfModule, chunkList, process, analysisFile):
frun_condor.close()

cmdBatch="condor_submit {}".format(frunfull_condor)
LOGGER.info('Batch command: ', cmdBatch)
job=SubmitToCondor(cmdBatch,10)
LOGGER.info('Batch command: %s', cmdBatch)
job=SubmitToCondor(cmdBatch, 10)


#__________________________________________________________
Expand Down

0 comments on commit c619a01

Please sign in to comment.