Skip to content

LSF job state#429

Merged
dansondergaard merged 2 commits into
gwforg:masterfrom
tomdrever:feature/lsf_updates
Jun 1, 2026
Merged

LSF job state#429
dansondergaard merged 2 commits into
gwforg:masterfrom
tomdrever:feature/lsf_updates

Conversation

@tomdrever

Copy link
Copy Markdown
Contributor

The current approach of creating a subprocess to run and capture the output of bjobs <jobid> for every tracked job is very slow when dealing with large numbers of targets.

Calling bjobs will only return Submitted, Suspended, Running and Unknown jobs, so this does remove the ability to capture Failed jobs - although, this information is only returned from bjobs <jobid> in a very short window after the jobs has finished, so in practice I think this is the better approach overall.

Changes:

  • The get_job_states function in the lsf backend

Tested on the LSF HPC at the Wellcome Sanger Institute

Thanks for your work on GWF!

@dansondergaard
dansondergaard merged commit 6a7a4a3 into gwforg:master Jun 1, 2026
5 checks passed
@dansondergaard

Copy link
Copy Markdown
Collaborator

Thanks a lot, Tom! Cool to see that gwf is in use at Sanger :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants