IBM Support

How does LSF translate events into exit codes?

Troubleshooting


Problem

How does LSF translate events into exit codes?

Resolving The Problem

How does LSF translate events into exit codes?The following table summarizes LSF exit behavior for some common error conditions.

Error condition LSF exit code Operating system System exit code equivalent Meaning
Command not found 127 all 1 or 127 Command shell returns 1 if command not found. If the command cannot be found inside a job script, LSF return exit code 127.
Directory not available for output 0 all 1 LSF sends the output back to user through email if directory not available for output (bsub -o).
LSF internal error -127, 127 all N/A RES returns -127 or 127 for all internal problems.
Out of memory N/A all N/A Exit code depends on the error handling of the application itself.
LSF job states 0 all N/A Exit code 0 is returned for all job states

[{"Product":{"code":"SSWRJV","label":"IBM Spectrum LSF"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.2","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Product":{"code":"SSWRJV","label":"IBM Spectrum LSF"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":null,"Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
23 June 2018

UID

isg3T1013659