Skip to content

Commit 57a4f06

Browse files
committed
fix: disable watchdog wallclock check for remote executions
1 parent db98c79 commit 57a4f06

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)