LSF Version 7.3 - Platform LSF Configuration Reference
cshrc.lsf and profile.lsf
About cshrc.lsf and profile.lsf
The user environment shell files cshrc.lsf and profile.lsf set the LSF operating environment on an LSF host.
They define machine-dependent paths to LSF commands and libraries as environment variables:
•
cshrc.lsf sets the C shell (csh or tcsh) user environment for LSF commands and libraries
•
profile.lsf sets and exports the Bourne shell/Korn shell (sh, ksh, or bash) user environment for LSF commands
and libraries
Tip:
LSF Administrators should make sure that cshrc.lsf or profile.lsf are
available for users to set the LSF environment variables correctly for the host
type running LSF.
Location
cshrc.lsf and profile.lsf are created by lsfinstall during installaton. After installation, they are located in
LSF_CONFDIR (LSF_TOP/conf/).
Format
cshrc.lsf and profile.lsf are conventional UNIX shell scripts:
•
cshrc.lsf runs under /bin/csh
•
profile.lsf runs under /bin/sh
What cshrc.lsf and profile.lsf do
cshrc.lsf and profile.lsf determine the binary type (BINARY_TYPE) of the host and set environment variables
for the paths to the following machine-dependent LSF directories, according to the LSF version (LSF_VERSION) and
the location of the top-level installation directory (LSF_TOP) defined at installation:
•
LSF_BINDIR
•
LSF_SERVERDIR
•
LSF_LIBDIR
•
XLSF_UIDDIR
cshrc.lsf and profile.lsf also set the following user environment variables:
•
LSF_ENVDIR
•
LD_LIBRARY_PATH
•
PATH to include the paths to:
•
LSF_BINDIR
•
LSF_SERVERDIR
•
MANPATH to include the path to the LSF man pages
If Platform EGO is enabled
If Platform EGO is enabled in the LSF cluster (LSF_ENABLE_EGO=Y and LSF_EGO_ENVDIR are defined in
lsf.conf), cshrc.lsf and profile.lsf set the following environment variables.
cshrc.lsf and profile.lsf
Platform LSF Configuration Reference 125