Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Differentiate between job failures and cancellations #214

Open
Tianhao-Gu opened this issue Mar 27, 2023 · 1 comment
Open

Differentiate between job failures and cancellations #214

Tianhao-Gu opened this issue Mar 27, 2023 · 1 comment

Comments

@Tianhao-Gu
Copy link
Collaborator

At present, there is no distinction between job failures and cancellations. Therefore, we should seek a way to differentiate between these two statuses.

https://github.com/kbase/collections/blob/b07c7e04ae4a7ac4f0c1f99d60175f60fd909d6d/src/loaders/jobs/taskfarmer/taskfarmer_task_mgr.py#LL120C11-L120C11

@MrCreosote
Copy link
Member

Slack discussion summary:

  • If a job is cancelled it usually makes sense to resubmit it, but failures may mean the job can't proceed without changes
  • May be able to detect by catching all exceptions at the top level of the tool calculation script and logging a key word, which will end up in the slurm logs

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

No branches or pull requests

2 participants