Reputation: 145
If I did : qsub myscript.sh Then it creates in the script path: myscript.sh.e12 and myscript.sh.o12 files.
But if I do : qsub -o /tmp/my.out myscript.sh Then there is nothing in /tmp and in the script path only the myscript.sh.e12 file.
The output file is lost during the move. I don't know why. I also tried with #PBS -o in pbs file but same result.
Thanks for your help.
Torque 2.5.7 RHEL 6.2
Upvotes: 0
Views: 625
Reputation: 1524
short answer: don't write output to /tmp/
, write to some space you own, preferably with a unique path.
long answer: /tmp/
is ambiguous. Remember: the whole point of using a distributed resource manager is to run a job over multiple, or at least multiply assignable, compute resources. But each such device will almost certainly have its own /tmp/
, and
arbitrary_device:/tmp/
on which one your job was writtenSo don't write output to /tmp/
.
Upvotes: 2