LSF Version 7.3 - Administering Platform LSF
Starting lstcsh
740 Administering Platform LSF
Shell variables
Shell variables are not propagated across machines. When you set a shell variable
locally, then run a command remotely, the remote shell will not see that shell
variable. Only environment variables are automatically propagated.
fg command
The fg command for remote jobs must use @, as shown by examples in Task Control
on page 742.
tcsh version
lstcsh is based on tcsh 6.03 (7 bit mode). It does not support the new features of
the latest
tcsh.
Starting lstcsh
Start lstcsh
If you normally use some other shell, you can start lstcsh from the command-line.
1 Make sure that the LSF commands are in your PATH environment variable,
then enter:
lstcsh
If you have a .cshrc file in your home directory, lstcsh reads it to set variables
and aliases.
Exit lstcsh
1 Use the exit command to get out of lstcsh.
Using lstcsh as Your Login Shell
If your system administrator allows, you can use LSF as your login shell. The
/etc/shells file contains a list of all the shells you are allowed to use as your login
shell.
Set your login shell
Using csh The chsh command can set your login shell to any of those shells. If the
/etc/shells file does not exist, you cannot set your login shell to lstcsh.
1 Run the command:
chsh user3 /usr/share/lsf/bin/lstcsh
The next time user3 logs in, the login shell will be lstcsh.