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

Array jobs in lsb_openjobinfo #35

Open
yairher03 opened this issue Oct 27, 2020 · 1 comment
Open

Array jobs in lsb_openjobinfo #35

yairher03 opened this issue Oct 27, 2020 · 1 comment
Assignees

Comments

@yairher03
Copy link

Hi,

Querying an array job with openjobinfo returns an error:

print(lsf.lsb_openjobinfo(887163[45],'', 'nxf30690','','', 0x02000))
Traceback (most recent call last):
File "", line 1, in
TypeError: 'int' object is not subscriptable

Is there a better way to query an specific arrayid in a job?

@liyancn
Copy link
Collaborator

liyancn commented Jun 9, 2023

 examples]# python ./get_jobs_info.py
request below job's info: ['3530', '3531', '3532[1]']
retrieve cluster name : c101
request: jobIds=(3530,3531,3532[1])jobSouceClusterNames=(c101,c101,c101) options=1
found job number : 3
job <3530> from user (root) status is 4
job <3531> from user (root) status is 4
job <3532[1]> from user (root) status is 4

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