我正在使用Sun Grid Engine(SGE)运行阵列作业。
我精心编写脚本的数组作业工作者在正常运行时不生成stdout且没有stderr。不幸的是,SGE坚持为每次运行创建一个空的stdout和stderr文件。
Sun的手册说明:
STDOUT and STDERR of array job tasks will be written into dif- ferent files with the default location .['e'|'o']'.' In order to change this default, the -e and -o options (see above) can be used together with the pseudo-environment-vari- ables $HOME, $USER, $JOB_ID, $JOB_NAME, $HOSTNAME, and $SGE_TASK_ID. Note, that you can use the output redirection to divert the out- put of all tasks into the same file, but the result of this is undefined.
如果输出文件为空,我希望将其压缩。有没有办法做到这一点?
答案 0 :(得分:0)
不,没有办法做到这一点。