Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion SubmitFileGSD.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ keepDQMfile=${14}

##Create Work Area
export SCRAM_ARCH=${CMSSWARCH}
source /afs/cern.ch/cms/cmsset_default.sh
source /cvmfs/cms.cern.ch/cmsset_default.sh
eval `scramv1 project CMSSW ${CMSSWVER}`
cd ${CMSSWVER}/
rm -rf ./*
Expand Down
2 changes: 2 additions & 0 deletions SubmitHGCalPGun.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def createParser():
parser.add_option('', '--storePFCandidates', action='store_true', dest='storePFCandidates', default=False, help='store PFCandidates collection')
parser.add_option('', '--multiClusterTag', action='store', dest='MULTICLUSTAG', default="hgcalMultiClusters", help='name of HGCalMultiCluster InputTag - use hgcalLayerClusters before CMSSW_10_3_X')
parser.add_option('', '--keepDQMfile', action='store_true', dest='DQM', default=False, help='store the DQM file in relevant folder locally or in EOS, default is False.')
parser.add_option('', '--requestGPUs', action='store_true', dest='GPU', default=False, help='if used then it is set to True and will use in condor GPU machines, default is False. Keep in mind that GPU machines are limited in contrary to CPU.')

return parser

Expand Down Expand Up @@ -483,6 +484,7 @@ def submitHGCalProduction(*args, **kwargs):
write_condorjob.write('output = '+outDir+'/std/'+basename+'.out \n')
write_condorjob.write('error = '+outDir+'/std/'+basename+'.err \n')
write_condorjob.write('log = '+outDir+'/std/'+basename+'_htc.log \n\n')
if (opt.GPU): write_condorjob.write('request_GPUs = 1\n')
write_condorjob.write('max_retries = 1\n')
write_condorjob.write('queue \n')
write_condorjob.close()
Expand Down