Platform LSF Reference Version 6.2

bsub
Platform LSF Reference
170
If you specify an exit code with no operator, the test is for equality (== is
assumed).
If you specify only the job, any exit code satisfies the test.
external(job_ID | "job_name", "status_text")
The job has the specified job status.
If you specify the first word of the message description (no spaces), the text of
the job’s status begins with the specified word. Only the first word is evaluated.
job_ID | "job_name"
If you specify a job without a dependency condition, the test is for the DONE
state (LSF assumes the “done” dependency condition by default).
numdone(job_ID, operator number | *)
For a job array, the number of jobs in the DONE state satisfies the test. Use *
(with no operator) to specify all the jobs in the array.
numended(job_ID, operator number | *)
For a job array, the number of jobs in the DONE or EXIT states satisfies the
test. Use * (with no operator) to specify all the jobs in the array.
numexit(job_ID, operator number | *)
For a job array, the number of jobs in the EXIT state satisfies the test. Use *
(with no operator) to specify all the jobs in the array.
numhold(job_ID, operator number | *)
For a job array, the number of jobs in the PSUSP state satisfies the test. Use *
(with no operator) to specify all the jobs in the array.
numpend(job_ID, operator number | *)
For a job array, the number of jobs in the PEND state satisfies the test. Use *
(with no operator) to specify all the jobs in the array.
numrun(job_ID, operator number | *)
For a job array, the number of jobs in the RUN state satisfies the test. Use *
(with no operator) to specify all the jobs in the array.
numstart(job_ID, operator number | *)
For a job array, the number of jobs in the RUN, USUSP, or SSUSP states
satisfies the test. Use * (with no operator) to specify all the jobs in the array.
post_done(job_ID | "job_name")
The job state is POST_DONE (the post-processing of specified job has
completed without errors).
post_err(job_ID | "job_name")
The job state is POST_ERR (the post-processing of the specified job has
completed with errors).
started(job_ID | "job_name")
The job state is: