Indiana University
University Information Technology Services
  
What are archived documents?
Login>>
Login

Login is for authorized groups (e.g., UITS, OVPIT, and TCC) that need access to specialized Knowledge Base documents. Otherwise, simply use the Knowledge Base without logging in.

Close

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:

if [ "$LOADLBATCH" != "yes" ] then (interactive commands like stty here) fi

For more about running batch jobs on Big Red, see Batch jobs on Big Red.

This is document actj in domain all.
Last modified on March 28, 2011.

Comments/Questions/Corrections

Use this form to offer suggestions, corrections, and additions to the Knowledge Base. We welcome your input!

If you are affiliated with Indiana University and would like assistance with a specific computing problem, please use the Ask a Consultant form, or contact your campus Support Center.

Contact Information

Note: We will reply to your comment at this address. If your message concerns a problem receiving email, please enter an alternate email address.