Skip to content

Commit

Permalink
fix #5323 (#5324)
Browse files Browse the repository at this point in the history
  • Loading branch information
belforte authored Jul 11, 2024
1 parent d17ff66 commit 2a177d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/python/CRABClient/JobType/CMSSWConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ def validateConfig(self):
msg = "The only accepted type for process.options.numberOfThreads is uint32. Please, change its type in the PSet."
msg += "See https://github.com/cms-sw/cmssw/issues/32070 for details"
return False, msg
numPSetCores = numPSetCores.value() # convert to python native type (int) #5323
if (cfgNumCores or 1) != (numPSetCores or 1):
if cfgNumCores == None:
msg = "You did not set config.JobType.numCores in the crab configuration file "
Expand Down

0 comments on commit 2a177d0

Please sign in to comment.