Skip to content

Commit

Permalink
Added the -ti flag to bsub command of lsf (#418)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregoryleeman authored Oct 16, 2024
1 parent d9c3936 commit ea8111b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gwf/backends/lsf.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def submit_target(self, target, dependencies):
if dependencies:
args.append("-w")
args.append(" && ".join([f"done({job_id})" for job_id in dependencies]))
args.append("-ti")
logger.debug(f"Submitting job { target.name } to LSF")
stdout = call("bsub", *args, input=script).strip()
job_id = re.search(r"Job <(\d+)>", stdout)[1]
Expand Down

0 comments on commit ea8111b

Please sign in to comment.