cshrc.lsf and profile.lsf are created by lsfinstall during installaton. After installation, they are located in LSF_CONFDIR (LSF_TOP/conf/).
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:
To set the LSF user environment, run one of the following two shell files:
Add cshrc.lsf to the end of the .cshrc file for all users:
setenv
PATH=/usr/lsf/lsf_8/8.0/linux2.6-glibc2.3-x86/bin
...
MANPATH=/usr/lsf/lsf_8/8.0/man
...
LSF_BINDIR=/usr/lsf/lsf_8/8.0/linux2.6-glibc2.3-x86/bin
LSF_SERVERDIR=/usr/lsf/lsf_8/8.0/linux2.6-glibc2.3-x86/etc
LSF_LIBDIR=/usr/lsf/lsf_8/8.0/linux2.6-glibc2.3-x86/lib
LD_LIBRARY_PATH=/usr/lsf/lsf_8/8.0/linux2.6-glibc2.3-x86/lib
XLSF_UIDDIR=/usr/lsf/lsf_8/8.0/linux2.6-glibc2.3-x86/lib/uid
LSF_ENVDIR=/usr/lsf/lsf_8/conf
Add profile.lsf to the end of the .profile file for all users:
set
...
LD_LIBRARY_PATH=/usr/lsf/lsf_8/8.0/linux2.6-glibc2.3-x86/lib
LSF_BINDIR=/usr/lsf/lsf_8/8.0/linux2.6-glibc2.3-x86/bin
LSF_ENVDIR=/usr/lsf/lsf_8/conf
LSF_LIBDIR=/usr/lsf/lsf_8/8.0/linux2.6-glibc2.3-x86/lib
LSF_SERVERDIR=/usr/lsf/lsf_8/8.0/linux2.6-glibc2.3-x86/etc
MANPATH=/usr/lsf/lsf_8/8.0/man
PATH=/usr/lsf/lsf_8/8.0/linux2.6-glibc2.3-x86/bin
...
XLSF_UIDDIR=/usr/lsf/lsf_8/8.0/linux2.6-glibc2.3-x86/lib/uid
...
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.