I have a lot of jobs in error state E. How do I find out what the problem is?

When the myjobs script or qstat -u loginid shows you have jobs in an error state ("E", "Eqw", etc.) you can use the error_reason script to show you why. It will print the error reason line from qstat -j jobid output for all of your jobs that are in an error state.
error_reason -u loginid Replace loginid with your loginid.