Relative Content

Tag Archive for c++lsf

Is LSF API lsb_submit thread safe?

My application is trying to submit jobs to LSF cluster with one lsb_submit call per thread. There are three threads running concurrently. The process is either terminating with segmentation fault at call to lsb_submit, or printing messages like:

Is there any LSF API to automatically populate a submit struct from a resource requirement string consumable by lsf_submit API

I am using LSF API lsb_submit from LSBLIB to submit jobs to LSF cluster from my application. I am looking for an LSF API that can parse a resource requirement string and populate the struct submit object passed as argument to lsb_submit. Is there any other way we can use the resource requirement string directly to submit jobs on LSF cluster using the LSF APIs?
How to call lsb_submit that works like the following bsub command: