cshrc.lsf sets the C shell (csh or tcsh) user environment for LSF commands and libraries
cshrc.lsf and profile.lsf are created by lsfinstall during installation. After installation, they are located in LSF_CONFDIR (LSF_TOP/conf/).
cshrc.lsf runs under /bin/csh
profile.lsf runs under /bin/sh
LSF_BINDIR
LSF_SERVERDIR
LSF_LIBDIR
XLSF_UIDDIR
LSF_ENVDIR
LD_LIBRARY_PATH
LSF_BINDIR
LSF_SERVERDIR
MANPATH to include the path to the LSF man pages
EGO_BINDIR
EGO_CONFDIR
EGO_ESRVDIR
EGO_LIBDIR
EGO_LOCAL_CONFDIR
EGO_SERVERDIR
EGO_TOP
Before using LSF, you must set the LSF execution environment.
After logging on to an LSF host, use one of the following shell environment files to set your LSF environment:
source /usr/lsf/lsf_9/conf/cshrc.lsf
. /usr/lsf/lsf_9/conf/profile.lsf
To set the LSF user environment, run one of the following two shell files:
LSF_CONFDIR/cshrc.lsf (for csh, tcsh)
LSF administrators should make sure all LSF users include one of these files at the end of their own .cshrc or .profile file, or run one of these two files before using LSF.
Add cshrc.lsf to the end of the .cshrc file for all users:
Copy the cshrc.lsf file into .cshrc, or
source /usr/lsf/lsf_9/conf/cshrc.lsf
setenv
PATH=/usr/lsf/lsf_9/9.1.2/linux2.6-glibc2.3-x86/bin
...
MANPATH=/usr/lsf/lsf_9/9.1.2/man
...
LSF_BINDIR=/usr/lsf/lsf_9/9.1.2/linux2.6-glibc2.3-x86/bin
LSF_SERVERDIR=/usr/lsf/lsf_9/9.1.2/linux2.6-glibc2.3-x86/etc
LSF_LIBDIR=/usr/lsf/lsf_9/9.1.2/linux2.6-glibc2.3-x86/lib
LD_LIBRARY_PATH=/usr/lsf/lsf_9/9.1.2/linux2.6-glibc2.3-x86/lib
XLSF_UIDDIR=/usr/lsf/lsf_9/9.1.2/linux2.6-glibc2.3-x86/lib/uid
LSF_ENVDIR=/usr/lsf/lsf_9/conf
Add profile.lsf to the end of the .profile file for all users:
Copy the profile.lsf file into .profile, or
. /usr/lsf/lsf_9/conf/profile.lsf
setenv
...
LD_LIBRARY_PATH=/usr/lsf/lsf_9/9.1.2/linux2.6-glibc2.3-x86/lib
LSF_BINDIR=/usr/lsf/lsf_9/9.1.2/linux2.6-glibc2.3-x86/bin
LSF_ENVDIR=/usr/lsf/lsf_9/conf
LSF_LIBDIR=/usr/lsf/lsf_9/9.1.2/linux2.6-glibc2.3-x86/lib
LSF_SERVERDIR=/usr/lsf/lsf_9/9.1.2/linux2.6-glibc2.3-x86/etc
MANPATH=/usr/lsf/lsf_9/9.1.2/man
PATH=/usr/lsf/lsf_9/9.1.2/linux2.6-glibc2.3-x86/bin
...
XLSF_UIDDIR=/usr/lsf/lsf_9/9.1.2/linux2.6-glibc2.3-x86/lib/uid
...
Dynamically added LSF hosts that will not be master candidates are slave hosts. Each dynamic slave host has its own LSF binaries and local lsf.conf and shell environment scripts (cshrc.lsf and profile.lsf).
LSF_BINDIR=dir
Directory where LSF user commands are installed.
setenv LSF_BINDIR /usr/lsf/lsf_9/9.1.2/linux2.6-glibc2.3-x86/bin
LSF_BINDIR=/usr/lsf/lsf_9/9.1.2/linux2.6-glibc2.3-x86/bin
setenv LSF_BINDIR $LSF_TOP/$LSF_VERSION/$BINARY_TYPE/bin
LSF_BINDIR=$LSF_TOP/$LSF_VERSION/$BINARY_TYPE/bin
LSF_ENVDIR=dir
Directory containing the lsf.conf file.
By default, lsf.conf is installed by creating a shared copy in LSF_CONFDIR and adding a symbolic link from /etc/lsf.conf to the shared copy. If LSF_ENVDIR is set, the symbolic link is installed in LSF_ENVDIR/lsf.conf.
The lsf.conf file is a global environment configuration file for all LSF services and applications. The LSF default installation places the file in LSF_CONFDIR.
setenv LSF_ENVDIR /usr/lsf/lsf_9/conf
LSF_ENVDIR=/usr/lsf/lsf_9/conf
setenv LSF_ENVDIR $LSF_TOP/conf
LSF_ENVDIR=$LSF_TOP/conf
LSF_LIBDIR=dir
Directory where LSF libraries are installed. Library files are shared by all hosts of the same type.
setenv LSF_LIBDIR /usr/lsf/lsf_9/9.1.2/linux2.6-glibc2.3-x86/lib
LSF_LIBDIR=/usr/lsf/lsf_9/9.1.2/linux2.6-glibc2.3-x86/lib
setenv LSF_LIBDIR $LSF_TOP/$LSF_VERSION/$BINARY_TYPE/lib
LSF_LIBDIR=$LSF_TOP/$LSF_VERSION/$BINARY_TYPE/lib
LSF_SERVERDIR=dir
Directory where LSF server binaries and shell scripts are installed.
These include lim, res, nios, sbatchd, mbatchd, and mbschd. If you use elim, eauth, eexec, esub, etc, they are also installed in this directory.
setenv LSF_SERVERDIR /usr/lsf/lsf_9/9.1.2/linux2.6-glibc2.3-x86/etc
LSF_SERVERDIR=/usr/lsf/lsf_9/9.1.2/linux2.6-glibc2.3-x86/etc
setenv LSF_SERVERDIR $LSF_TOP/$LSF_VERSION/$BINARY_TYPE/etc
LSF_SERVERDIR=$LSF_TOP/$LSF_VERSION/$BINARY_TYPE/etc
XLSF_UIDDIR=dir
(UNIX and Linux only) Directory where Motif User Interface Definition files are stored.
These files are platform-specific.
setenv XLSF_UIDDIR /usr/lsf/lsf_9/9.1.2/linux2.6-glibc2.3-x86/lib/uid
XLSF_UIDDIR=/usr/lsf/lsf_9/9.1.2/linux2.6-glibc2.3-x86/lib/uid
setenv XLSF_UIDDIR $LSF_TOP/$LSF_VERSION/$BINARY_TYPE/lib/uid
XLSF_UIDDIR=$LSF_TOP/$LSF_VERSION/$BINARY_TYPE/lib/uid
EGO_BINDIR=dir
Directory where EGO user commands are installed.
setenv EGO_BINDIR /usr/lsf/lsf_9/9.1.2/linux2.6-glibc2.3-x86/bin
EGO_BINDIR=/usr/lsf/lsf_9/9.1.2/linux2.6-glibc2.3-x86/bin
setenv EGO_BINDIR $LSF_BINDIR
EGO_BINDIR=$LSF_BINDIR
EGO_CONFDIR=dir
Directory containing the ego.conf file.
setenv EGO_CONFDIR /usr/lsf/lsf_9/conf/ego/lsf1.2.3/kernel
EGO_CONFDIR=/usr/lsf/lsf_9/conf/ego/lsf1.2.3/kernel
setenv EGO_CONFDIR /usr/lsf/lsf_9/conf/ego/lsf1.2.3/kernel
EGO_CONFDIR=/usr/lsf/lsf_9/conf/ego/lsf1.2.3/kernel
EGO_ESRVDIR=dir
Directory where the EGO the service controller configuration files are stored.
setenv EGO_ESRVDIR /usr/lsf/lsf_9/conf/ego/lsf702/eservice
EGO_ESRVDIR=/usr/lsf/lsf_9/conf/ego/lsf702/eservice
setenv EGO_ESRVDIR /usr/lsf/lsf_9/conf/ego/lsf702/eservice
EGO_ESRVDIR=/usr/lsf/lsf_9/conf/ego/lsf702/eservice
EGO_LIBDIR=dir
Directory where EGO libraries are installed. Library files are shared by all hosts of the same type.
setenv EGO_LIBDIR /usr/lsf/lsf_9/9.1.2/linux2.6-glibc2.3-x86/lib
EGO_LIBDIR=/usr/lsf/lsf_9/9.1.2/linux2.6-glibc2.3-x86/lib
setenv EGO_LIBDIR $LSF_LIBDIR
EGO_LIBDIR=$LSF_LIBDIR
EGO_LOCAL_CONFDIR=dir
The local EGO configuration directory containing the ego.conf file.
setenv EGO_LOCAL_CONFDIR /usr/lsf/lsf_9/conf/ego/lsf1.2.3/kernel
EGO_LOCAL_CONFDIR=/usr/lsf/lsf_9/conf/ego/lsf1.2.3/kernel
setenv EGO_LOCAL_CONFDIR /usr/lsf/lsf_9/conf/ego/lsf1.2.3/kernel
EGO_LOCAL_CONFDIR=/usr/lsf/lsf_9/conf/ego/lsf1.2.3/kernel
EGO_SERVERDIR=dir
Directory where EGO server binaries and shell scripts are installed. These include vemkd, pem, egosc, and shell scripts for EGO startup and shutdown.
setenv EGO_SERVERDIR /usr/lsf/lsf_9/9.1.2/linux2.6-glibc2.3-x86/etc
EGO_SERVERDIR=/usr/lsf/lsf_9/9.1.2/linux2.6-glibc2.3-x86/etc
setenv EGO_SERVERDIR $LSF_SERVERDIR
EGO_SERVERDIR=$LSF_SERVERDIR
EGO_TOP=dir
The top-level installation directory. The path to EGO_TOP must be shared and accessible to all hosts in the cluster. Equivalent to LSF_TOP.
setenv EGO_TOP /usr/lsf/lsf_9
EGO_TOP=/usr/lsf/lsf_9
setenv EGO_TOP /usr/lsf/lsf_9
EGO_TOP=/usr/lsf/lsf_9