CCC PC ClusterShell Init Scripts Reminder: When you log into a UNIX system, a shell process is started. The shell process reads in the user-specific configuration information from .login and .cshrc files (for c-shell). First of all, you need to make sure that your shell config scripts do not set terminal or other properties uncontrollably. This means that you need to check for existance of some environment variables, like $TERM, before their values are tested. E.g. instead of if ( $TERM == 'xterm' ) then echo 'this is an xterm' endifuse
if ( $?TERM == 1 ) then
if ( $TERM == 'xterm' ) then
echo 'this is an xterm'
endif
... do other terminal stuff here ...
endif
Unless you do this, your PBS jobs may not execute, and as a result you will get
messages like:
TERM: undefined variable Continue on to Introduction to the Portable Batch System. |
