Skip to content

How to kill array jobs using lsb_forcekilljob? #38

Open
@rajathpatil

Description

@rajathpatil

How do i pass an array jobs to the function lsb_forcekilljob to be killed?

Passing an array job, lsf.lsb_forcekilljob(337400[4]) throws the following error:
Traceback (most recent call last):
File "/data/cmetrics/lsf_test.py", line 64, in
lsf.lsb_forcekilljob(337400[4])
TypeError: 'int' object has no attribute 'getitem'

Also how do i pass a group of jobs to be killed at once?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions