On Big Red at IU, how do I avoid stty errors when I submit batch jobs?
When using the LoadLeveler batch queueing system on Big
Red at Indiana University, stty errors occur
because the job scheduler uses your .profile,
.cshrc, and .login scripts to initialize
your job. Any commands that expect an interactive session in these
files, such as stty, will fail. The way to avoid this is
specific to the shell and the computer you are using; in
all cases, however, be sure to check whether it is a batch
job before executing stty commands.
If you're using the sh, ksh, or
bash shell on Big Red, you can do this by inserting the
following three lines into your .profile around the
offending commands:
For more about running batch jobs on Big Red, see Batch jobs on Big Red.
Last modified on March 28, 2011.







