避免使用Sun Grid引擎(SGE)和阵列作业生成空的STDOUT和STDERR文件

避免使用Sun Grid引擎(SGE)和阵列作业生成空的STDOUT和STDERR文件,stdout,stderr,sungridengine,Stdout,Stderr,Sungridengine,我正在使用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

我正在使用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. 数组作业任务的STDOUT和STDERR将写入dif- 具有默认位置的其他文件 [e'|'o'].' 要更改此默认值,-e和-o选项(请参见 可与伪环境变量一起使用- 可选项$HOME、$USER、$JOB\U ID、$JOB\U NAME、$HOSTNAME和 $SGE\u任务\u ID。 注意,您可以使用输出重定向来转移输出- 将所有任务放入同一个文件中,但结果是 未定义。
如果输出文件为空,我希望将其抑制。有办法吗?

没有,没有办法