Platform LSF Reference Version 6.2
About cshrc.lsf and profile.lsf
Platform LSF Reference
298
About cshrc.lsf and profile.lsf
The user environment shell files cshrc.lsf and profile.lsf set the LSF operating
environment on a Platform 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
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
Setting up the LSF environment with cshrc.lsf and profile.lsf
Before using LSF, you must set up the LSF execution environment.
After logging on to an LSF host, use one of the following shell environment files to set
your LSF environment: