4
$\begingroup$

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:

/path/to/output/file/directory/file_name_with_some_underscores.o36091

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?

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

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.

| cite | improve this answer | |
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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