Sign up ×
Computational Science Stack Exchange is a question and answer site for scientists using computers to solve scientific problems. It's 100% free, no registration required.

I have a line in the script I submit to torque that looks like this:

#PBS -o /path/to/output/file/directory/file_name_with_some_underscores.out

But when I look for this output file, it's called something like this:


Where 36091 is the job ID number. I have multiple jobs running simultaneously with the same output file, but I've done that before and this has never happened previously.

Why is Torque doing this?

share|improve this question
@woodchips: There was a meta post discussing this a while back. Questions about tools are considered on-topic. –  Dan Jan 4 '13 at 17:49
When you say that you've done "this" before, was it on the exact same machine? –  Paul Jan 7 '13 at 15:53
@Paul: Yes. Everything that struck me as at all relevant was exactly the same, though I'm unsure if TORQUE was updated. –  Dan Jan 7 '13 at 20:26

1 Answer 1

do you happen to have any non-comment lines in your batch script before the #PBS -o line? TORQUE will ignore any #PBS lines that occur after the first executable statement in the script. The qsub command will scan your batch script for #PBS lines until it encounters a line that is not a comment or whitespace.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.