Controlling logging for jobs

There are a couple of options to control logging when submitting jobs to the RCS compute service. You can determine the naming, contents and location of log files using the following flags, which can either be used in the header of your job script (e.g. #PBS -j oe) or when submitting your job (e.g. qsub -j oe …):

These flags can be used in combination, as shown by these examples:

Arguments Output file Error file
None job.pbs.sh.o1765125 job.pbs.sh.e1765125
-j oe job.pbs.sh.o1765125 None
-N job1 job1.o1765125 job1.e1765125
-j oe -N job1 job1.o1765125 None
-o o.log -e ~/e.log o.log ~/e.log
-j oe -o o.log o.log None

Further resources