I want to submit single jobs to the Sun Grid Engine, and make them look like they are executing locally. Instead of creating stdout and stderr file to output these to the calling terminals stdout and stderr.
According to this page
-k oe will keep standard output or standard error streams will be retained on the execution host.
However when I try this command:
qsub -cwd -sync yes -k oe -N "test" -V "helloworld.sh"
I get :
qsub: ERROR! invalid option argument "-k"
which qsub =>
-cwd: keeps current working directory
-sync yes: qsub command does not complete until the submitted job completes
-k oe: Maintain stdout and stderr.
-N "test": Name the job
-V: copies environment variables (except $PATH)