Skip to content

Commit

Permalink
fix backword_files and outlogs setting (#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
felix5572 authored Mar 24, 2023
2 parents 2282872 + 8466eda commit a4ecf78
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dpdispatcher/dp_cloud_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ def do_submit(self, job):

input_data["job_resources"] = job_resources
input_data["command"] = f"bash {job.script_file_name}"
# input_data['backward_files'] = self._gen_backward_files_list(job)
input_data["backward_files"] = self._gen_backward_files_list(job)
input_data["logFiles"] = os.path.join(
job.job_task_list[0].task_work_path, job.job_task_list[0].outlog
)
program_id = self.context.remote_profile.get("program_id")
program_id = self.context.remote_profile.get("project_id", program_id)
if program_id is None:
Expand Down

0 comments on commit a4ecf78

Please sign in to comment.