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:
Conflict parameter LSB_SUB_PROJECT_NAME - Ignored.
Conflict parameter LSB_SUB_JOB_DESCRIPTION - Ignored.
Conflict parameter LSB_SUB_USER_GROUP - Ignored.
Conflict parameter LM_PROJECT - Ignored.
The submissions successfully complete when lsb_submit
is called sequentially on single thread.
Is lsb_submit
not thread safe? Is there any way we can make the API thread safe? Is there a thread safe version?