Skip to content

Commit

Permalink
workaround for #8456 (#8466)
Browse files Browse the repository at this point in the history
  • Loading branch information
belforte authored Jun 3, 2024
1 parent 7ac2b90 commit 602f8d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/python/TaskWorker/Actions/DagmanSubmitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
('+CRAB_SiteBlacklist', 'siteblacklist'),
('+CRAB_SiteWhitelist', 'sitewhitelist'),
('+RequestMemory', 'tm_maxmemory'),
('+RequestCpus', 'tm_numcores'),
('+MaxWallTimeMins', 'tm_maxjobruntime'),
('+MaxWallTimeMinsRun', 'tm_maxjobruntime'),
('+MaxWallTimeMinsProbe', 'maxproberuntime'),
Expand Down Expand Up @@ -478,7 +479,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"
jobJDL["Requirements"] = "TARGET.Cpus == 1" # see https://github.com/dmwm/CRABServer/issues/8456#issuecomment-2145887432
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 602f8d6

Please sign in to comment.