Skip to main content

5.12) Standard Output And Standard Error


Output that would normally appear on the screen, cannot be displayed in batch mode. Instead the output is directed to two files:

<scriptname>.e<jobid>: Standard Error
<scriptname>.o<jobid>: Standard Output

So in the above example, the script would generate the files:

example.sh.e10245 - which contains Standard Error.
example.sh.o10245 – which contains Standard Output.

When running a large number of jobs, it can be useful to combine the two files via the qsub flag:

-j y

And the names of the files can be defined or redirected via the qsub flags:

-o <filename>
-e <filename>