Platform LSF header files

All Platform LSF header files are installed in the directory LSF_INCLUDEDIR/lsf, where LSF_INCLUDEDIR is defined in the file lsf.conf. You should include LSF_INCLUDEDIR in the include file search path, such as that specified by the ‘‑Idir’ option of some compilers or pre-processors.

There is one header file for LSLIB, the Platform LSF base API, and one header file for LSBLIB, the LSF batch API.

lsf.h

An Platform LSF application must include <lsf/lsf.h> before any of the Platform LSF base API services are called. lsf.h contains definitions of constants, data structures, error codes, LSLIB function prototypes, macros, etc., that are used by all Platform LSF applications.

lsbatch.h

An LSF batch application must include <lsf/lsbatch.h> before any of the LSF batch API services are called. lsbatch.h contains definitions of constants, data structures, error codes, LSBLIB function prototypes, macros, etc., that are used by all LSF batch applications.

Tip:

There is no need to explicitly include <lsf/lsf.h> in an LSF batch application because lsbatch.h includes <lsf/lsf.h>.