Skip to content

Commit d792862

Browse files
authored
fix tag path bug in slurm for job array (#160)
1 parent 715fda6 commit d792862

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpdispatcher/slurm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,6 @@ def check_status(self, job, retry=0, max_retry=3):
239239
def check_finish_tag(self, job):
240240
results = []
241241
for task in job.job_task_list:
242-
task_tag_finished = task.task_hash + '_task_tag_finished'
242+
task_tag_finished = (pathlib.PurePath(task.task_work_path)/(task.task_hash + '_task_tag_finished')).as_posix()
243243
results.append(self.context.check_file_exists(task_tag_finished))
244244
return all(results)

0 commit comments

Comments
 (0)