Skip to content

Commit

Permalink
do not set RequestCpus in task submission JDL. Fix dmwm#8456 (dmwm#8457)
Browse files Browse the repository at this point in the history
  • Loading branch information
belforte authored Jun 2, 2024
1 parent 856d1ef commit 198e2d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/python/TaskWorker/Actions/DagmanSubmitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
('+CRAB_SiteBlacklist', 'siteblacklist'),
('+CRAB_SiteWhitelist', 'sitewhitelist'),
('+RequestMemory', 'tm_maxmemory'),
('+RequestCpus', 'tm_numcores'),
('+MaxWallTimeMins', 'tm_maxjobruntime'),
('+MaxWallTimeMinsRun', 'tm_maxjobruntime'),
('+MaxWallTimeMinsProbe', 'maxproberuntime'),
Expand Down Expand Up @@ -479,7 +478,7 @@ def submitDirect(self, schedd, cmd, arg, info): #pylint: disable=R0201
jobJDL["JobUniverse"] = 7
jobJDL["HoldKillSig"] = "SIGUSR1"
jobJDL["X509UserProxy"] = info['user_proxy']
jobJDL["Requirements"] = "True || False"
jobJDL["Requirements"] = "True"
environmentString = "PATH=/usr/bin:/bin CRAB3_VERSION=3.3.0-pre1"
environmentString += " CONDOR_ID=$(ClusterId).$(ProcId)"
environmentString += " " + " ".join(info['additional_environment_options'].split(';'))
Expand Down

0 comments on commit 198e2d3

Please sign in to comment.