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)
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
After running cshrc.lsf, use setenv to see the environment variable settings. For example:
setenv
PATH=/usr/lsf/lsf_9/9.1/linux2.6-glibc2.3-x86/bin
...
MANPATH=/usr/lsf/lsf_9/9.1/man
...
LSF_BINDIR=/usr/lsf/lsf_9/9.1/linux2.6-glibc2.3-x86/bin
LSF_SERVERDIR=/usr/lsf/lsf_9/9.1/linux2.6-glibc2.3-x86/etc
LSF_LIBDIR=/usr/lsf/lsf_9/9.1/linux2.6-glibc2.3-x86/lib
LD_LIBRARY_PATH=/usr/lsf/lsf_9/9.1/linux2.6-glibc2.3-x86/lib
XLSF_UIDDIR=/usr/lsf/9.1/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
After running profile.lsf, use the setenv command to see the environment variable settings. For example:
setenv
...
LD_LIBRARY_PATH=/usr/lsf/lsf_9/9.1/linux2.6-glibc2.3-x86/lib
LSF_BINDIR=/usr/lsf/lsf_9/9.1/linux2.6-glibc2.3-x86/bin
LSF_ENVDIR=/usr/lsf/lsf_9/conf
LSF_LIBDIR=/usr/lsf/lsf_9/9.1/linux2.6-glibc2.3-x86/lib
LSF_SERVERDIR=/usr/lsf/lsf_9/9.1/linux2.6-glibc2.3-x86/etc
MANPATH=/usr/lsf/lsf_9/9.1/man
PATH=/usr/lsf/lsf_9/9.1/linux2.6-glibc2.3-x86/bin
...
XLSF_UIDDIR=/usr/lsf/lsf_9/9.1/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.
Set in csh and tcsh by cshrc.lsf:
setenv LSF_BINDIR /usr/lsf/lsf_9/9.1/linux2.6-glibc2.3-x86/bin
Set and exported in sh, ksh, or bash by profile.lsf:
LSF_BINDIR=/usr/lsf/lsf_9/9.1/linux2.6-glibc2.3-x86/bin
In cshrc.lsf for csh and tcsh:
setenv LSF_BINDIR $LSF_TOP/$LSF_VERSION/$BINARY_TYPE/bin
Set and exported in profile.lsf for sh, ksh, or bash:
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.
Set in csh and tcsh by cshrc.lsf:
setenv LSF_ENVDIR /usr/lsf/lsf_9/conf
Set and exported in sh, ksh, or bash by profile.lsf:
LSF_ENVDIR=/usr/lsf/lsf_9/conf
In cshrc.lsf for csh and tcsh:
setenv LSF_ENVDIR $LSF_TOP/conf
Set and exported in profile.lsf for sh, ksh, or bash:
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.
Set in csh and tcsh by cshrc.lsf:
setenv LSF_LIBDIR /usr/lsf/lsf_9/9.1/linux2.6-glibc2.3-x86/lib
Set and exported in sh, ksh, or bash by profile.lsf:
LSF_LIBDIR=/usr/lsf/lsf_9/9.1/linux2.6-glibc2.3-x86/lib
In cshrc.lsf for csh and tcsh:
setenv LSF_LIBDIR $LSF_TOP/$LSF_VERSION/$BINARY_TYPE/lib
Set and exported in profile.lsf for sh, ksh, or bash:
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.
Set in csh and tcsh by cshrc.lsf:
setenv LSF_SERVERDIR /usr/lsf/lsf_9/9.1/linux2.6-glibc2.3-x86/etc
Set and exported in sh, ksh, or bash by profile.lsf:
LSF_SERVERDIR=/usr/lsf/lsf_9/9.1/linux2.6-glibc2.3-x86/etc
In cshrc.lsf for csh and tcsh:
setenv LSF_SERVERDIR $LSF_TOP/$LSF_VERSION/$BINARY_TYPE/etc
Set and exported in profile.lsf for sh, ksh, or bash:
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.
Set in csh and tcsh by cshrc.lsf:
setenv XLSF_UIDDIR /usr/lsf/lsf_9/9.1/linux2.6-glibc2.3-x86/lib/uid
Set and exported in sh, ksh, or bash by profile.lsf:
XLSF_UIDDIR=/usr/lsf/lsf_9/9.1/linux2.6-glibc2.3-x86/lib/uid
setenv XLSF_UIDDIR $LSF_TOP/$LSF_VERSION/$BINARY_TYPE/lib/uid
Set and exported in profile.lsf for sh, ksh, or bash:
XLSF_UIDDIR=$LSF_TOP/$LSF_VERSION/$BINARY_TYPE/lib/uid
EGO_BINDIR=dir
Directory where EGO user commands are installed.
Set in csh and tcsh by cshrc.lsf:
setenv EGO_BINDIR /usr/lsf/lsf_9/9.1/linux2.6-glibc2.3-x86/bin
Set and exported in sh, ksh, or bash by profile.lsf:
EGO_BINDIR=/usr/lsf/lsf_9/9.1/linux2.6-glibc2.3-x86/bin
In cshrc.lsf for csh and tcsh:
setenv EGO_BINDIR $LSF_BINDIR
Set and exported in profile.lsf for sh, ksh, or bash:
EGO_BINDIR=$LSF_BINDIR
EGO_CONFDIR=dir
Directory containing the ego.conf file.
Set in csh and tcsh by cshrc.lsf:
setenv EGO_CONFDIR /usr/lsf/lsf_9/conf/ego/lsf1.2.3/kernel
Set and exported in sh, ksh, or bash by profile.lsf:
EGO_CONFDIR=/usr/lsf/lsf_9/conf/ego/lsf1.2.3/kernel
In cshrc.lsf for csh and tcsh:
setenv EGO_CONFDIR /usr/lsf/lsf_9/conf/ego/lsf1.2.3/kernel
Set and exported in profile.lsf for sh, ksh, or bash:
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.
Set in csh and tcsh by cshrc.lsf:
setenv EGO_ESRVDIR /usr/lsf/lsf_9/conf/ego/lsf702/eservice
Set and exported in sh, ksh, or bash by profile.lsf:
EGO_ESRVDIR=/usr/lsf/lsf_9/conf/ego/lsf702/eservice
In cshrc.lsf for csh and tcsh:
setenv EGO_ESRVDIR /usr/lsf/lsf_9/conf/ego/lsf702/eservice
Set and exported in profile.lsf for sh, ksh, or bash:
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.
Set in csh and tcsh by cshrc.lsf:
setenv EGO_LIBDIR /usr/lsf/lsf_9/9.1/linux2.6-glibc2.3-x86/lib
Set and exported in sh, ksh, or bash by profile.lsf:
EGO_LIBDIR=/usr/lsf/lsf_9/9.1/linux2.6-glibc2.3-x86/lib
In cshrc.lsf for csh and tcsh:
setenv EGO_LIBDIR $LSF_LIBDIR
Set and exported in profile.lsf for sh, ksh, or bash:
EGO_LIBDIR=$LSF_LIBDIR
EGO_LOCAL_CONFDIR=dir
The local EGO configuration directory containing the ego.conf file.
Set in csh and tcsh by cshrc.lsf:
setenv EGO_LOCAL_CONFDIR /usr/lsf/lsf_9/conf/ego/lsf1.2.3/kernel
Set and exported in sh, ksh, or bash by profile.lsf:
EGO_LOCAL_CONFDIR=/usr/lsf/lsf_9/conf/ego/lsf1.2.3/kernel
In cshrc.lsf for csh and tcsh:
setenv EGO_LOCAL_CONFDIR /usr/lsf/lsf_9/conf/ego/lsf1.2.3/kernel
Set and exported in profile.lsf for sh, ksh, or bash:
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.
Set in csh and tcsh by cshrc.lsf:
setenv EGO_SERVERDIR /usr/lsf/lsf_9/9.1/linux2.6-glibc2.3-x86/etc
Set and exported in sh, ksh, or bash by profile.lsf:
EGO_SERVERDIR=/usr/lsf/lsf_9/9.1/linux2.6-glibc2.3-x86/etc
In cshrc.lsf for csh and tcsh:
setenv EGO_SERVERDIR $LSF_SERVERDIR
Set and exported in profile.lsf for sh, ksh, or bash:
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.
Set in csh and tcsh by cshrc.lsf:
setenv EGO_TOP /usr/lsf/lsf_9
Set and exported in sh, ksh, or bash by profile.lsf:
EGO_TOP=/usr/lsf/lsf_9
In cshrc.lsf for csh and tcsh:
setenv EGO_TOP /usr/lsf/lsf_9
Set and exported in profile.lsf for sh, ksh, or bash:
EGO_TOP=/usr/lsf/lsf_9