lsf-python-api
lsf-python-api copied to clipboard
Location for the LSF Python wrapper for controlling all things LSF
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",...
Hello, does the API support gpu options (as described [here ](https://www.ibm.com/support/knowledgecenter/SSWRJV_10.1.0/lsf_gpu/lsf_gpu_submit_jobs.html))? I cannot find any gpu-related information in the API reference (https://www.ibm.com/support/knowledgecenter/SSWRJV_10.1.0/api_reference/index.html). Analog to the example `job_submit.py`, this (or a...
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...
[lsf-python-api]# python setup.py build Traceback (most recent call last): File "setup.py", line 81, in set_gccflag_lsf_version() File "setup.py", line 54, in set_gccflag_lsf_version with open('{}/lsf.conf'.format(_lsf_envdir), 'r') as f: ValueError: zero length field...
I installed the package as per instructions but I'm getting following error (trying to run one of the examples provided in the repo): LSF: 10.1.0.8 Python: 3.9.5 `hostname[~/repo/lsf-python-api/examples][master !?]$ python3...
Hello, Thanks for your work maintaining this API! When trying to use the kill_jobs.py example from this repo, I encounter the following error. Any suggestions on what I should do?...
**Issue** I would like to use the lsf-python-api to submit a LSF job which requests exclusive use of hardware resources. For example, here's how I request 4 cores, 1 GPU,...
Hi, I want to query done jobs in LSF and get the output as 'bacct -u user_id -d'. If the above is not availabe, can I query all completed jobs...