Skip to content

Commit

Permalink
Merge pull request #2968 from fenoyc/fenoyc-bjobs-format
Browse files Browse the repository at this point in the history
[bugfix] Ensure LSF `bjobs` gets the right format
vkarak authored Aug 25, 2023
2 parents eda6b23 + 6c18139 commit e2f59b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion reframe/core/schedulers/lsf.py
Original file line number Diff line number Diff line change
@@ -94,7 +94,8 @@ def poll(self, *jobs):
return

completed = _run_strict(
f'bjobs -noheader {" ".join(job.jobid for job in jobs)}'
'bjobs -o "jobid: user:10 stat: queue:" -noheader '
f'{" ".join(job.jobid for job in jobs)}'
)
job_status = {}
job_status_lines = completed.stdout.split('\n')

0 comments on commit e2f59b6

Please sign in to comment.