Skip to content

Commit 10ef53a

Browse files
authored
Merge pull request #8180 from aldbr/main_FIX_disable-watchdog-wallclock-check
[9.0] fix: disable watchdog wallclock check for remote executions
2 parents 0c5b297 + 57a4f06 commit 10ef53a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/DIRAC/WorkloadManagementSystem/JobWrapper/JobWrapper.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,9 @@ def __prepareCommand(self):
338338
submissionPolicy = self.ceArgs.get("SubmissionPolicy", gConfig.getValue("/LocalSite/SubmissionPolicy", ""))
339339
if submissionPolicy == "Application":
340340
configOptions += "-o /LocalSite/RemoteExecution=True "
341+
# Disable the watchdog CPU wallclock check because the application is running
342+
# on a remote worker node, so values are not relevant
343+
(self.jobIDPath / "DISABLE_WATCHDOG_CPU_WALLCLOCK_CHECK").touch()
341344

342345
command = executable
343346
if jobArguments:

0 commit comments

Comments
 (0)