[torqueusers] Qsub interactively (-I),
Expect and standard output problem
charles.vejnar at isb-sib.ch
Wed Jun 25 12:17:10 MDT 2008
I would like to be able to use "qsub -I" in a script. In this script, I want
to have the standard output of the job.
I started with an Expect script:
# Submit interactive job
spawn -noecho /usr/local/torque/bin/qsub -I
# Give job some commands
send "echo \"Hello\"\r"
expect -re ".*llo"
# Wait for qsub exit
But the output is:
I get my commands back but not their results. Do you have any idea to explain
this behaviour ? Any solution(s) ?
More information about the torqueusers