Terminate jobs
This article introduces how to terminate jobs or job groups on the Bohrium platform. You can choose between terminate
and delete
operations according to the scenario.
Terminate
To end running jobs/job groups in advance, save the generated result files, and the status of the terminated jobs will be changed to "completed."
Delete
To end running jobs/job groups, the status of the jobs will be changed to "failed." Job result files will be deleted, and the jobs/job groups disappear from the list. The delete operation cannot be undone, so please use it with caution.
Terminate jobs on the Jobs page
The Jobs page provides buttons to end and delete (jobs/job groups):
Job Groups:
Job:
This operation can also be performed on the Job Details page.
Terminate jobs in the command-line
You can also use the Bohrium CLI tool in the command-line to end jobs.
- Terminate the job/job groups(It has the same effect as the terminate button on the page.)
bohr job terminate -j <JOB ID>
bohr job_group terminate -j <Job_Group_ID>
Please replace the Job_Group_ID
or Job_ID
in the example with the job group ID or job ID you want to terminate.
- Delete job/job groups(It has the same effect as the delete button on the page.)
bohr job delete -j <JOB ID>
bohr job_group delete -j <<Job_Group_ID>
Please replace the Job_Group_ID
or Job_ID
in the example with the job group ID or job ID you want to delete.
Terminate the job (stop operation provided by Bohrium CLI)
bohr job kill -j <JOB ID>
Please replace the
Job_ID
in the example with the job ID you want to delete.
Compared to the terminate
operation, kill
interrupts the job without saving the result files.
Compared to the delete
operation, kill
interrupts the job without deleting the job.